원클릭으로
project-init
Initialize a new project with standard .gid/ directory structure
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Initialize a new project with standard .gid/ directory structure
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Apply approved review findings to a document — reads the review file and makes targeted edits
Systematically review design documents for bugs, inconsistencies, and missing cases
Systematically review requirements documents for completeness, testability, and consistency
Systematically review task breakdowns for completeness, dependency correctness, and implementability
Incremental write pattern for long documents (design, requirements, specs, postmortems, RFCs, ADRs, any structured markdown)
Track, manage, and fix issues across all projects (full lifecycle, strict format)
| name | project-init |
| description | Initialize a new project with standard .gid/ directory structure |
| version | 1.0.0 |
| author | potato |
| triggers | {"patterns":["init project","new project","create project","initialize project","新建项目","初始化项目","开个新项目"],"keywords":["project init","gid init","project setup","scaffold project"]} |
| tags | ["project-management","setup"] |
| priority | 60 |
| always_load | false |
| max_body_size | 4096 |
Set up a new project with the standard
.gid/directory structure for GID-driven development.
Every project managed by GID follows a consistent directory structure. .gid/ is the project's brain — it holds the dependency graph, feature documentation, and issue tracking. Consistency across projects means skills, tools, and workflows all work the same way everywhere.
.gid/ Structure{project_root}/
├── .gid/
│ ├── graph.yml ← Dependency graph (created by `gid init`)
│ ├── config.yml ← GID config (optional, for ritual gating etc.)
│ ├── requirements.md ← Master requirements (GUARDs + feature index)
│ ├── design.md ← Master design (architecture overview)
│ ├── features/ ← Feature-level documentation
│ │ ├── {feature-name}/
│ │ │ ├── requirements.md
│ │ │ └── design.md
│ │ └── ...
│ ├── issues/ ← Issue tracking
│ │ ├── ISSUES.md ← Issue index (all issues listed here)
│ │ ├── ISS-001/ ← Per-issue workspace (requirements, design, etc.)
│ │ └── ...
│ ├── reviews/ ← Review findings (auto-generated)
│ │ └── {doc-name}-review.md
│ └── rituals/ ← Ritual state files (auto-generated)
│ └── {id}.json
├── src/ ← Source code
├── tests/ ← Tests
└── ...
Ask potato (if not obvious from context):
/Users/potato/rustclaw/projects/{name}//Users/potato/clawd/projects/{name}/⚠️ Never create a project root inside another project's .gid/.
mkdir -p {project_root}
cd {project_root}
For Rust projects:
cargo init {project_root}
For other languages, just create the directory.
cd {project_root}
gid init
This creates .gid/graph.yml with project metadata. gid init only creates the graph file — the rest of the structure is our responsibility.
cd {project_root}
mkdir -p .gid/features
mkdir -p .gid/issues
mkdir -p .gid/reviews
mkdir -p .gid/rituals
cat > .gid/issues/ISSUES.md << 'EOF'
# Issues: {Project Name}
> 项目使用过程中发现的 bug、改进点和待办事项。
> 格式: ISS-{NNN} [{type}] [{priority}] [{status}]
---
*(No issues yet)*
EOF
If the project doesn't have .git/:
cd {project_root}
git init
Add .gid/rituals/ and .gid/reviews/ to .gitignore (auto-generated, not worth tracking):
echo ".gid/rituals/" >> .gitignore
echo ".gid/reviews/" >> .gitignore
Keep everything else in .gid/ tracked:
graph.yml — project structurefeatures/ — requirements & design docsissues/ — issue trackingconfig.yml — GID configengram_store(type=factual, importance=0.5,
content="New project initialized: {name} at {path}. Language: {lang}. Purpose: {brief}")
✅ Project initialized: {name}
📂 Location: {project_root}/
📊 Graph: .gid/graph.yml
📋 Issues: .gid/issues/ISSUES.md
📁 Features: .gid/features/ (empty, ready for requirements & design)
Next steps:
1. Write requirements → .gid/requirements.md (or .gid/features/{feat}/requirements.md)
2. Write design → .gid/design.md (or .gid/features/{feat}/design.md)
3. Generate graph → gid_design
4. Start building → gid_tasks
When adding features to an initialized project:
.gid/features/{feature-name}/
├── requirements.md ← WHAT this feature does (GOALs)
└── design.md ← HOW this feature is built (components, data flow)
Naming rules:
core-engine, data-loading)Master documents (project-level) go directly in .gid/:
.gid/requirements.md — master requirements (GUARDs, feature index, cross-cutting concerns).gid/design.md — master design (architecture overview, cross-cutting patterns)For codebases that already exist but don't have .gid/:
gid init to create graphgid_extract on src/ to build code-level graph nodesgid init is just the graph. Always follow up with directory creation..gid/. Never nest .gid/ directories..gid/ in git (except rituals/ and reviews/).