Problem
The quick-start docs state clearly what to commit after running apm install:
What to commit:
apm.yml and apm.lock.yaml — version-controlled, shared with the team.
apm_modules/ — add to .gitignore. Rebuilt from the lockfile on install.
However, it is silent on the .github/ directory — specifically the files APM deploys there during install, such as:
.github/instructions/
.github/prompts/
.github/skills/
.github/agents/
.github/hooks/
This creates ambiguity for teams, particularly around the contributor onboarding scenario: if a contributor clones the repo and does NOT run apm install, will the agent context files already be present in .github/?
The Gap
Unlike apm_modules/, APM does not automatically add .github/ APM-managed files to .gitignore. This means:
- Teams may accidentally commit these files (treating them like source), or
- Teams may accidentally not commit them (assuming they're ephemeral like
apm_modules/), leaving contributors without the necessary context until they run apm install.
Questions Needing Clarification
-
Should the files APM places in .github/ be committed to version control?
- If yes (commit them): contributors don't need to run
apm install to get agent context, but the files may drift out of sync if someone updates apm.yml without re-running apm install.
- If no (gitignore them): the workflow is consistent with
apm_modules/, but contributors must always run apm install for Copilot/Claude to pick up the configured skills/prompts/instructions.
-
Is there a recommended pattern (e.g., a CI step or pre-commit hook) to keep .github/ integration files in sync?
-
Should the docs or apm init suggest adding .github/instructions/, .github/prompts/, .github/skills/ etc. (the APM-managed subdirectories) to .gitignore, similar to how APM automatically adds apm_modules/ to .gitignore via _update_gitignore_for_apm_modules()?
Suggested Doc Fix
At minimum, the "What to commit" section in the quick-start should be expanded to address .github/ explicitly, e.g.:
What to commit:
apm.yml and apm.lock.yaml — version-controlled, shared with the team.
apm_modules/ — add to .gitignore. Rebuilt from the lockfile on install.
.github/instructions/, .github/prompts/, .github/skills/, .github/agents/, .github/hooks/ — [commit OR gitignore — clarification needed]
Problem
The quick-start docs state clearly what to commit after running
apm install:However, it is silent on the
.github/directory — specifically the files APM deploys there during install, such as:.github/instructions/.github/prompts/.github/skills/.github/agents/.github/hooks/This creates ambiguity for teams, particularly around the contributor onboarding scenario: if a contributor clones the repo and does NOT run
apm install, will the agent context files already be present in.github/?The Gap
Unlike
apm_modules/, APM does not automatically add.github/APM-managed files to.gitignore. This means:apm_modules/), leaving contributors without the necessary context until they runapm install.Questions Needing Clarification
Should the files APM places in
.github/be committed to version control?apm installto get agent context, but the files may drift out of sync if someone updatesapm.ymlwithout re-runningapm install.apm_modules/, but contributors must always runapm installfor Copilot/Claude to pick up the configured skills/prompts/instructions.Is there a recommended pattern (e.g., a CI step or pre-commit hook) to keep
.github/integration files in sync?Should the docs or
apm initsuggest adding.github/instructions/,.github/prompts/,.github/skills/etc. (the APM-managed subdirectories) to.gitignore, similar to how APM automatically addsapm_modules/to.gitignorevia_update_gitignore_for_apm_modules()?Suggested Doc Fix
At minimum, the "What to commit" section in the quick-start should be expanded to address
.github/explicitly, e.g.: