Merged
Conversation
Move project-specific build/CI instructions from AGENTS.md into .apm/instructions/ (APM source of truth) and a root CLAUDE.md (for Claude Code). The git policy rule is omitted since it's already in the global ~/.claude/CLAUDE.md.
- Add `applyTo: "**"` to project instruction (required for apm compile) - Add `target: claude` to apm.yml - Add `just apm` target: runs `apm install` + `apm compile` - Gitignore generated CLAUDE.md (alongside .claude/) - Remove manually created CLAUDE.md (now generated by apm compile)
Member
Author
Execute Results
Optimization suggestions
Workflow completed at 2026-04-06T19:42:18Z. |
Leverage APM's local filesystem path dependency support (PR #270) to deploy project instructions to .claude/rules/ via `apm install` directly — no `apm compile` workaround needed. Structure: local/ is an APM package with apm.yml + .apm/instructions/, declared as `./local` in the project's apm.yml dependencies.
just apm now reads AI_AGENT env var (default: claude) to pick the apm install target. just agent runs apm then launches the coding agent.
Rename local/ to agent/, add agent/mod.just with apm and run targets. Root justfile imports via `mod agent` — usage becomes `just agent::apm` and `just agent::run`.
Member
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces AGENTS.md with APM's local path dependency feature (microsoft/apm#270) so project instructions deploy to
.claude/rules/alongside dependency instructions — noapm compileworkaround needed.A
local/directory acts as an APM package:apm.ymlat root, instructions in.apm/instructions/. The project'sapm.ymldeclares it as./local, andapm install -t claudedeploys everything into.claude/rules/in one shot. A newjust apmtarget wraps this.