dev-starter-kit CLAUDE.md

dev-starter-kit CLAUDE.md is an instructions file for coding agents from humzakt/dev-starter-kit. It costs 469 tokens per session, scanned A, original, MIT.

Project instructions for a Python starter kit, covering linting, formatting, testing, code style, and pre-commit checks. Linting finds likely code problems, while tests check that the code behaves as expected.

In plain words
What is it for?
Use it when editing the project, running Ruff checks and formatting, writing tests with pytest, or preparing code for review.
Why use it?
It gives contributors a consistent workflow and catches style issues or regressions before changes are accepted.

Instructions file

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 instructions/humzakt/dev-starter-kit/claude-md
Clone the repo
git clone --depth 1 https://github.com/humzakt/dev-starter-kit

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 dev-starter-kit CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/humzakt/dev-starter-kit/claude-md.svg)](https://agentmods.dev/instructions/humzakt/dev-starter-kit/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/humzakt/dev-starter-kit/claude-md"><img src="https://agentmods.dev/badge/instructions/humzakt/dev-starter-kit/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 469 This file is loaded in full into every session.
When invoked 469 The same file — it is already loaded in full.
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 $0.00469 $0.00469
Opus 5 $0.00234 $0.00234
Sonnet 5 $0.00094 $0.00094
Haiku 4.5 $0.00047 $0.00047

Measured 3d ago against content hash 325914388033, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dev-starter-kit CLAUDE.md 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 3d ago.

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.

CLAUDE.md · 63 lines

What it actually says

CLAUDE.md — Instructions for Claude Code

Claude reads this file at the start of every session. Keep it concise and actionable.

Commands

# Lint
ruff check . && ruff format --check .

# Fix lint
ruff check --fix . && ruff format .

# Test
pytest tests/ -v

# Test single file
pytest tests/test_<module>.py -v

# Pre-commit
pre-commit run --all-files

Code Style

  • Python 3.11+, Ruff for linting/formatting (config in pyproject.toml)
  • 120 char line length, double quotes, Google-style docstrings
  • Type hints on all public function signatures
  • Specific exception handling (no bare except:)
  • pathlib.Path over os.path, f-strings over .format()

Testing Rules

  • Tests in tests/test_<module>.py, classes Test<ModuleName>, methods test_<func>[_<scenario>]
  • Mock external dependencies — no real network calls in tests
  • Every source change needs a corresponding test change (CI enforced)
  • Run pytest tests/ -v after every change

Workflow

  1. Read relevant files before editing
  2. Make minimal, focused changes
  3. Run ruff check --fix . && ruff format . after every edit
  4. Run pytest tests/ -v to verify
  5. If tests fail, fix them before moving on
  6. Use conventional commits: feat:, fix:, chore:, docs:, test:, refactor:

Architecture

  • src/ — source code
  • tests/ — tests (mirrors src/ structure)
  • docs/ — documentation
  • pyproject.toml — ruff + pytest config
  • .github/workflows/ — CI/CD

Don'ts

  • Don't commit .env files or secrets
  • Don't skip tests — CI will catch it
  • Don't commit directly to main — branch protection is on
  • Don't add unnecessary comments that just narrate what code does
  • Don't create files unless absolutely necessary — prefer editing existing ones
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. 3d ago First seen · 63 lines · 469 tokens per session scan A 325914388033

Subscribe to this mod's changes

dev-starter-kit CLAUDE.md is an instructions file published in the GitHub repository humzakt/dev-starter-kit (3 stars, last pushed 6mo ago), licensed MIT. It adds 469 tokens to every session, about $0.0023 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-08-31.