craft

craft is a skill for Claude Code from abhimanyusingh-gh/software-craftsmanship. It costs 47 tokens per session (1,717 once invoked), scanned A, original, MIT.

A set of engineering rules for writing, reviewing, testing, merging, and managing code across different technology stacks.

In plain words
What is it for?
It helps implement features, break work into pull requests, write tests, run checks, review changes, merge code, and coordinate groups of agents.
Why use it?
It gives coding work consistent standards for safe data access, reuse, comments, types, exports, and review quality.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md.

Part of the craft plugin — 1 skill shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/abhimanyusingh-gh/software-craftsmanship/craft
Any agent
npx skills add abhimanyusingh-gh/software-craftsmanship --skill craft
Clone the repo
git clone --depth 1 https://github.com/abhimanyusingh-gh/software-craftsmanship

Made for: Claude Code.

Or install craft, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for craft

README.md
[![agentmods](https://agentmods.dev/badge/skills/abhimanyusingh-gh/software-craftsmanship/craft.svg)](https://agentmods.dev/skills/abhimanyusingh-gh/software-craftsmanship/craft)
Your own site
<a href="https://agentmods.dev/skills/abhimanyusingh-gh/software-craftsmanship/craft"><img src="https://agentmods.dev/badge/skills/abhimanyusingh-gh/software-craftsmanship/craft.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,717 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00047 $0.01717
Opus 5 $0.00023 $0.00859
Sonnet 5 $0.00009 $0.00343
Haiku 4.5 $0.00005 $0.00172

Measured yesterday against content hash 0ca2d8434c15, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

craft scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/craft/SKILL.md · 96 lines

How it starts

The opening of the file, as written. The whole thing — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Craft

The non-negotiables (apply always, no reference read needed)

  1. Scope isolation. Every read, write, aggregate, export, and storage path filters on the full <scope-key>, enforced at the lowest layer that can rather than at N call sites. A dropped scope key is a cross-customer data leak: blocker, never a nit.
  2. Reuse before writing. Search for an existing implementation first; extend or parameterize rather than clone. Name every reused symbol on the contract card. Duplicated logic: 2× → should-fix, 3× → request-changes.
  3. No narrative comments. The code is the doc. Comment only a genuinely non-obvious why — a hidden invariant, a known workaround, a surprising external constraint. No file-header docstrings, no "TODO until the issue lands".
  4. Const-as-enum over repeated string literals. Any fixed variant set gets a named constant object plus derived type, in preference to a language enum keyword. Consume the exported enum; never re-type its values.
  5. No raw string for semantic values. Branded types for IDs and domain primitives, const enums for finite value sets. Grep for the existing brand before creating one.
  6. Export only what has an in-PR consumer — no speculative exports, no barrels nothing imports through. But when a dead-code tool flags something, classify before deleting: scaffolding is deleted, a spec-required capability is wired to its consumer in the same PR. Deleting a capability is not cleanup.
  7. YAGNI. Nothing beyond what the issue requires. No speculative props, no single-caller indirection, no "while I'm here" expansions.
  8. Debloat on touch. Editing a file means scanning the surrounding 50–100 lines for dead code, duplicated logic, repeated literals, oversized functions, mixed concerns. Fix or flag in the same commit.
  9. Deliberate before coding. Produce an edge-case checklist, then a one-paragraph plan stating what's guarded and what's deliberately not done — before implementation.
  10. Tests define the product. A red test is fixed in product code, seed data, or config. Never re-pin an assertion — the only sanctioned edits to an assertion are compile-blocking typos, framework misuse that never caught a bug, and stripping banned patterns. Removing a test is a separate question with a separate bar: TEST-NODELETE.
  11. Full unfiltered gates before push. Never scope the test run to changed files as the gate. If anything is red, don't push.
  12. Docs ship in the same commit as the change they describe. No "docs follow-up later."
  13. Raise and stop. Auto-merge is off by default: run the full review loop, then surface the PR for the owner to merge.
  14. Evidence over assertion. Every claim of compliance carries the command and its actual output. A green suite is not evidence that nothing regressed — deleting or weakening a test to reach green is a blocker, and a comment explaining a removal is the tell, not the justification. references/verification.md carries the checks.

Read the full file on GitHub · 96 lines

Files

What ships with it

10 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 96 lines · 47 tokens per session scan A 0ca2d8434c15

Subscribe to this mod's changes

craft is a skill published in the GitHub repository abhimanyusingh-gh/software-craftsmanship (1 stars, last pushed 3d ago), licensed MIT. It adds 47 tokens to every session and 1,717 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

Other skills, from other repositories

quiz-me

Quiz the user on root cause and intended fix BEFORE writing any non-trivial code, then verify comprehension of every change after. Use when the user asks for a bug fix, refactor, or feature and wants to stay technically sharp instead of vibe-coding. Also use when the user says "quiz me", "don't let me vibe code", or…

emanzurv/quiz-me-skill · 82 tokens

website-deploy-builder

Plan what to build on Website Deploy (simple-host.app). Helps a user decide whether their idea fits the static + light-backend model, maps it to concrete patterns (shared JSON state with atomic ops, append-only collections, private/password-locked pages on a custom domain, drop-in comments/feedback widgets…

vineetu/simple-host · 114 tokens

connect-domain

Connect a user's own custom domain (subdomain e.g. recipes.brand.com via CNAME, or apex e.g. brand.com via A record) to a site already deployed on simple-host. Use when a user wants their site served from their own domain with automatic HTTPS, or wants a private/password-protected site (privacy is offered only on a…

vineetu/simple-host · 108 tokens

personal-voice-capture

Use when a user wants an agent to learn, encode, or improve their personal writing voice as a reusable skill through source-text ingestion and iterative calibration edits.

eranshir/personal-voice-capture · 37 tokens

demo-video-factory

Generate a custom 26s product-demo video from any SaaS URL — brand-matched scenes, a recreated product-UI "wow" scene, real screenshots, and a soundtrack. Use whenever the user wants a demo, promo, launch, or marketing video for a website or product.

jonny-1812/demo-video-factory · 63 tokens

servo-flow

The servo process for a piece of work, phase by phase. Use at the start of any non-trivial task to know which phase you are in and which skill to run next.

t1djani/servo · 40 tokens