bug-knowledge
Skill1 starsChanged 46 days agoMITView on GitHub
Record naturally reported software bugs, investigate the reported defect using prior evidence, and distill requested recurring lessons. Use bug-report language without requiring an explicit skill command; the target is the reported bug or requested knowledge topic, not an unrelated backlog item. Do not infer root cause from symptoms.
In this repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- audit-repairSkill
- documentation-consolidationSkill
- evaluate-repositorySkill
- like-im-5Skill
- project-bootstrapSkill
- spec-driven-developmentSkill
- true-spec-worksheetSkill
- workflow-orientationSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use when the user says to log or investigate a bug, update its record, or mine prior defects for reusable lessons.
- Distinctive: line 18
Use evidence-based states such as Reported, Confirmed, In Progress, Verification, Closed, Deferred, Not Reproducible, and Not a Bug.
- Distinctive: line 32
Use human explanation and editorial judgment for readable explanations and documentation.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Bug knowledge
Use when the user says to log or investigate a bug, update its record, or mine prior defects for reusable lessons. Follow the repository's own documentation rules; use the paths and family names below only when that project adopted this workflow.
Natural-language bug reports are sufficient; users do not need to name this skill or choose a record family. Preserve the request's scope: intake alone does not authorize a repair or a repository-wide audit. Use the existing bug system in repositories that have not adopted YMAS, rather than creating a parallel system.
Intake
Accept a natural-language report without asking for an ID, severity, taxonomy, path, or formal reproduction. Search current, archived, and legacy bug locations across all Level 2 categories for duplicates and the highest BUG family ID; allocate the next unused three-digit ID without reusing archived IDs.
Inspect the adopting repository's Level 2 vocabulary and established context, then reuse its canonical token for the bug's durable area. Name a new record BUG_<L2_CATEGORY>_<ID>_<l3-description>.md in its adopted bug directory, using the bug template. Use hyphens inside the lowercase final description and underscores only between structural segments. Reuse the same Level 2 token that tasks, audits, or references use for that area, so _<L2_CATEGORY>_ retrieves them together. Do not invent a synonym or infer product taxonomy from symptoms or roadmap labels. If classification is genuinely unresolved, follow the project's documented fallback or mark it unresolved and seek the governing category decision before naming a file; do not require the reporter to supply taxonomy. Populate only known facts and mark other fields Unknown or Not yet investigated. Ask a question only when missing information materially blocks understanding or distinguishing the defect.
Use evidence-based states such as Reported, Confirmed, In Progress, Verification, Closed, Deferred, Not Reproducible, and Not a Bug. Code changes alone do not close a bug; closure requires verification. Do not infer a root cause from symptoms.
Investigation and repair
Before a repair, establish governing authority, inspect affected implementation and tests, and inspect relevant history. Search prior BUG records and engineering REF documents for materially similar failures. Prior records are evidence, not product authority. For an evidence-backed repair, follow audit-repair's smallest-unit contract and three-failure stop rule.
Classify failure mechanisms only when evidence supports them; this classification is separate from the filename's Level 2 area. Possible mechanisms include state synchronization, authority boundary, validation, transactionality, concurrency, conversion, presentation, stale state, persistence, migration, API contract, type misuse, null handling, lifecycle sequencing, ownership, invariant, UI interaction, test gap, specification gap, and architecture.
Knowledge mining
When multiple bugs establish a recurring underlying pattern, or one case establishes an unusually important reusable lesson, update an existing engineering reference or create REF_<L2_CATEGORY>_<ID>_<l3-description>.md in the adopted engineering knowledge directory. Use the same canonical Level 2 token as other families for that domain, without reference-only synonyms, and the next family-wide REF ID across all categories and legacy locations; use the knowledge template. Do not create one for every ordinary bug. If a lesson becomes a mandatory engineering requirement, promote it to the governing workflow, architecture, ADR, invariant, test strategy, or repository instruction. The knowledge base remains evidence and institutional memory.
Report the record ID and path, what is known versus unknown, any verification, and whether a knowledge reference changed.
Use human explanation and editorial judgment for readable explanations and documentation. Consider ordinary documentation purposes only where useful; do not reclassify canonical specifications or infer migration authority from editorial guidance.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

