docs(writing-skills): step numbering rule for skills - #780
Merged
Merged
Conversation
Adds a "Step Numbering" section under SKILL.md Format: steps are whole numbers from 1 upward, document order is execution order, at most one trailing letter (a, b, c without gaps) and never anything after it — no Step 0, no Step 5c.5, no Step 6.5b. The same rules apply to the internal steps of a references/*.md sub-procedure and to ordered lists inside a step. Inserting a step means renumbering, in one substitution across SKILL.md, references, scripts, evals and learnings so no pointer goes stale. Prompted by hydra's review-pr skill, which had drifted to 27 steps whose numbers no longer sorted into execution order. One matching line added to skill-checklist.md. Co-Authored-By: Claude Fable 5.1 <[email protected]>
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.
What
Adds a Step Numbering section to
docs/claude/writing-skills.md(under SKILL.md Format) and one matching line todocs/claude/skill-checklist.md.The rule:
1upward, ascending by one, no gaps. There is noStep 0.Step 7a), only where a step is genuinely a sub-step of the one before it. Letters runa,b,cwithout gaps.Step 5c.5, noStep 6.5, noStep 4a.2.references/*.mdsub-procedure and for ordered lists inside a step.Plus: inserting a step means renumbering — map every old number to its new one first, then apply the whole map in one substitution across
SKILL.md,references/,scripts/,evals/and the learnings files, so no pointer goes stale and no number gets re-mapped twice.Why
Step numbers are a skill's addressing scheme: every
see Step N, every learnings-index pointer, every eval note and every reference-doc title resolves through them. Once the sequence stops being sortable, a reader can no longer tell what has already run at any point.Observed
hydra's
review-prhad drifted toStep 0,Step 0.5afterStep 1,Step 1a/2aafterStep 2,Step 5c.5,Step 6.5band aStep 8bwith no8a. Renumbered toStep 1–27in ConductionNL/hydra (companion PR: https://github.com/ConductionNL/hydra/pull/681).🤖 Generated with Claude Code