project-setup
Skill79 starsChanged 35 days agoMITView on GitHub
One-time interactive setup to configure a project for autonomous development. Use when setting up a new project for TDD-based autonomous development with HCF.
48 other projects use a version of this.
Adopted by
Most recently taken up by
- codewithmukesh/dotnet-claude-kittheir own version, first seen Nov 8, 2026
- paureis/pau-skillstheir own version, first seen Nov 8, 2026
- ErikaAX08/erikas-skillstheir own version, first seen Nov 8, 2026
- Pagepro/nexitytheir own version, first seen Nov 8, 2026
- celestialdust/achilles-skillstheir own version, first seen Nov 1, 2026
- FiredMosquito831/my-writing-companiontheir own version, first seen Nov 1, 2026
Used with
Projects with it also use creative-writing-craft, creative-writing-muse and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Abdullokh-NSkillcreative-writing-craft
Справочник ремесла: проза, сцена, стиль, голос. Загружать, когда нужно знание "как писать", а не режим производства.
Also in 3 projects that use this
Abdullokh-NSkillcreative-writing-muse
Точка входа в набор скилов для длинной прозы. Включается, когда автор просит спланировать, написать, продолжить, переписать или разобрать художественный текст — роман, повесть, цикл рассказов. Ведёт маршрут от замысла к готовому куску и держит базу знаний проекта.
Also in 3 projects that use this
badgidsSkillcharacter-sim
Pressure-test a character by speaking or reasoning strictly from that character's current voice, goals, relationships, emotional pressure, and knowledge boundary without creating canon by accident.
Also in 3 projects that use this
jpsweeney97Skillwriting-principles
Enforces writing principles for instruction documents (SKILL.md, skill supporting files, subagents, CLAUDE.md). Use when writing, reviewing, or editing any file in **/skills/**/*.md, **/agents/*.md, or **/CLAUDE.md. Triggers on skill creation, skill file updates, CLAUDE.md changes, subagent authoring, or instruction document review.
Also in 3 projects that use this
ItsSidharthaSkillstory-planning
Collaborative planning skill for a GitHub issue. Takes issue content and codebase context as input. Runs an iterative clarification loop until the user explicitly agrees to a plan, then saves it to docs/<story_number>/plan.md. Used by the user-story-implementation skill — load this skill at the start of Phase 1 and follow it completely before returning to the orchestrator.
Also in 3 projects that use this
badgidsSkillstory-review
Diagnose existing prose at a chosen editorial level, from whole-story and developmental problems through scene, line, copy, and proof passes, without rewriting until the diagnosis is accepted.
Also in 3 projects that use this
- +4 more from Abdullokh-N
Other versions48 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 48
- codewithmukesh/dotnet-claude-kit★ 808same name
- karrioapi/karrio★ 799same name
- haowjy/creative-writing-skills★ 570same name
- Resgrid/Core★ 238same name
- sd0xdev/sd0x-dev-flow★ 192same name
- sd0xdev/sd0x-harness★ 192same name
- fltman/project-scaffolder★ 88same name
- vaayne/agent-kit★ 54same name
- dleerdefi/claude-code-construction★ 53same name
- wolverin0/claude-skills★ 41same name
38 more not listed
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 repository4 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- plan-createSkill
- plan-orchestrateSkill
- project-updateSkill
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 8 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 40 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Create CLAUDE.md and all project configuration files in .claude/ through an interactive process with auto-detection.
- Very specific: line 23
If CLAUDE.md and all 3 config files (testing.md, code-standards.md, architecture.md) exist, inform the user:
- Distinctive: line 58
Ask user to confirm detected configuration:
- Distinctive: line 62
If incorrect, ask clarifying questions about each incorrect item.
- Distinctive: line 66
Ask these questions (skip if already detected):
- Very specific: line 129
Create the .claude/ directory and all config files:
- Distinctive: line 328
After creating all files, output:
- Distinctive: line 347
If unable to detect project type: Ask user to specify manually
- Distinctive: line 348
If file creation fails: Report error and suggest checking permissions
- Distinctive: line 349
If user provides conflicting information: Ask for clarification
- Very specific: line 353
Check for existing CLAUDE.md and .claude/ config before running
- Distinctive: line 354
Never overwrite existing files without explicit confirmation
“Common” is measured: kept by at least 6 in 10 of the 40 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
One-time interactive setup to configure a project for autonomous development.
Purpose
Create CLAUDE.md and all project configuration files in .claude/ through an interactive process with auto-detection.
Execution Steps
Step 1: Check for Existing Configuration
First, check if configuration already exists:
ls CLAUDE.md .claude/testing.md .claude/code-standards.md .claude/architecture.md 2>/dev/nullIf CLAUDE.md and all 3 config files (testing.md, code-standards.md, architecture.md) exist, inform the user:
Project already configured. CLAUDE.md and config files exist in
.claude/. To reconfigure, delete CLAUDE.md and.claude/then run/project-setupagain.
Otherwise, continue with setup.
Step 2: Auto-Detect Project Type
Scan the project root for configuration files to detect the tech stack:
Check for these files (in parallel):
composer.json→ PHP/Laravel/Symfonypackage.json→ Node.js/React/Vue/Next.jsCargo.toml→ Rustgo.mod→ Gopyproject.tomlorrequirements.txt→ PythonGemfile→ Ruby/Railspom.xmlorbuild.gradle→ Java*.csprojor*.sln→ .NET
For each detected file, extract:
- Framework and version
- Testing framework (from devDependencies or test config)
- Linting/formatting tools
Example auto-detection output:
Detected project configuration:
- Framework: Laravel 11 (from composer.json)
- PHP Version: 8.3
- Testing: Pest PHP (from composer.json require-dev)
- Linting: Laravel Pint (from composer.json require-dev)Step 3: Confirm Detection
Ask user to confirm detected configuration:
I detected the following. Is this correct? (y/n) [Show detected config]
If incorrect, ask clarifying questions about each incorrect item.
Step 4: Gather Additional Information
Ask these questions (skip if already detected):
Q1: Test Command
What command runs your tests? Detected:
./vendor/bin/pest[Enter to confirm or type custom]
Q1b: Parallel Test Command
Does your test runner support parallel execution? If so, what's the command? (e.g.,
./vendor/bin/pest --parallel,npm test -- --parallel,pytest -n auto,go test ./... -parallel 4) [Enter detected parallel command, type custom, or 'none' if not supported]
Auto-detect hints:
composer.jsonhasbrianium/paratestorpestphp/pest→ suggest{test command} --parallelpackage.jsonhasjest→ suggest{test command} --runInBandis serial, default is already parallelpackage.jsonhasvitest→ already parallel by defaultpytestwithpytest-xdist→ suggestpytest -n autogo test→ suggestgo test ./... -parallel {num}cargo test→ already parallel by default
Q2: Lint Command
What command runs your linter? Detected:
./vendor/bin/pint[Enter to confirm or type custom]
Q3: Architectural Patterns
Which patterns does this project use? (select all that apply)
- Repository pattern
- Service classes
- Form requests / DTOs
- Event sourcing
- CQRS
- Other (specify)
Q4: Code Standards
Any specific coding standards or style guides? Detected: PSR-12 [Enter to confirm or specify]
Q5: Coverage Requirements
Minimum test coverage percentage? (e.g., 80) Default: 80
Step 5: Open-Ended Project Dump
Offer the user a chance to provide additional context:
Tell me anything else about your project I should know.
You can paste:
- README content
- Architecture decisions
- Naming conventions
- Special requirements
- Team preferences
(Paste below, then type 'done' on a new line when finished, or 'skip' to skip)
Parse the dump for:
- Directory structure descriptions
- Naming conventions
- Special patterns or rules
- Integration details
Step 6: Create Configuration Files
Create the .claude/ directory and all config files:
mkdir -p .claudeNote: The templates below show the minimum required sections. Expand each file with additional relevant details based on project complexity. For example, a framework project might include extensive architecture docs, while a simple app might stick closer to the minimum.
Create .claude/testing.md:
# Testing Configuration
## Test Framework
{detected framework}
## TDD Methodology
Each task follows strict Red → Green → Refactor:
1. Write failing test for one requirement
2. Write minimum code to pass
3. Refactor while tests stay green
4. Repeat for next requirement
5. Commit when task complete
## Commands
\`\`\`bash
# Run all tests (parallel)
{parallel test command, or test command if parallelism not supported}
# Run all tests (sequential, for debugging failures)
{test command}
# Run specific test file
{test command} {path placeholder}
# Run with coverage
{test command with coverage flag}
\`\`\`
## Parallel Execution
- **Default**: Always run tests in parallel unless debugging a specific failure
- Parallel command: `{parallel test command}`
- Sequential fallback: `{test command}` (use only when parallel causes flaky failures)
## Test File Locations
- Unit tests: `{detected or standard path}`
- Feature/Integration tests: `{detected or standard path}`
## Coverage Requirements
- Minimum: {specified}%
- New code must have tests
## Test Naming Convention
- Test files: `{Convention}Test.php` or `{convention}.test.ts`
- Test methods: `it {does something}` or `test {something}`Optional expansions: Testing principles, framework-specific features, common test patterns, mocking strategies, CI configuration.
Create .claude/code-standards.md:
# Code Standards
## Style Guide
{detected or specified - e.g., PSR-12, Airbnb, StandardJS}
## Linting
\`\`\`bash
# Check for issues
{lint check command}
# Auto-fix issues
{lint fix command}
\`\`\`
## Formatting
\`\`\`bash
{format command if different from lint}
\`\`\`
## Pre-commit Checks
- Run linter before commits
- All tests must pass
- {any additional checks}
## Naming Conventions
- Classes: {PascalCase}
- Methods: {camelCase}
- Variables: {camelCase}
- Constants: {SCREAMING_SNAKE_CASE}
- Files: {convention}Optional expansions: Code structure rules, attribute/decorator standards, documentation standards, pre-commit hooks, code review checklist.
Create .claude/architecture.md:
# Architecture
## Directory Structure
{Map out the key directories and their purposes}
Example:
- `app/Models/` - Eloquent models
- `app/Services/` - Business logic services
- `app/Http/Controllers/` - HTTP request handlers
- `app/Http/Requests/` - Form request validation
- `tests/Unit/` - Unit tests (mirror app/ structure)
- `tests/Feature/` - Integration/feature tests
## Patterns Used
{List from user selection}
- Repository pattern: {yes/no + brief description}
- Service classes: {yes/no + brief description}
- etc.
## Conventions
{From user dump or defaults}
- One class per file
- Tests mirror source structure
- {any other conventions}
## Key Integrations
{If mentioned in dump}Optional expansions: DI/IoC details, plugin/extension system, event system, routing, configuration, bootstrap process, error handling, versioning strategy.
Pipeline enrollment (nothing to scaffold):
Pipeline agents enroll via their own frontmatter (phase:), so a fresh setup already has a working pipeline from the plugin's bundled agents — nothing to scaffold here. devils-advocate runs at post-plan; standards-enforcer ships dormant (uncomment its phase to enable). See HOOKS.md. Running hooks/discover-hooks.sh prints exactly what is enrolled at each hook.
Tell the user:
Pipeline ready.
devils-advocateis enrolled at thepost-planhook via its own agent frontmatter, so it runs automatically when you create a plan.standards-enforcerships with HCF but is dormant — uncomment itsphasekey in the agent's frontmatter to enable code-standards enforcement on changed files. To add your own gate, drop an agent file in.claude/agents/and give it aphase(one of the 8 hook points). A local agent with the samenameoverrides the plugin's. SeeHOOKS.mdfor the full hook list and frontmatter schema. To see what is currently enrolled at each hook, run$(claude plugin path hcf)/hooks/discover-hooks.sh— that is the fastest answer whenever an agent doesn't fire.
Advanced configuration note:
.claude/hcf.jsonis an optional, user-owned file (its only key today isplansDir). Setup never creates it, never modifies it, and never asks about it. If one already exists, leave it exactly as it is. Its absence is the normal case — do not mention it to the user during setup.
Create CLAUDE.md in project root:
This file provides always-on context for every Claude session. Keep it concise (~30-50 lines).
# {Project Name}
{Brief 1-2 sentence description of the project.}
## Feature Development
For any feature or change beyond a simple fix, use the `hcf:plan-create` skill to trigger the autonomous development workflow. Never use Claude Code's built-in plan mode. After writing a plan, ask the user if they want to execute it, and provide the command to run it later with the `hcf:plan-orchestrate` skill.
Use this workflow for: new features, multi-file changes, anything requiring multiple steps or tests.
Skip for: quick bug fixes, single-line changes, questions, documentation. When skipped, still ensure appropriate tests exist for any added functionality.
## Tech Stack
- **Language**: {language} {version}
- **Framework**: {framework if applicable}
- **Testing**: {test framework}
- **Linting**: {linter/formatter}
## Core Principles
{Extract 3-5 key principles from user input or your judgment. These should be always-true rules that affect how code is written.}
## Project Structure
{Brief 3-5 line summary of directory structure from architecture.md}
## Commands
\`\`\`bash
# Run tests
{test command}
# Lint/format
{lint command}
# Start dev server (if applicable)
{start command or remove this line}
\`\`\`
## Key Rules
{5-10 bullet points of critical coding rules extracted from code-standards.md and user input}
## Detailed Configuration
Project configuration files are in `.claude/`:
- `architecture.md` - Technical patterns and structure
- `testing.md` - Test configuration and commands
- `code-standards.md` - Coding conventionsStep 7: Confirm Completion
After creating all files, output:
✓ Created CLAUDE.md
✓ Created .claude/testing.md
✓ Created .claude/code-standards.md
✓ Created .claude/architecture.md
Project configured for autonomous development!
Next steps:
1. Review CLAUDE.md and the generated files in .claude/
2. Customize the pipeline by enrolling agents via frontmatter — set a `phase` on an agent in .claude/agents/ to add a gate, or remove a `phase` to drop one (see HOOKS.md)
3. Describe a feature to start planning: "Help me implement..."
4. The plan-create skill will auto-trigger to help you planError Handling
- If unable to detect project type: Ask user to specify manually
- If file creation fails: Report error and suggest checking permissions
- If user provides conflicting information: Ask for clarification
Idempotency
- Check for existing CLAUDE.md and .claude/ config before running
- Never overwrite existing files without explicit confirmation
- Offer to update individual files if some exist
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.

