mcpField
N
new-project

new-project

github.com/wyattowalshDevelopment537 installsUpdated 8w ago
Repository

About new-project

new-project is a skill for planning and safely bootstrapping software projects, whether new or existing. It uses presets and a capability catalog to create a blueprint, then gates changes behind checks and approval.

Key features

  1. 01Plan projects with presets and capabilities
  2. 02Create read-only project blueprints
  3. 03Initialize or bootstrap existing projects
  4. 04Audit scaffolds and repair issues
  5. 05Check toolchain and configuration health

Use cases

  1. 01Plan a new Python or Node project
  2. 02Add missing files to an existing repository
  3. 03Audit project conventions and configuration
  4. 04Plan docs, GitHub CI, or AI instructions

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/wyattowalsh/agents --skill new-project

After installing, type/new-projectin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

data/
capabilities.json
capabilities.schema.json
command-groups.json
conflicts.json
package-aliases.json
presets.json
presets.schema.json
evals/
evals.json
evals/fixtures/cloud-config-present/
wrangler.jsonc
evals/fixtures/dirty-worktree-repair/
README.md
evals/fixtures/empty-repo/
.gitkeep
evals/fixtures/existing-ai-configs/
AGENTS.md
evals/fixtures/existing-docs-root/docs/
README.md
evals/fixtures/existing-node-repo/
package.json
evals/fixtures/existing-python-repo/
pyproject.toml
evals/fixtures/preferences-present/
.new-project-preferences.json
references/
adding-preferences.md
ai-agent-instructions.md
ai-apps.md
artifact-templates.md
capability-model.md
cloud-deploy-dns.md
conventional-commits-release.md
data-platforms.md
design-system.md
docs-fumadocs.md
docs-starlight-react.md
github-ci-release.md
intake-and-routing.md
node-pnpm-npm.md

Details

From the project README

New Project

Plan and safely bootstrap modern software projects from typed presets and capability preferences.

Dispatch

$ARGUMENTSAction
EmptyGallery: show modes, presets, preference categories, examples; do not edit
prefs, prefs list, catalogPreferences: list capability categories and defaults
prefs validatePreferences: validate capability and preset catalogs
prefs add <id>Preferences: explain the safe preference addition workflow
preset listPresets: show curated presets and tradeoffs
plan <name-or-path>Plan: read-only blueprint for a new or existing target
init <name>, new <name>Init: new target setup after preflight, blueprint, and approval
bootstrap <path>, init-existing <path>Bootstrap Existing: non-destructive missing-file setup
audit <path>Audit: read-only scaffold and convention health report
repair <path>Repair: approved additive repair based on audit findings
doctor <path>Doctor: validate toolchain/config health without changing files
docs <path>Docs: classify docs-lite, docs-themed, docs-interactive, or docs-product
docs-lite <path>, starlight <path>Docs Lite: Astro Starlight static docs profile
docs-themed <path>Docs Themed: Starlight plus CSS/Tailwind brand layer
docs-interactive <path>Docs Interactive: Starlight plus React islands
docs-product <path>, fumadocs <path>Docs Product: Next.js plus Fumadocs advanced docs profile
ai <path>, agents <path>AI Instructions: AGENTS, nested AGENTS, Claude Code, OpenCode, Codex planning
github <path>GitHub: CI, templates, release workflow planning
python <name>, uv <name>Init/Plan: Python-focused preset
node <name>, web <name>, next <name>Init/Plan: Node/web preset
data <name>Init/Plan: Supabase, SQLite, DuckDB, notebooks preset
aws <name>, agentcore <name>Plan: Bedrock/AgentCore planning; provider mutation is opt-in
monorepo <name>, nx <name>Init/Plan: monorepo preset
full <name>, max-free <name>Plan: comprehensive blueprint; apply module-by-module only
Natural language new repo/bootstrap requestAuto-classify, then ask only high-impact missing questions
Product feature requestRefuse or redirect to implementation skills
Agent or MCP server requestRefuse or redirect to agent-conventions or mcp-creator
Destructive or force requestStop, explain risk, require file-by-file approval

Operating Flow

  1. Classify the request as new project, existing repo bootstrap, audit, repair, preferences, docs, AI instructions, GitHub, cloud/data, or refusal.
  2. Read references/intake-and-routing.md for ambiguous or natural-language requests.
  3. Run read-only preflight before any mutating mode.
  4. Resolve presets and capabilities from data/, not from ad hoc prose.
  5. Produce a blueprint with files, commands, skipped existing files, risks, approvals, and validation.
  6. Apply only after explicit approval, one module at a time.
  7. Run validation and summarize created, skipped, and deferred work.

Pattern Implementation

Classification-Gating

Classify every request before acting: new project, existing bootstrap, audit, repair, preferences, docs, AI instructions, GitHub, cloud/data, or refusal. Ambiguous requests stay read-only until the missing choice is resolved.

Progressive-Disclosure

Keep SKILL.md as the routing contract. Load references for domain detail, data files for preferences, scripts for deterministic checks, and templates only for report rendering.

Scaling-Strategy

Add future stacks as capabilities and presets first. Change the dispatch table only when a new top-level mode is needed.

Canonical Vocabulary

Use these canonical terms exactly.

TermMeaning
PresetCurated setup bundle, such as minimal, python-api, docs-lite, or monorepo
CapabilityAtomic setup feature, such as python.uv, docs.starlight, or github.actions-ci
BlueprintRead-only project setup plan with files, commands, risks, approvals, and checks
Apply stepOne approved mutation unit from a blueprint
External side effectCloud, deploy, release, DNS, account, or provider mutation

Reference File Index

FilePurposeRead When
references/workflow.mdEnd-to-end safe setup flowMutating modes
references/capability-model.mdCapability schema and conflict semanticsPreference/catalog work
references/presets.mdPresets and tradeoffsPreset selection
references/preference-catalog.mdHuman-readable preference listprefs, planning
references/adding-preferences.mdFuture preference extension workflowprefs add, maintenance
references/intake-and-routing.mdClassification and ambiguity handlingNatural language inputs
references/scaffold-profiles.mdArtifact matrices by presetBlueprinting
references/python-uv.mduv, uvx, pyproject, Python packagesPython profiles
references/node-pnpm-npm.mdpnpm, npm/npx, TypeScript, Next, Astro, Nx, ChangesetsNode profiles
references/docs-starlight-react.mdStarlight docs-lite/themed/interactive guidanceDocs light modes
references/docs-fumadocs.mdFumadocs docs-product guidanceDocs product mode
references/design-system.mdDESIGN.md and anti-slop design guidanceWeb/docs/design profiles
references/data-platforms.mdSupabase, SQLite, DuckDB, Kaggle, ColabData/notebook profiles
references/ai-apps.mdPydantic AI, LangGraph, Vercel AI SDK, Bedrock, AgentCoreAI app profiles
references/github-ci-release.mdActions, releases, least-privilege CIGitHub mode
references/cloud-deploy-dns.mdVercel, Cloudflare DNS, AWS deploy gatesCloud modes
references/precommit-quality-gates.mdpre-commit and CI mirroringQuality gates
references/conventional-commits-release.mdConventional Commits, Changesets, releasesRelease profile
references/ai-agent-instructions.mdAGENTS, nested AGENTS, Claude Code, OpenCode, CodexAI instruction mode
references/openspec-governance.mdOpenSpec setup and generated artifact policyOpenSpec profile
references/security-supply-chain.mdSecrets, package generators, Docker, CI, supply chainRisky modes
references/validation-and-repair.mdAudit, doctor, repair workflowAudit/repair/doctor
references/artifact-templates.mdSkeletons and template guidanceArtifact generation

Script Index

ScriptPurpose
scripts/preferences.pyList, validate, resolve, merge, and explain preferences
scripts/preflight.pyRead-only project detection and risk flags
scripts/blueprint.pyBuild a JSON blueprint from request, preset, and capabilities
scripts/validate_catalog.pyValidate schemas, dependencies, conflicts, templates, and references
scripts/validate_plan.pyValidate blueprint safety before apply
scripts/version_check.pyQuery package/version facts for selected packages
scripts/doctor.pyVerify existing scaffold health without mutations
scripts/render_report.pyRender report data for HTML templates

Scripts use argparse, JSON stdout, diagnostics on stderr, and --help. They must not read secret files.

Safety Gates

  1. Preflight first for scaffold, bootstrap, repair, docs, AI, GitHub, cloud, or apply modes.
  2. Blueprint before mutation or package install.
  3. Skip existing files by default; overwrite requires file-by-file approval.
  4. Preserve detected package managers unless migration is approved.
  5. Never ask users to paste secrets into chat, and never read secret files.
  6. Generate .env.example or .env.template, not real credentials.
  7. Cloud, deploy, release, DNS, Docker, and account mutations require explicit provider-specific approval.
  8. GitHub Actions default to permissions: contents: read; add only narrow permissions.
  9. Docker Compose templates must avoid privileged mode, host networking, Docker socket mounts, broad host mounts, root services, and public DB binds by default.
  10. Generated AI instructions must not bypass approvals, disable credential guards, auto-deploy, or ignore higher-priority instructions.

Critical Rules

  1. Use the capability catalog for stack selection; do not hardcode preferences only in prose.
  2. Distinguish uvx one-off tools from uv run project commands.
  3. Prefer pnpm for new Node projects, but preserve detected npm/yarn/bun unless migration is approved.
  4. Prefer Starlight for lightweight docs; use Fumadocs only when product/API/docs-heavy requirements justify it.
  5. Make Tailwind v4 and shadcn/ui opt-in outside web/product profiles; add only needed shadcn components.
  6. Never claim latest without live registry or official-doc evidence gathered during the run.
  7. Do not create agents or MCP servers; redirect those requests.
  8. Do not create branches, worktrees, commits, pushes, releases, or PRs unless explicitly requested.
  9. Mirror local quality gates in GitHub Actions or document why CI was deferred.
  10. Include mobile-first responsive UI requirements in web/docs/design profiles.
  11. Update evals when dispatch modes, presets, capabilities, or safety gates change.
  12. Keep this body under 500 lines; move details to references.

Validation Contract

Before declaring changes to this skill complete, run:

python skills/new-project/scripts/check.py
uv run pytest tests/test_new_project.py
uv run python skills/new-project/scripts/preflight.py --path . --format json

After changing skill definitions, public descriptions, references, or eval behavior, invoke docs-steward if available.

Comments

Markdown supported