agentleFS
pjprateekpjprateek/claude-skills/project-initializer/SKILL.md

project-initializer

Skill0 starsChanged 4 months agoMITView on GitHub

Bootstrap a new coding project by interviewing the user about its purpose and tech stack, then generating a CLAUDE.md (operational guide) and a project.md (detailed spec). Use when the user says things like "set up a new project", "initialize this repo", "create a CLAUDE.md", or when working in a repo that has no CLAUDE.md yet and the user is starting substantive work — in that case, offer it rather than assuming.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. opencue/cuecards★ 10same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repositoryOne other file it gives its agents.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 5 are distinctive, and 2 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.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ask conversationally, inferring first from any code/README already in the repo:

    line 24
  2. Distinctive:

    Keep this to 2-3 questions max — don't interrogate if the repo already answers most of it.

    line 29
  3. Distinctive:

    Ask whether a stack is already decided or in use.

    line 33
  4. Distinctive:

    Keep it short and scannable — this gets read on every session, so avoid restating things derivable from the code itself.

    line 46
  5. Distinctive:

    Don't force a tech stack — if the project already has one, document it, don't relitigate it.

    line 59
  6. Very specific:

    Never overwrite an existing CLAUDE.md or project.md without confirming first.

    line 60
  7. Very specific:

    Keep CLAUDE.md operational and terse.

    line 61

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Project Initializer

Turn a blank or undocumented repo into one with a working CLAUDE.md and a project.md, using the user's own default tech-stack choices where none exists yet.

The conversation flows in this order:

Confirm trigger → Understand the project → Tech stack check
→ generate CLAUDE.md → generate project.md → present both

Step 1 — Confirm the trigger

  • Explicit ask: proceed directly.
  • Proactive: if you're working in a repo with no CLAUDE.md and the user starts real (non-trivial) work, offer it in one line — "Want me to set up a CLAUDE.md and project spec for this repo first?" — and only proceed if they say yes. Never generate these files unprompted.

Step 2 — Understand the project

Ask conversationally, inferring first from any code/README already in the repo:

  • What is this project, who's it for, what does it do?
  • Rough scope: is this a small script/tool, a full app, a client project, an internal tool?
  • Any constraints already known (deadline, must integrate with an existing system, etc.)

Keep this to 2-3 questions max — don't interrogate if the repo already answers most of it.

Step 3 — Tech stack check

Ask whether a stack is already decided or in use.

  • If yes (code already exists, or the user names one): use it as-is, just document it accurately in both files.
  • If no: offer the user's standard defaults as options — don't force one, let the project's shape decide:
    • Supabase + Vercel — Postgres/auth via Supabase, hosting on Vercel. Good default for most web apps.
    • Cloudflare stack — D1 (or R2 for file/image storage) for data, Workers/Pages for hosting. Good when the user wants everything under one platform, or needs edge performance.
    • Python — for smaller apps, scripts, CLIs, or backend-only tools where a hosted DB/frontend isn't the point.
  • Once a stack is chosen (existing or new), check whether there's a relevant skill worth enabling — search skills.sh and/or Vercel's skill marketplace for anything matching the chosen stack or project type, and offer to enable it if something relevant turns up. Don't block on this if nothing relevant is found.

Step 4 — Generate CLAUDE.md

The operational doc — what Claude needs to know to work in this repo day-to-day. Use references/claude-md-template.md. Cover: what the project is (one paragraph), tech stack, key commands (install/run/test/build), conventions and patterns to follow, architecture notes, and anything explicitly not to do.

Keep it short and scannable — this gets read on every session, so avoid restating things derivable from the code itself.

Step 5 — Generate project.md

The detailed spec/reference doc — not operational instructions, but the "why" behind the project. Use references/project-spec-template.md. Cover: goals and scope, intended users, tech stack decisions and why they were made, and open questions/unknowns still to resolve.

Step 6 — Present both

Save both files at the project root and present them. If either already exists, show a diff-style summary of what would change and confirm before overwriting rather than silently replacing an existing file — these often contain hand-written context worth preserving.

Style rules

  • Infer from existing code/README before asking; only ask what isn't already answered.
  • Don't force a tech stack — if the project already has one, document it, don't relitigate it.
  • Never overwrite an existing CLAUDE.md or project.md without confirming first.
  • Keep CLAUDE.md operational and terse; keep project.md explanatory and detailed — don't blend the two.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.