From project-scaffold
Generates all AI-agent configuration files (CLAUDE.md, rules, agents, skills, commands, and reference docs) for a full-stack web project. Use this skill whenever the user discusses a new project, describes an app idea, asks to "set up docs", "scaffold the project", "generate agent files", "create the MD files", "set up Claude Code config", or anything related to preparing a codebase for AI-assisted development. Also trigger when the user says "generate the docs", "create project structure", "set up the agent docs", or references CLAUDE.md, AGENTS.md, rules, skills, or commands in the context of a new or existing project. Even if the user just describes a project and says "go", this skill should activate. This skill asks questions first — it never assumes stack, conventions, or architecture. It produces self-updating documents with changelog sections and revision hooks.
npx claudepluginhub imit96/imit-dev-plugins --plugin project-scaffoldThis skill is limited to using the following tools:
Generate a complete, production-ready set of AI-agent configuration files for any full-stack web project.
agents/doc-updater.mdagents/health-monitor.mdagents/interviewer.mdreferences/agent-templates.mdreferences/bake-in-blocks.mdreferences/best-practices-catalog.mdreferences/claude-md-template.mdreferences/commands-templates.mdreferences/docs-agent-templates.mdreferences/progress-template.mdreferences/rules-templates.mdreferences/skills-templates.mdGuides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
Generate a complete, production-ready set of AI-agent configuration files for any full-stack web project. Every document is structured to evolve with the project — not a static snapshot.
Never assume. Always ask.
Before generating a single file, conduct a structured interview with the user. The quality of the output depends entirely on the quality of the input. A wrong assumption baked into CLAUDE.md will poison every future session.
Ask these questions in a natural conversational flow. Group related questions together — don't overwhelm with a 20-question survey. Adapt based on what the user has already shared in the conversation.
Tier 1 — Must Know (block generation until answered):
Tier 2 — Should Know (ask if not volunteered):
Tier 3 — Nice to Know (ask if the conversation allows):
Once the interview is complete, generate ALL files in a single batch. Save them to the project root following the exact structure below.
{project-root}/
├── CLAUDE.md # Core memory — lean, <300 lines
├── CLAUDE.local.md # Personal prefs template (gitignored)
├── AGENTS.md # Cross-tool compat (if multi-tool)
├── .claude/
│ ├── rules/
│ │ ├── code-style.md
│ │ ├── testing.md
│ │ ├── security.md
│ │ └── git-conventions.md
│ ├── agents/
│ │ ├── code-reviewer.md
│ │ ├── test-writer.md
│ │ ├── debugger.md
│ │ └── architect.md
│ ├── skills/
│ │ ├── new-feature/SKILL.md
│ │ ├── new-endpoint/SKILL.md
│ │ └── new-component/SKILL.md
│ └── commands/
│ ├── new-feature.md
│ ├── fix-bug.md
│ ├── deploy-check.md
│ ├── status.md # Project health & next steps
│ └── review.md # Feature/milestone review checkpoint
├── docs/agent/
│ ├── architecture.md
│ ├── database-schema.md
│ ├── api-patterns.md
│ ├── workflows.md
│ ├── testing-strategy.md
│ ├── deployment.md
│ └── progress.md # Living progress tracker
└── .gitignore additions # Ensure CLAUDE.local.md is gitignored
@ references to point to docs/agent/ files.Every generated file follows this pattern to stay current as the project evolves:
Every file ends with:
---
## Changelog
<!-- Add entries as the project evolves. Format: YYYY-MM-DD | Change description -->
| Date | Change |
|------|--------|
| {GENERATION_DATE} | Initial generation via project-scaffold skill |
Embed HTML comments at key decision points that remind the agent (or human) to revisit:
<!-- UPDATE_WHEN: New database table is added -->
## Database Schema
...
<!-- UPDATE_WHEN: New external service is integrated -->
## External Services
...
<!-- UPDATE_WHEN: Deployment target changes -->
## Deployment
...
Include this block in the generated CLAUDE.md:
## Keeping These Docs Current
When you complete a task that changes project architecture, conventions, or structure:
1. Identify which doc files are affected (check <!-- UPDATE_WHEN --> comments)
2. Propose specific updates to the affected files
3. Ask the user to confirm before making changes
4. Add a changelog entry with today's date
If you notice a doc file contradicts the actual codebase, flag it immediately.
Do NOT silently work around outdated docs — surface the contradiction.
Generate these agents by default. Customize tool access and prompts based on the tech stack.
Read agents/code-reviewer.md, agents/test-writer.md, agents/debugger.md, and
agents/architect.md in this skill's agents/ directory for the full templates.
When to recommend additional agents to the user:
auth-auditor.md agentcontent-reviewer.md agentdata-validator.md agentThese behaviors are baked into every generated file:
## Agent Behavior Rules
1. **Ask, don't assume.** If a task is ambiguous, ask a clarifying question before proceeding.
Prefer a 30-second question over a 10-minute wrong implementation.
2. **Confirm before destructive actions.** Deleting files, dropping tables, force-pushing —
always confirm first.
3. **Flag uncertainty.** If you're unsure about an architectural decision, say so.
Suggest 2-3 options and let the human decide.
4. **Scope check.** Before starting a task, restate your understanding of the scope
and ask "Does this match what you had in mind?"
5. **No silent drift.** If you realize mid-task that the approach needs to change,
stop and discuss — don't quietly pivot.
Each agent file includes:
Before beginning work:
1. Restate the task in your own words
2. List any assumptions you're making
3. Ask: "Should I proceed with these assumptions, or do you want to adjust anything?"
Adapt the generated files based on the tech stack discovered in the interview:
Next.js / React:
new-component and new-page skillsLaravel / PHP:
new-model, new-controller skillsNode.js / Express:
new-route, new-middleware skillsDatabase-specific:
Deployment-specific:
After generating all files:
Every task ends with a suggested next step. This is not optional — it's baked into the generated CLAUDE.md and every agent/command/skill.
Read references/bake-in-blocks.md for the exact markdown blocks to embed in each file type.
After completing ANY task, the agent must:
The project maintains a living progress file that tracks what's been done, what's in flight, and what remains.
docs/agent/progress.mdRead references/progress-template.md for the full template with milestone patterns by project type.
The file tracks five things:
During the interview, after the stack is known, generate milestones that match the project.
See references/progress-template.md for patterns by project type (SaaS, e-commerce, API, etc.).
Always ask: "Here are the milestones I'd suggest: [list]. Want to adjust?"
The agent doesn't just build — it actively coaches toward better outcomes and knows when to stop.
Read references/best-practices-catalog.md for the full library of 20+ contextual suggestions
with trigger conditions across Security, Performance, Quality, Reliability, and DX.
Rules for suggestions:
references/bake-in-blocks.mdThe agent recognizes three levels of "done":
Task-Level — Requirements met, tests pass, edge cases handled, docs updated.
→ Stop and confirm. Offer enhancements as options, not defaults.
See references/bake-in-blocks.md for the task completion format.
Feature-Level — All endpoints work E2E, frontend wired to backend, tests pass, errors handled.
→ Suggest a review checkpoint before starting the next feature.
See references/bake-in-blocks.md for the feature completion format.
Project-Level — All milestones done, tests pass, no critical debt, deployment works, docs current.
→ Present launch readiness summary.
See references/bake-in-blocks.md for the launch-ready format.
Anti-Overbuilding Rules (bake into CLAUDE.md):
agents/health-monitor.md when the user asks for project status or after major milestones/status and /review CommandsGenerate two additional commands for day-to-day project management:
/status — Reads docs/agent/progress.md and presents an instant health summary:
milestones, last task, suggested next step, open questions, tech debt, and health signals.
See references/bake-in-blocks.md for the output format and references/commands-templates.md
for the command template.
/review — Runs a feature or milestone review checkpoint: identifies scope, spawns
code-reviewer, checks tests and docs, updates progress. See references/commands-templates.md.
Also spawn agents/health-monitor.md when the user asks for deeper project health analysis
or when a major milestone is completed.
Read these for full templates when generating specific file types:
references/claude-md-template.md — Full CLAUDE.md template with all sectionsreferences/rules-templates.md — Templates for each rule filereferences/agent-templates.md — Templates for agent YAML frontmatter and promptsreferences/skills-templates.md — Templates for project-specific skillsreferences/commands-templates.md — Templates for slash commandsreferences/bake-in-blocks.md — Exact markdown blocks to embed in generated filesreferences/progress-template.md — Full progress.md template with milestone patternsreferences/best-practices-catalog.md — Trigger conditions and suggestion libraryRead agents/ directory for sub-agent definitions that get copied into the project.