feature
Skill0 starsChanged 2 days agoMIT-0View on GitHub
Scaffolds and implements a physical component under Anvil. Use this skill when adding, creating, or extending a component target in targets/.
73 other projects use a version of this.
Adopted by
Most recently taken up by
- 5uck1ess/devkittheir own version, first seen Nov 15, 2026
- 5hirish/ducttheir own version, first seen Nov 8, 2026
- paulocsb/worldcup-fifa-pooltheir own version, first seen Nov 8, 2026
- vocion/vocion-coretheir own version, first seen Nov 8, 2026
- jisuzzzz/haechitheir own version, first seen Nov 8, 2026
- yicheng47/runnertheir own version, first seen Nov 7, 2026
Used with
Projects with it also use bug, bugfix and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
paulocsbSkillbug
Investigation playbook for fixing a bug. Walks through 5 phases: reproduce → isolate → root cause → propose fix → validate. Forces concrete reasoning with code reads, log inspection, and git blame instead of pattern-matching guesses. Use for any non-trivial defect.
Also in 8 projects that use this
team-attentionSkillbugfix
Root cause based one-shot bug fix. debugger diagnosis → requirements.md generation → /execute. /bugfix "error description" Full investigation pipeline: debugger + gap-analyzer + standard verify. QA suggestion after successful fix.
Also in 7 projects that use this
codebycoreySkilladopt
Adopt an existing plan from conversation context into delta-spec format. Use when importing a plan, adopting planning that already happened, capturing plan mode output, or bringing in prior design work.
Also in 4 projects that use this
Google CloudSkillfix
Plan a remediation strategy after a test failure.
Also in 10 projects that use this
marylinSkillrecover
Recover work from a crashed or interrupted session. Use when Claude crashed mid-task, after an unexpected exit, when you see 'stale sessions detected', or when you lost context and need to figure out what was happening.
Also in 3 projects that use this
aegiswizardSkillcontext
Also in 4 projects that use this
Other versions73 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 73
- crbnos/carbon★ 2.8ksame name
- aaronjmars/aeon★ 789same name
- aeonfun/aeon★ 789same name
- astashov/liftosaur★ 775same name
- me2resh/apexyard★ 542same name
- yicheng47/runner★ 490same name
- bradtraversy/coding-with-ai-course-resources★ 344same name
- garagon/nanostack★ 206same name
- DeL-TaiseiOzaki/claude-code-orchestra★ 199same name
- vide/matedroid★ 86same name
63 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- architectSkill
- audit-sansSkill
- audit-staticSkill
- performanceSkill
- resyncSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 2 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 67 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
If the component requires Protobuf code generation, -fno-fast-math, private C++23 features, or local SIMD flags, consult …
- Very specific: line 25
Keep <name>.hpp free of third party headers and macros.
- Distinctive: line 33
Test valid inputs, boundary edge cases, and invalid inputs handled safely without leaking exceptions.
- Very specific: line 34
When verifying emitted log records in memory, redirect the sink via anvil::journal::detail::set_record_sink, call anvil::journal::flush, …
- Very specific: line 40
When internal logic spans distinct sub-concerns used only by this component, factor them into private <helper>.hpp and <helper>.cpp files …
- Distinctive: line 46
Run dual compiler verification and record the initial hardware PMU benchmark baseline.
“Common” is measured: kept by at least 6 in 10 of the 67 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Component implementation workflow
Step 1. Scaffold the target deterministically
For any new component, generate the physical directory hierarchy and boilerplate files using the scaffolding script rather than writing CMake boilerplate manually.
python3 .agents/skills/feature/scripts/scaffold.py <name>Pass --no-bench only for pure schema or signal adapter targets that have no hot computational path.
If the component requires Protobuf code generation, -fno-fast-math, private C++23 features, or local SIMD flags, consult .agents/skills/feature/references/cmake_overrides.md.
Step 2. Define the public header and catalog contract
Edit targets/<name>/<name>/<name>.hpp and targets/<name>/<name>.catalog.
- Keep
<name>.hppfree of third party headers and macros. - Define
struct catalogwith 32 character lowercase hexmessage_idstrings matching<name>.catalog. - Expose strong types, scoped enums,
std::spanorstd::rangesinputs, andnoexceptoperational boundaries returningboolorstd::optional.
Step 3. Write unit tests first
Update targets/<name>/<name>TEST/<name>TEST.cpp.
- Retain
static_assert(anvil::journal::is_valid_catalog(anvil::<name>::k_catalog));. - Test valid inputs, boundary edge cases, and invalid inputs handled safely without leaking exceptions.
- When verifying emitted log records in memory, redirect the sink via
anvil::journal::detail::set_record_sink, callanvil::journal::flush, and restore viaanvil::journal::detail::reset_record_sink.
Step 4. Implement private logic and boundary firewall
Implement targets/<name>/<name>.cpp.
- Link any required third party targets from
cmake/dependencies.cmakeasPRIVATEintargets/<name>/CMakeLists.txt. - When internal logic spans distinct sub-concerns used only by this component, factor them into private
<helper>.hppand<helper>.cppfiles attargets/<name>/, include them via#include <<helper>.hpp>, and register<helper>.cppunderPRIVATEintarget_sources. - Wrap every public operational entry point in a
tryblock and delegate caught exceptions toanvil::journal::catch_boundary_exception(k_catalog). - For multi entry catalogs, throw
anvil::journal::catalog_exception(k_catalog.k_entry, "reason")from internal helpers and pass the fallback entry tocatch_boundary_exception.
Step 5. Verify dual compiler builds and capture birth baseline
Run dual compiler verification and record the initial hardware PMU benchmark baseline.
./production_artifacts/build_all.sh custom debug
./production_artifacts/build_all.sh default release
cmake --build --preset Clang_Custom_Release --target <name>BENCH_run
grep -rn '#include "' targets/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.

