Repository navigation
docs: load the agent instructions and the den-debugging skill - #688
Merged
Merged
Conversation
The skill had never loaded. Its frontmatter had collapsed into a markdown heading with no closing fence, so it carried no name and no description, and Claude Code discovers skills only at .claude/skills/<name>/SKILL.md while the file sat flat beside that directory. Both are fixed, and a probe against a fresh session now lists den-debugging in the skill roster where it previously returned nothing. Instructions move to AGENTS.md for harnesses that read it, and the skill moves to .agents/ so its content has one home. Neither location is discovered by Claude Code on its own: a fresh session given only AGENTS.md loaded nothing but user memory, and skill discovery is hardcoded to .claude. Both therefore keep a bridge, CLAUDE.md importing AGENTS.md and .claude/skills/den-debugging symlinking into .agents, each verified against a session that reads them. The .gitignore rule AGENT* predates this and would have silently refused a later git add of AGENTS.md, so it gains an exception. Corrections to what the two documents told agents, each measured against the tree rather than reasoned: - Tests were said to live in templates/ci/modules/features/, which holds 31 of 273 cells. The buckets are public-api, internal-api, features, deprecated and deadbugs, and the count is dropped rather than restated, since git ls-files answers it and a number in prose goes stale. - The skill taught a suite nested under deadbugs., which 1 of 52 files uses. just ci splits on the first dot, so its own documented command reported a passing cell as failing. - just ci writes only the tick marks to stdout and sends the crosses, the failure list and the summary to stderr, so a piped run reads red as green. - nix-unit with a cell appended to the suite attr reports 0/0 successful and exits 0. - Both documents pointed at an entry point table that exists in neither.
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
den-debuggingskill, which had never loaded, as its frontmatter had collapsed into a markdown heading with no closing fence and the file sat flat beside the.claude/skills/<name>/SKILL.mdpath that is actually discovered.AGENTS.mdand the skill to.agents/so other harnesses reach them, keeping a one-lineCLAUDE.mdimport and a tracked symlink because neither new location is discovered on its own.!AGENTS.mdexception to theAGENT*ignore rule, which predates this and would have silently refused a latergit addof the instructions file.Validation
Every claim below was measured against a fresh
claude -psession or against the tree, with a negative control wherever the question was an absence.Loading:
AGENTS.mdalone a fresh session loaded only user memory. With theCLAUDE.mdimport it loaded both files, and answered a question whose answer appears only inAGENTS.md.NONEbefore the frontmatter fix,den-debuggingafter. The real-directory and symlink arms both register it, and thezqx-phantomcontrol returnsNONEin both, so the positive is not the instrument agreeing with itself.claude plugin listprints an emptySkills-directory pluginsheading even for a real directory, so it is not a usable oracle here.Corrections:
just ci deadbugs.content-wrapper-functorreports a passing cell as0/1, becausejust cisplits on the first dot and 51 of 52 regression files key their suite at the top level.nix-unitwith a cell appended to the suite attr reports0/0 successfuland exits 0.templates/ci/modules/features/holds 31 of 273 cells, not the133+the layout claimed.just fmtis green and leaves nothing unstaged.