协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
skill-089【开发与工程】Initialize long-running agent projects with environment setup, feature list generation, and progress tracking. Use when starting a new implementation project or setting up an existing codebase for Claude-assisted development. Creates init.sh (dev server script), claude-progress.txt (work log), and docs/features.json (feature list with status tracking…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Set up a project for long-running Claude agent implementation with environment scripts, feature tracking, and progress logging.
The Initializer works with three types of input:
Input: docs/ directory with Markdown specs
Output: Feature list extracted from specifications
Input: Project with package.json, src/, etc.
Output: Feature list inferred from code structure
Input: User description (e.g., "E-commerce site with user auth")
Output: Feature list generated from requirements
Determine input mode and gather information:
// Check for specification docs
const hasSpecs = await Glob("docs/**/*.md")
// Check for existing project
const hasProject = await Glob("{package.json,requirements.txt,go.mod,Cargo.toml}")
// Determine tech stack
const techStack = detectTechStack(hasProject)
Create docs/features.json with comprehensive feature tracking:
// See references/feature-list-format.md for schema
const features = {
project: { name: projectName, generatedAt: new Date() },
features: extractOrGenerateFeatures(input),
summary: { total: N, pending: N, ... }
}
Write("docs/features.json", JSON.stringify(features, null, 2))
Feature Granularity Guidelines:
Generate init.sh based on detected tech stack:
# Run the initialization script
python3 .claude/skills/spec2impl/initializer/scripts/init_project.py \
--tech-stack "${techStack}" \
--project-name "${projectName}"
See references/init-templates.md for tech-stack-specific templates.
Create claude-progress.txt for session tracking:
# Claude Progress Log
# Project: {project-name}
# Generated: {date}
## Current Session
- Started:
- Current Task:
## Completed Tasks
(none yet)
## Notes
| File | Purpose |
|---|---|
docs/features.json | Feature list with status tracking (pending/in_progress/completed/failed) |
init.sh | Development server startup script (chmod +x) |
claude-progress.txt | Work log for Claude sessions |
init_project.py - Generates init.sh and claude-progress.txt based on tech stackfeature-list-format.md - Schema and examples for features.jsoninit-templates.md - Tech-stack-specific templates for init.sh