Repository navigation
Define three-layer skill hierarchy and make Layer 0 foundations downward-only - #212
Merged
Merged
Conversation
…ard-only - Add foundation/capability/workflow layer definitions, shared-reference homing rules, and link-hygiene audit checks to writing-for-agents. - Move measurement-validity.md into engineering-principles and experiments.md into codebase-design so callers point downward to model-invoked foundations. - Remove upward and circular cross-skill links and SKILL.md back-links from engineering-principles and codebase-design, and open both with explicit contracts. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
- Move pstack benchmark-checklist provenance bullet from diagnosing-bugs to engineering-principles and trim rewrite-history wording in SOURCES.md. - Link Arena from improve-codebase-architecture in Layer 1 so intermediate heads keep alternative-interface comparison routing intact. - Clarify distinct-anchor link rule in writing-for-agents, tighten engineering-principles opener, and remove dangling dispatch wording in DESIGN-IT-TWICE.md. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This was referenced Nov 21, 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
Defines the three-layer skill hierarchy (foundation -> capability -> workflow) and link-hygiene audit rules in
writing-for-agents, and makes Layer 0 foundations (engineering-principles,codebase-design) strictly downward-only.main; next: Rewrite verify and diagnosing-bugs, and clean tdd and show-me links #213).writing-for-agents: adds explicit foundation/capability/workflow layer definitions, shared-reference homing rules (never home shared references inside a higher workflow or user-invoked skill), link-hygiene audit items, and clarifies that distinct section anchors into one multi-section reference are allowed.engineering-principles: opens with a plain-prose contract, homesreferences/measurement-validity.md(moved fromdiagnosing-bugswith its pstackbenchmark-checklistprovenance moved inSOURCES.md), and removes 12 upward cross-skill links across principle references while keeping every principle rule intact.codebase-design: opens with a plain-prose contract, homesreferences/experiments.md(moved down from user-invokedimprove-codebase-architecture), removes upward links andSKILL.mdback-links, and adds downward[Arena](../arena/SKILL.md)routing inimprove-codebase-architectureso alternative-interface comparisons remain reachable at this layer.Evidence
python3 scripts/check.pyonade4b8b4c493aa4de6f88cd0f85bd67ce35b2b99: passed (63skills checked;552/552tests across 25 files).review-fix-loop(sreestack-skills-rewrite, 3 passes: Wave 1 Primary/Ponytail/Thermo, Wave 2 Adversarial, Pass 2 & Pass 3 Primary): No issues found (Spec: pass, Standards: pass).0305fe7foriginals and verified by independent reviews.Merge Danger
Two-way door (documentation/skill Markdown only; cleanly reversible via revert). Moves
measurement-validity.mdandexperiments.mdand updates every internal consumer in this PR; external bookmarks to old paths would need updating. Dependent layers #213–#216 build on these foundation homes.