scaffold-project

scaffold-project is a skill for Claude Code, Codex from ll931217/dotfiles. It costs 378 tokens per session (4,965 once invoked), scanned A, original, MIT.

A project-scaffolding tool that gives a codebase a consistent structure and records its rules in CLAUDE.md, a file that tells coding agents how the repository should be maintained.

In plain words
What is it for?
Use it to shape backend services, frontends, terminal applications, libraries, data pipelines, or MCP tool servers with the corresponding architecture rules.
Why use it?
Projects often develop inconsistent layers, boundaries, and quality rules. Writing the conventions into the repository makes them available beyond the current session.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Good fit Use it to shape backend services, frontends, terminal applications, libraries, data pipelines, or MCP tool servers with the corresponding architecture rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ll931217/dotfiles/scaffold-project
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.

Any agent
npx skills add ll931217/dotfiles --skill scaffold-project
Clone the repo
git clone --depth 1 https://github.com/ll931217/dotfiles

Made for: Claude Code, Codex.

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 scaffold-project

README.md
[![agentmods](https://agentmods.dev/badge/skills/ll931217/dotfiles/scaffold-project/github.svg)](https://agentmods.dev/skills/ll931217/dotfiles/scaffold-project)
Your own site
<a href="https://agentmods.dev/skills/ll931217/dotfiles/scaffold-project"><img src="https://agentmods.dev/badge/skills/ll931217/dotfiles/scaffold-project/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for scaffold-project

Your own site · 80×15
<a href="https://agentmods.dev/skills/ll931217/dotfiles/scaffold-project"><img src="https://agentmods.dev/badge/skills/ll931217/dotfiles/scaffold-project.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 378 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,965 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00378 $0.04965
Opus 5 $0.00189 $0.02482
Sonnet 5 $0.00076 $0.00993
Haiku 4.5 $0.00038 $0.00496

Measured 4d ago against content hash d30d65e7a15e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-13, from the pricing page.

Security

Grade A, and why

scaffold-project 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 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/check-shape.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/skills/scaffold-project/SKILL.md · 202 lines

How it starts

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

scaffold-project

This skill gives a codebase — new or existing — one deterministic shape, regardless of the implementation language, and writes the conventions into CLAUDE.md so they outlive the session that created them. The goal is that a reader cannot tell which of your repos were scaffolded and which were conformed later.

Six tracks share the same workflow:

  • Backend track — services with an entry point (HTTP routes, CLI commands, queue consumers, cron jobs). Reproduces the properties popularized by NestJS/Spring: clear feature boundaries, a thin boundary layer, business logic isolated in injectable services, data access hidden behind repository abstractions, validated DTOs at the edge, centralized error handling, all wired with dependency injection. Canonical reference: references/architecture.md.
  • Frontend track — SPA/SSR web apps. Feature-based folders, a typed API layer validated at the boundary, clear state ownership, centralized error handling. Canonical reference: references/frontend-architecture.md.
  • TUI track — interactive terminal apps (Textual, Ink, Bubble Tea, Ratatui). The backend layers with a screen as the boundary, plus the terminal's own hard rules: never block the render loop, framework-free services, a declared keymap, guaranteed terminal restore. Canonical reference: references/tui-architecture.md.
  • Library / SDK track — no entry point, consumed by other code. One public surface, dependencies passed in, nothing read from the environment. Reference: references/extra-tracks.md.
  • Data pipeline / Airflow task track — batch jobs and DAG tasks. Pure transform steps, idempotent writes, a window passed in rather than now(). Reference: references/extra-tracks.md.
  • MCP server track — tool servers an agent calls. Thin tool handlers over services, schemas written for a model to read, stdout reserved for protocol frames. Reference: references/extra-tracks.md.

Two things are fixed for every track: the quality caps (assets/claude-md-section-quality.md) and the platform contract (references/platform-contract.md — error shape, pagination, health, logging, config, secrets). Those are what make two repos actually identical rather than merely similarly layered.

The skill produces four things:

  1. A skeleton + one fully-worked reference feature in the target language/framework, so there's a concrete pattern to copy for every future feature.
  2. Three managed CLAUDE.md sections — track architecture, quality caps, platform contract — so the conventions guide all later code.
  3. Mechanical enforcement: the quality caps and the dependency-direction rules configured in the repo's linter and pre-commit hooks, because prose the model may forget is not enforcement.
  4. A conforming repo, not just a skeleton: hygiene files, .env.example, dev-run commands, and the handoffs to setup-effect / setup-pre-commit / bd init / vici-cicd-onboard. See references/repo-bootstrap.md.

scripts/check-shape.py answers "which of my repos have drifted?" — run it on a repo or --all ~/Projects; it prints each gap with the fix and exits non-zero when anything drifted.

Read the full file on GitHub · 202 lines

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. 4d ago First seen · 202 lines · 378 tokens per session scan A d30d65e7a15e

Subscribe to this mod's changes

scaffold-project is a skill published in the GitHub repository ll931217/dotfiles (21 stars, last pushed yesterday), licensed MIT. It adds 378 tokens to every session and 4,965 once invoked, about $0.0019 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-09.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens