This skill should be used when the user wants to set up Claude for a project, create a CLAUDE.md file, scaffold the .claude directory, initialize an AI workflow, configure a project for Claude, set up dev intelligence, initialize a new project, or do a new project setup. Triggered by phrases like "set up claude for this project", "create CLAUDE.md", "scaffold .claude directory", "init AI workflow", "configure project for claude", "set up dev intelligence", "initialize project", "new project setup".
From dev-intelligencenpx claudepluginhub hedera-dev/hedera-skills --plugin dev-intelligenceThis skill uses the workspace's default tool permissions.
references/claude-md-template.mdreferences/git-workflow.mdreferences/naming-conventions.mdSearches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Ingests video/audio from files, URLs, RTSP, desktop; indexes/searches moments with timestamps/clips; transcodes/edits timelines (subtitles/overlays/dubbing); generates assets and live alerts.
Generate a complete CLAUDE.md and .claude/ directory structure for any project. This gives AI agents the context they need to work effectively from the first session — build commands, conventions, quality gates, and session tracking.
Before scaffolding, detect the project's tech stack by scanning for manifest files:
| File Found | Stack Detected | Build Tool |
|---|---|---|
tsconfig.json | TypeScript | tsc, npm/yarn/pnpm |
package.json (no tsconfig) | JavaScript | npm/yarn/pnpm |
pyproject.toml | Python | pip/poetry/uv |
setup.py or requirements.txt | Python (legacy) | pip |
Cargo.toml | Rust | cargo |
go.mod | Go | go |
Makefile | Check contents | Varies |
Dockerfile | Container | docker |
package.json exists, read scripts to find build/test/lint commandspyproject.toml exists, read [tool] sections for configured toolsUse the template from references/claude-md-template.md and fill in detected information. Target: under 200 lines. Claude Code truncates CLAUDE.md after ~200 lines in the system prompt, so keep it lean.
README.md or package.json descriptionscripts section (keep 8-10 most-used, add "See [manifest] for full list")references/naming-conventions.md based on stack. If the table is large, move to docs/CONVENTIONS.md and reference from TriggersThe Triggers section maps file patterns to deeper documentation, enabling on-demand context loading without bloating CLAUDE.md.
src/, lib/, tests/, docs/)docs/*.md, ARCHITECTURE.md, CONTRIBUTING.md)Dockerfile → deployment docs, tests/ → testing docs, new files → conventions| File Pattern | Load |
|---|---|
| src/api/* | Read: docs/API.md |
| src/components/* | Read: docs/COMPONENTS.md |
| tests/* | Read: docs/TESTING.md |
| Dockerfile, docker-compose* | Read: docs/DEPLOYMENT.md |
| New .ts files | Read: docs/CONVENTIONS.md |
If no docs exist yet, generate stub documentation files with TODO placeholders during scaffolding.
Seed the project's MEMORY.md with initial lessons from the detected stack. MEMORY.md is auto-loaded into every Claude Code system prompt, creating a self-improvement loop.
~/.claude/projects/<project-path-with-dashes>/memory/MEMORY.md
Where <project-path-with-dashes> is the absolute project path with / replaced by - (e.g., -Users-dev-myproject).
tsconfig strictness, type-only imports__init__.py requirements, type checking with mypy/initKeep under 55 lines initially — leave room for growth as the agent learns during sessions. The 200-line system prompt limit applies to MEMORY.md too.
Create the following structure:
.claude/
├── commands/
│ └── parallel.md ← multi-session coordination guide
├── reports/
│ ├── _registry.md ← from session-management references
│ ├── _tech-debt.md ← from session-management references
│ ├── architecture/
│ ├── bugs/
│ ├── code-review/
│ ├── config/
│ ├── dependencies/
│ ├── docs/
│ ├── features/
│ ├── integration/
│ ├── performance/
│ ├── refactor/
│ ├── security/
│ ├── testing/
│ ├── ci/
│ ├── tech-debt/
│ └── release/
└── scripts/
└── post-edit-check.sh ← from quality-gates hook
.claude/reports/registry-template.md content to .claude/reports/_registry.md (empty, ready to use)tech-debt-template.md content to .claude/reports/_tech-debt.md (empty, ready to use)post-edit-check.sh to .claude/scripts/ using cp via Bash (NOT the Write tool — Write can corrupt line endings and break the script):
mkdir -p .claude/scripts && cp "$CLAUDE_PLUGIN_DIR/scripts/post-edit-check.sh" .claude/scripts/post-edit-check.sh && chmod +x .claude/scripts/post-edit-check.sh
If $CLAUDE_PLUGIN_DIR is unavailable, locate the plugin via find ~/.claude -name "post-edit-check.sh" | head -1 and cp from there..claude/commands/parallel.md with project-specific file ownership boundariesBased on detected stack, wire up the PostToolUse hook:
.claude/settings.json with exactly this content (no extra arguments, no modifications):{
"hooks": {
"PostToolUse": [
{
"matcher": "Edit|Write",
"hooks": [
{
"type": "command",
"command": "bash .claude/scripts/post-edit-check.sh"
}
]
}
]
}
}
Important: The command must be exactly bash .claude/scripts/post-edit-check.sh — do not add arguments like $CLAUDE_TOOL_INPUT_FILE_PATH. The script reads $CLAUDE_TOOL_INPUT from the environment automatically.
When running the scaffolding, interact with the user for decisions:
Detected stack: TypeScript (package.json + tsconfig.json)
Build: npm run build
Test: npm test
Lint: npm run lint
Does this look correct? Any changes?
Any project-specific conventions I should add to CLAUDE.md?
For example:
- Specific directory structure rules
- Required code patterns
- Forbidden patterns or anti-patterns
CLAUDE.md with all detected + user-provided info.claude/ directory structureCreated:
- CLAUDE.md (project configuration with Triggers, under 200 lines)
- .claude/reports/ (15 category dirs + registry + tech debt tracker)
- .claude/commands/parallel.md (multi-session coordination)
- .claude/scripts/post-edit-check.sh (auto-validation hook)
- .claude/settings.json (PostToolUse hook wired up)
- MEMORY.md (seeded at ~/.claude/projects/.../memory/MEMORY.md)
Ready to start developing with session tracking, auto-validation,
and self-improvement across sessions.
references/claude-md-template.md — Full CLAUDE.md template with placeholder sectionsreferences/naming-conventions.md — Language-specific naming tables (TS, Py, Rust, Go)references/git-workflow.md — Conventional commits, branching, and PR patterns