AgentSkillsCN

init-project

使用规则、智能体、CLAUDE.md 及相关文档,为人工智能辅助开发初始化项目

SKILL.md
--- frontmatter
name: init-project
description: Initialize project for AI-assisted development with rules, agents, CLAUDE.md, and docs
argument-hint: "[existing|new]"

Project Initialization

Set up a project for AI-assisted development. Scans the project, plans appropriate artifacts with architect/critic review, then generates everything.

Execution

  1. Load protocol: Read agents/init-project.md for the full orchestration protocol. You execute it directly - do NOT spawn an init-project agent. The protocol spawns reviewers and ralph as subagents, which requires depth 0.
  2. Execute protocol: Follow the 4-phase protocol yourself (Scan → Plan → Execute → Report). Only reviewers and ralph are spawned as subagents.
  3. Verify output: Run Output Manifest check below
  4. Present results: Show the final report to the user

Output Manifest Verification (after Phase 3.5)

After ralph completes and Phase 3.5 verification passes, confirm these files exist with correct content. Missing files or failed content checks indicate protocol failure.

CategoryFileConditionContent Check
Hub.claude/CLAUDE.mdMust exist (created or pre-existing)Quality principle line present
Rules.claude/rules/agents.mdMust exist-
Rules.claude/rules/design-philosophy.mdMust exist-
Rules.claude/rules/validation.mdMust exist-
Rules.claude/rules/conventions.mdMust exist-
Rules.claude/rules/{domain-specific}.mdAt least 1 per detected domainpaths: frontmatter, no {placeholder} text
Agents.claude/agents/review-orchestrator.mdMust exist<Agent_Prompt> XML structure
Agents.claude/agents/code-critic.mdMust existRubric anchors (10/7/4/1)
Template.claude/templates/AGENT.mdMust exist-
Agents.claude/agents/{domain-specific}.mdPer plan<Agent_Prompt> XML structure
Docsdocs/ARCHITECTURE.mdIf generatedLayer diagram present
Docsdocs/DEV_GUIDE.mdIf generatedExact build/test commands
KB.claude/coral/kb/Directory must exist-
Git.gitignore contains Coral blockMust contain # Coral-

If any required file is missing or fails its content check, report it as an error.