Repository navigation
docs: bring AGENTS.md, PRINCIPLES.md and skills in line with the real layout - #2090
Merged
Merged
Conversation
potiuk
enabled auto-merge (squash)
November 15, 2026 06:35
… layout Fix a set of inconsistencies between the framework's rules and what the repository actually does: - describe skills where they live (plugins/magpie-<family>/skills/<alias>/, with skills/<name> symlinks) in AGENTS.md, PRINCIPLES.md and write-skill; init_skill.py takes --family and defaults its target to the plugin dir - list every frontmatter key the validator requires for a new skill - drop the stale "main is a staging branch" and "no code to test" claims - align committer-onboarding with the <PROJECT> / <project> split - pre-flight fallback: git-directory home before the legacy in-tree dir - remove three code-review siblings that duplicated SKILL.md; link the import-from-md body template - rename the Vulnogram JSON generator SKILL.md to GUIDE.md: it is a tool guide - concrete record IDs in issue-sync become placeholders - issue-triage SKILL.md under 500 lines; the line-limit check now fires at 500, matching "under 500" Generated-by: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01NyQq9UgHu7T8a8DfcfyP2M
potiuk
force-pushed
the
docs/principles-consistency-v2
branch
from
November 15, 2026 06:57
1d1663f to
bb3a60a
Compare
This was referenced Nov 15, 2026
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.
Summary
write-skilldescribed skills as living inskills/<name>/or.claude/skills/<name>/; they live inplugins/magpie-<family>/skills/<alias>/withskills/<name>symlinks. The docs, the scaffold steps andinit_skill.py(new--family, default target in the plugin, link depth fixed) now match, and the new-skill checklist lists every frontmatter key the validator requires.mainas a "staging branch", "no source code to test", the pre-flight fallback order (legacy in-tree dir before the git-directory home), committer-onboarding's<project>used as a display name, concrete record IDs inissue-sync, three unreferencedcode-reviewsiblings that duplicated SKILL.md, and anissue-triageSKILL.md at exactly 500 lines.SKILL.mdis a tool guide, not a skill; it is renamedGUIDE.mdand AGENTS.md's skill list now points at the tool's README instead.Type of change
.claude/skills/<name>/) — eval fixtures updated belowtools/<system>/*.md)tools/*/withpyproject.toml)docs/,README.md,CONTRIBUTING.md)projects/_template/)prek, workflows, validators)Test plan
prek run --files <changed files>passes (exceptsymlink-lint, which fails only on.claude/skills/relay links the local sandbox kept from being checked out; not touched by this PR)pytestforskill-and-tool-validator,security-management(test_body.py) and thetools/devtests forcheck-family-plugins,check-shared-blocks,skill-surface-hash,check-placeholderspass;ruff formatapplied toinit_skill.py(
--checkforcommitter-onboarding,issue-triage,pr-management-code-review,security-issue-import-from-md,security-issue-sync,write-skill; model-graded--cliruns not done)prek run lycheeon the changed files;init_skill.py demo --family issuescaffolds intoplugins/magpie-issue/skills/demo/RFC-AI-0004 compliance
<PROJECT>,<tracker>,<upstream>,<security-list>) used in all skill / tool prose (thecheck-placeholdersprek hook is the mechanical gate)Linked issues
Notes for reviewers (optional)
<product-name>/<product_name>placeholder is left as is: it is theproduct_namekey ofrelease-management-config.md, not always the display name.Generative AI disclosure: this change was prepared with Claude Code (Opus 5).
🤖 Generated with Claude Code