setup-project-md
Skill1 starsChanged 3 months agoMITView on GitHub
One-time setup that maps the codebase and gathers user-provided product context to write a root PROJECT.md overview of what the project is, who it serves, how it is structured, and how it runs. Use when the user invokes $setup-project-md, says "setup project md", "create PROJECT.md", or asks for a complete project overview document at the repo root.
In this repository81 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agents-mdSkill
- base-uiSkill
- better-authSkill
- brainstormSkill
- bullmqSkill
- bunSkill
- clickhouseSkill
- clone-to-tempSkill
- compound-uiSkill
- copywritingSkill
- create-durable-planSkill
- d3Skill
- date-fnsSkill
- decimal-jsSkill
- deduplicateSkill
- design-engineerSkill
- designSkill
- drizzle-ormSkill
- effectSkill
- elysia-architectureSkill
- elysiaSkill
- evlogSkill
- feedsmithSkill
- grokSkill
- handoffSkill
- heyapiSkill
- impitSkill
- intlayerSkill
- jsdocSkill
- kafkaSkill
- kill-legacySkill
- legend-stateSkill
- loopSkill
- mantine-hooksSkill
- mobbinSkill
- motionSkill
- oxfmtSkill
- oxlintSkill
- permixSkill
- plain-languageSkill
- playwrightSkill
- react-boundariesSkill
- react-emailSkill
- reactSkill
- reorganizeSkill
- researchSkill
- schema-dtsSkill
- sentrySkill
- seoSkill
- setup-competitors-mdSkill
- setup-copywriting-mdSkill
- setup-icp-mdSkill
- simplify-layoutSkill
- storybookSkill
- subagentsSkill
- tailwindSkill
- tailwind-variantsSkill
- takumiSkill
- tanstack-chartsSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 13 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
Write exactly one file: repo-root PROJECT.md.
- Very specific: line 20
If PROJECT.md already exists, ask once whether to overwrite, merge/update, or abort.
- Distinctive: line 33
Prefer evidence from the repo over marketing claims.
- Distinctive: line 37
Ask for product facts the code cannot fully answer.
- Distinctive: line 46
If the user provides a brief up front, use it and only ask for missing critical gaps.
- Distinctive: line 50
Prefer code and configs for structure, stack, and commands.
- Distinctive: line 51
Prefer user input for intent, audience, roadmap, and business context.
- Distinctive: line 52
Call out contradictions and resolve with the user when they affect the overview.
- Distinctive: line 56
Use references/template.md.
- Distinctive: line 61
No secrets; env vars by name only.
- Distinctive: line 68
Check for root AGENTS.md only.
- Distinctive: line 69
If it does not exist, skip linking.
- Very specific: line 70
If it exists, add a clear pointer to PROJECT.md if missing:
- Distinctive: line 71
Prefer an existing Index / Docs / Related docs section.
- Distinctive: line 74
Do not duplicate the full overview into AGENTS.md.
- Distinctive: line 81
Do not commit unless the user asks.
≈ “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.
Files
Setup PROJECT.md
Overview
One-shot setup: combine codebase evidence with user-supplied product context into a single root PROJECT.md that answers what this project is and how it fits together. Do not treat this as an ongoing maintenance skill unless the user explicitly asks to regenerate or update the file.
Output
- Write exactly one file: repo-root
PROJECT.md. - If
PROJECT.mdalready exists, ask once whether to overwrite, merge/update, or abort. Do not silently overwrite.
Workflow
1. Map the codebase
Inspect enough to describe the system accurately:
- Root docs:
README.md, architecture notes, deploy docs, env examples (names only — never copy secret values). - Manifests and tooling: package managers, workspaces, apps/packages layout, CI, Docker, infra entrypoints.
- Runtime shape: entrypoints, routes, major domains/modules, data stores, queues, external services.
- Product surfaces: web app, API, CLI, workers, admin, docs site — only what exists.
Prefer evidence from the repo over marketing claims. Mark inferences clearly.
2. Collect user context
Ask for product facts the code cannot fully answer. Batch questions. Cover:
- Mission / problem solved and non-goals.
- Target users and primary use cases.
- Business model or distribution (if relevant).
- Current stage (prototype, beta, production) and known constraints.
- Important history, ownership, or decisions agents routinely miss.
- Links to live product, design, or issue tracker (optional).
If the user provides a brief up front, use it and only ask for missing critical gaps. If they decline interview, proceed with labeled assumptions.
3. Reconcile code vs narrative
- Prefer code and configs for structure, stack, and commands.
- Prefer user input for intent, audience, roadmap, and business context.
- Call out contradictions and resolve with the user when they affect the overview.
4. Write PROJECT.md
Use references/template.md. Fill applicable sections; omit empty ones. Quality bar:
- A new agent can understand purpose, surfaces, layout, and how to run after reading once.
- Distinguishes product intent from implementation map.
- Concrete paths and commands, not vague architecture essays.
- No secrets; env vars by name only.
- Honest about unknowns and WIP areas.
5. Link from AGENTS.md (conditional)
After PROJECT.md exists:
- Check for root
AGENTS.mdonly. - If it does not exist, skip linking. Do not create
AGENTS.md. - If it exists, add a clear pointer to
PROJECT.mdif missing:- Prefer an existing Index / Docs / Related docs section.
- Otherwise add a short section such as
## Project docswith a bullet:- [PROJECT.md](PROJECT.md) — product and codebase overview - Do not duplicate the full overview into
AGENTS.md. - Preserve unrelated
AGENTS.mdcontent.
6. Deliver
- Confirm path written.
- Brief summary: one-line purpose, main surfaces, and whether
AGENTS.mdwas updated or skipped. - Do not commit unless the user asks.
Isolation
This skill stands alone. Do not mention, link to, or depend on other skills. Reference only repo files, user input, and this skill's references/.
Out of Scope
- Replacing
README.mdor full architecture ADRs. - Implementing features or refactoring while mapping.
- Creating
AGENTS.mdwhen missing. - Recurring audits unless the user asks to run setup again.
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
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.

