construction-craft
Skill4 starsChanged 9 months agoUnlicenseView on GitHub
Use when implementation is blocked by unclear construction prerequisites or tangled routine/data shape, or when system knowledge and artifacts are drifting, commitments are expensive to reverse, recurring engineering work or quality decay needs containment, concurrency ownership is unsafe, or estimates and performance claims lack evidence.
In this repository70 other files it gives its agents.
- agent/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- git-guardrails-claude-codeSkill
- setup-project-skillsSkill
- skill-creatorSkill
- websearchSkill
- writing-great-skillsSkill
- codebase-designSkill
- critical-partnerSkill
- data-intensiveSkill
- diagnosing-bugsSkill
- django-disciplineSkill
- docker-disciplineSkill
- documentation-lifecycleSkill
- domain-driven-designSkill
- enterprise-patternsSkill
- git-disciplineSkill
- legacy-codeSkill
- production-readinessSkill
- refactoring-passSkill
- resolving-merge-conflictsSkill
- tddSkill
- testing-workflowSkill
- ui-design-directionSkill
- webapp-testingSkill
- django-allauthSkill
- djangoSkill
- dockerSkill
- drfSkill
- full-calendarSkill
- giteaSkill
- htmxSkill
- http-status-codesSkill
- hyperscriptSkill
- langchainSkill
- litestarSkill
- prestashopSkill
- pykeSkill
- python-asyncSkill
- tablerSkill
- cleanroom-rewriteSkill
- councilSkill
- court-jesterSkill
- domain-modelingSkill
- fix-prSkill
- grillingSkill
- grill-meSkill
- grill-with-docsSkill
- handoffSkill
- humanifySkill
- implementSkill
- implement-specSkill
- improve-codebase-architectureSkill
- ponytail-auditSkill
- ponytail-debtSkill
- prototypeSkill
- qaSkill
- researchSkill
- restore-test-pyramidSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 5 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
Gate construction: Before a nontrivial change, verify that requirements, architecture fit, risks, conventions, language constraints, error …
- Distinctive: line 30
Encode meaning: Put purpose, units, ranges, precision, ownership, and valid states in names and types.
- Very specific: line 36
Preserve reversibility: Keep volatile vendors, platforms, storage engines, policies, and deployment details reversible until evidence …
- Distinctive: line 39
Trigger concurrency isolation: When threads, async work, shared mutable state, locks, or ordering appear, isolate the policy and load the …
- Distinctive: line 73
Read the construction decision guide when the change contains complex control flow, ambiguous values, stable category mappings, …
- Distinctive: line 88
Read the pragmatic practices guide when facts appear in multiple artifacts, configuration or setup is copied, a vendor choice may change, a …
- Very specific: line 120
Use tdd for tracer-bullet implementation and the red-green loop, and testing-workflow for test execution and tier strategy.
- Very specific: line 122
Use diagnosing-bugs for the reproduce-isolate-explain-fix loop.
- Very specific: line 123
Use codebase-design for module depth, interface minimalism, seams, adapters, comment discipline, command-query separation, and typed …
- Very specific: line 126
Use python-async for structured concurrency, task and thread ownership, synchronization, cancellation, and shutdown in Python async code.
- Very specific: line 129
Use refactoring-pass for smell diagnosis and named behavior-preserving refactoring moves.
- Very specific: line 131
Use production-readiness for runtime failure taxonomy, resilience, resource pressure, observability, and deployment safety.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Construction Craft
Build day-to-day code so its meaning, ownership, and operational assumptions remain visible. This skill combines construction discipline with pragmatic working habits; it does not replace the specialist workflows listed under Routing boundaries.
Critical rules
- Gate construction. Before a nontrivial change, verify that requirements, architecture
fit, risks, conventions, language constraints, error policy, data representation, reuse,
integration, and testing approach are clear enough. Clarify gaps before committing to a broad
design; route any code experiment needed to resolve them through
tdd. - Encode meaning. Put purpose, units, ranges, precision, ownership, and valid states in names and types. Use enums for closed sets, named constants for domain values, and types that make invalid states hard to represent.
- Own each fact once. Give every rule, schema, mapping, calculation, configuration meaning, generated artifact, and manual process step one authoritative owner; derive or validate every other representation from it.
- Preserve reversibility. Keep volatile vendors, platforms, storage engines, policies, and
deployment details reversible until evidence justifies commitment; route seam design through
codebase-design. - Trigger concurrency isolation. When threads, async work, shared mutable state, locks, or ordering appear, isolate the policy and load the language/runtime owner before coding.
- Automate repetition. Turn repeated, error-prone, or easy-to-forget engineering rituals into versioned, reproducible scripts or checks.
- Measure tuning. Set a target, capture a baseline, change one variable, remeasure, and keep the clarity cost only when the measured tradeoff earns it.
- Capture command output whole. Any command whose output you intend to read —
tests, builds, linters, type-checkers, migrations, container logs — runs as
<command> 2>&1 | tee /tmp/<descriptive-name>.log, and you read the log file afterwards. Neverhead, nevertail, never a bare>. Truncation hides the line that mattered and forces a second run; redirection hides a hang. If the slice you read was not enough, read a bigger slice of the same file — never re-run the command to see more. Test-execution specifics live intesting-workflow.
Construction workflow
1. Frame the construction decision
Restate the required behavior, success evidence, constraints, and expensive-to-reverse choices.
Apply the construction gate from Critical rule 1 in proportion to the change: a small local edit
needs a short check; a cross-boundary change needs explicit answers. When uncertainty remains,
name the riskiest assumption and the evidence that would resolve it; when that evidence requires
code, route the experiment through tdd.
Complete when: unresolved prerequisites are named with a clarification or experiment, or the requirements, constraints, integration path, and verification approach are explicit enough to start safely.
2. Shape routines, data, and contracts
Sketch intent or precise pseudocode before writing a complex routine. Keep the sketch at one abstraction level, then turn it into code.
Read the construction decision guide when the change contains complex control flow, ambiguous values, stable category mappings, trust-boundary validation, internal invariants, or performance work. When concurrency appears, isolate the policy first and route language/runtime mechanics through the owning skill.
Complete when: names, types, units, valid states, expected failures, programmer assumptions, and any concurrency policy are visible at the interface that protects them.
3. Assign knowledge and volatility
Locate every system fact the change reads or repeats. Choose its authoritative owner and make
copies generated, derived, or mechanically checked. Record volatile external choices, their
reversal cost, and the evidence that would justify commitment. Route any required seam design
through codebase-design.
Read the pragmatic practices guide when facts appear in multiple artifacts, configuration or setup is copied, a vendor choice may change, a ritual is manual, a durable format is being chosen, local decay is visible, or an estimate is requested.
Complete when: each repeated fact has one owner, every volatile choice has an explicit reversal cost, and recurring manual work has a versioned automation path or a recorded reason it must remain manual.
4. Follow the local construction language
Match the repository's naming, formatting, file structure, and idioms. Use its formatters, linters, generators, and build commands rather than creating a module-specific dialect or reproducing tool behavior by hand.
Complete when: the change follows the same naming, layout, idioms, and automated checks as its neighbors, and generated or derived artifacts agree with their owner.
5. Finish accountably
Contain small decay in the touched area before it becomes normal: repair it when cheap, or record a bounded follow-up with ownership. Report estimates as ranges with assumptions, major unknowns, and the next evidence that would narrow them. Report performance claims only with the target, baseline, changed variable, and remeasurement.
Complete when: remaining uncertainty, deferred decay, reversal costs, and measured tradeoffs are visible to the next maintainer instead of hidden in optimistic prose.
Routing boundaries
This skill owns construction decisions and pragmatic habits. Route specialist work rather than restating it:
- Use
tddfor tracer-bullet implementation and the red-green loop, andtesting-workflowfor test execution and tier strategy. - Use
diagnosing-bugsfor the reproduce-isolate-explain-fix loop. - Use
codebase-designfor module depth, interface minimalism, seams, adapters, comment discipline, command-query separation, and typed results instead of null sentinels. - Use
python-asyncfor structured concurrency, task and thread ownership, synchronization, cancellation, and shutdown in Python async code; use the relevant runtime owner for other ecosystems. - Use
refactoring-passfor smell diagnosis and named behavior-preserving refactoring moves. - Use
production-readinessfor runtime failure taxonomy, resilience, resource pressure, observability, and deployment safety.
Final checklist
- Construction prerequisites are clear enough for the change's risk.
- Names and types expose units, valid states, ownership, and mutation.
- Stable mappings use the clearest representation; tables are validated when chosen.
- Programmer assumptions use assertions or invariants; expected failures use validation or domain errors.
- Each system fact has one authoritative owner and repeated rituals are automated.
- Volatile decisions remain reversible in proportion to their uncertainty.
- Concurrency policy is isolated and language/runtime mechanics went to their owner.
- Performance claims and estimates carry evidence and uncertainty.
- Specialist concerns were routed to their owning skill instead of duplicated here.
Sources
Synthesized from the working-size rule sets in
code-complete,
the-pragmatic-programmer,
and the concurrency-isolation residue of
clean-code. Command-query
separation and typed-result guidance already live in codebase-design and are routed there.
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.

