Repository navigation
docs(skills): the description cap is spent by neighbours, not by its author - #700
Merged
Merged
Conversation
…author Follow-up to #683. That PR added three routing tails to three neighbours' descriptions; a dozen sibling skill audits merged the same day did the same, and the collection arrived at the cap: 3 frontend-data-ui 8 ci-and-supply-chain 12 aws-account-operations 14 ducklake-lakehouse characters of headroom against the 1,024 gated maximum. `ducklake-lakehouse` took appended clauses from three different sessions in one day, and one of them had already been compressed to fit by the time the third arrived. The standard documented the cap and the both-ways routing obligation separately and never connected them, so nothing told an author that the field they are appending to is shared and nearly full. The failure mode is not the gate — the gate fails honestly at 1,025. It is the author who, finding no room, silently drops the routing clause instead, because the cap is visible and the overlap it was closing is not. That trades a loud failure for a mis-selected skill at runtime. So: state the coupling where the `description` rules live, give the one-liner that prints per-skill headroom, and say which clause to sacrifice when there is no room — the "what", never the trigger vocabulary, since the body carries the former and only this field carries the latter. Verified: snippet run verbatim against the tree (output above is its own); `make skills-check` green, generated references current — the edit sits outside the skill-inventory block. Not fixed here, deliberately: `frontend-data-ui` at 3 characters needs its own description shortened, which is a judgement about which of its clauses earns the space and belongs to an audit of that skill rather than to this one. Co-Authored-By: Claude Opus 5 (1M context) <[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.
Follow-up to #683. That PR added three routing tails to three neighbours'
descriptions; a dozen sibling skill audits merged the same day did the same, and
the collection arrived at the cap:
characters of headroom against the 1,024 gated maximum.
ducklake-lakehousetook appended clauses from three different sessions in one day, and one of them
had already been compressed to fit by the time the third arrived.
The standard documented the cap and the both-ways routing obligation separately
and never connected them, so nothing told an author that the field they are
appending to is shared and nearly full. The failure mode is not the gate — the
gate fails honestly at 1,025. It is the author who, finding no room, silently
drops the routing clause instead, because the cap is visible and the overlap it
was closing is not. That trades a loud failure for a mis-selected skill at
runtime.
So: state the coupling where the
descriptionrules live, give the one-linerthat prints per-skill headroom, and say which clause to sacrifice when there is
no room — the "what", never the trigger vocabulary, since the body carries the
former and only this field carries the latter.
Verified: snippet run verbatim against the tree (output above is its own);
make skills-checkgreen, generated references current — the edit sits outsidethe skill-inventory block.
Not fixed here, deliberately:
frontend-data-uiat 3 characters needs its owndescription shortened, which is a judgement about which of its clauses earns the
space and belongs to an audit of that skill rather than to this one.
Follow-ups from #683, and what became of each
rustrun was cancelled)6cd96071,20a77159and tip08622516each concluded green and each containsca401b8a. The20a77159run includesagent skills (lint + drift), both e2e tiers,entitiesand the 50k scale goldenducklake-lakehouse's descriptionducklake-performance/references/tuning.mdFinding 9: declined
My own audit ranked it LOW and asked for a second opinion before any deletion. Re-reading
references/tuning.md:58-70, the apparently-generic lines each attach to a decision the skill exists to make: "multiple sort columns primarily favour predicates on the leading key" is precisely what makes a two-columnorder_byproposal wrong when the selective predicate is on the second column, and the one genuinely contentless line ("anORDER BYaligned with the filters queries actually use may help") is the positive setup for its paired negative about broad joins. Deleting one to three lines from a 142-line reference is churn with a real chance of removing a guard. Declining is the honest resolution of a finding that asked to be confirmed.Sweep finding:
securitycites a harness that was never writtenNot from this merge, and not fixed here.
.claude/skills/security/SKILL.md:119locks the prompt-injection / PII→LLM class to:Neither file exists, and
git log --allfor that path is empty — they were never added, not deleted. Meanwhile the surface is live:frontend/src/lib/assistant/tools.ts,frontend/src/components/assistant/assistant-chat.tsx, and an internet-reachable route atfrontend/src/app/api/orgs/[org]/datasets/[ds]/assistant/route.ts.This is worse than a stale path. That skill's stated purpose is "the exact existing test harness that locks each one", so the row reads as covered to a reviewer and to a
/pentestrun deciding where a regression test belongs. Ten other test files do mention the assistant surface (agent-actions.test.ts,ai-resolve.test.ts,component/action-card.test.tsx), so a correct harness may well exist under another name — but whether any of them locks cross-org tool calls needs them read, which is/skill-audit security(or/pentestscoped to that category), not a path substitution. Guessing a filename here would be the exact error my audit protocol calls "inventing a finding from a filename".Checked and benign, so nobody re-reports them:
rust/targetandrust/.claude/skills/(build output and symposium-generated),.claude/settings.local.json(gitignored),docs/security/(the pentest playbook says to create it),docs/postmortem-template.md(inside a fenced example template inskill-writer), andfrontend-bff'sscripts/check-bff-*.mjs(correct relative tofrontend/, wherepnpm authz:checkruns). No routing tail names a skill that does not exist.🤖 Generated with Claude Code