npx claudepluginhub 15195999826/lomomarketplace --plugin dev-helper## Your task Initialize dev-helper development environment in the current project. ## Execution Flow ### Step 1: Run initialization script Execute the Python script to check Git and copy templates: **If Git is not initialized** → Stop and inform user to run `git init` first. **If successful** → The script will copy templates to: - `.claude/commands/` (update-arch, session-summary, whats-next, track-module) - `.claude/skills/exploring-project/` (SKILL.md, references/) - `project-notes/` ### Step 2: Handle CLAUDE.md Check if `CLAUDE.md` exists using Glob. **If not exists**: Create ...
/dev-setupInitializes Claude Code infrastructure in a project directory, creating AI skills, hooks, settings, MASTER_PLAN.md template, and CLAUDE.md guidance. Supports path and --minimal flag.
/initAnalyzes codebase at given path and generates CLAUDE.md with project conventions, architecture, build commands, and patterns.
/init-projectInitializes project by interactively generating CLAUDE.md (overview, stack, structure), spec.md (feature specs), and prompt_plan.md (phased implementation plan). Auto-detects tech stack; supports [name] [--type next|vite|go|python|rust].
/initialize-projectInitializes or updates Claude project setup with coding guardrails for new/existing projects, validates bootstrap, detects state, and auto-analyzes codebases.
/setupRuns interactive setup wizard: installs plugin files from GitHub, creates .env config, analyzes tech stack, generates PROJECT.md, configures hooks.
/init-projectScans current codebase to auto-generate project-level CLAUDE.md with detected stack, conventions, domain context, team rules, and clarifying questions.
Share bugs, ideas, or general feedback.
Initialize dev-helper development environment in the current project.
Execute the Python script to check Git and copy templates:
python "${CLAUDE_PLUGIN_ROOT}/scripts/init_project.py" .
If Git is not initialized → Stop and inform user to run git init first.
If successful → The script will copy templates to:
.claude/commands/ (update-arch, session-summary, whats-next, track-module).claude/skills/exploring-project/ (SKILL.md, references/)project-notes/Check if CLAUDE.md exists using Glob.
If not exists: Create new file with Dev Helper section.
If exists:
## Dev Helper section existsContent to add:
## Dev Helper
本项目使用 dev-helper 进行项目管理。
### 必须激活的 Skill
探索项目时必须激活:`skill:exploring-project`
### 可用命令
| 命令 | 说明 |
|------|------|
| `/update-arch` | 更新项目架构文档 |
| `/session-summary [主题]` | 总结当前对话 |
| `/whats-next` | 查看待办事项和工作建议 |
| `/track-module <模块名>` | 追踪复杂模块 |
python "${CLAUDE_PLUGIN_ROOT}/scripts/validate_init.py" .
If validation fails, fix the reported issues before proceeding.
Perform a comprehensive project exploration:
Get directory structure
Use Glob tool with pattern **/* to explore the project structure.
Filter out common ignored directories (node_modules, .git, dist, build, etc.).
Limit to first 3 levels for readability in documentation.
Identify tech stack
package.json, Cargo.toml, pyproject.toml, etc.README.md if existsGenerate references/overview.md
# Project Overview
## Project Name
[name from config]
## Description
[from README or config]
## Tech Stack
- Language: [...]
- Framework: [...]
- Build tools: [...]
## Key Dependencies
| Package | Purpose |
|---------|---------|
## Entry Points
- `src/index.ts` - [description]
Generate references/directory.md
# Directory Structure
## Overview
[directory structure from Glob, simplified]
## Key Directories
| Directory | Purpose |
|-----------|---------|
Update SKILL.md body
Analyze the codebase and identify potential core modules for tracking.
Criteria for core modules:
Present candidates to user:
Use AskUserQuestion tool to ask:
Based on analysis, these modules might benefit from detailed tracking:
1. [module-a] - path/to/module-a/
Description: [brief description]
2. [module-b] - path/to/module-b/
Description: [brief description]
Which modules would you like to track? (You can add more later with /track-module)
Options:
For each selected module, use the create_module.py script:
python "${CLAUDE_PLUGIN_ROOT}/scripts/create_module.py" . {module-name} \
--description "{description}" \
--paths "{path1}" --paths "{path2}"
Example:
python "${CLAUDE_PLUGIN_ROOT}/scripts/create_module.py" . auth-system \
--description "用户认证模块" \
--paths "src/auth/" --paths "src/middleware/auth.ts"
This creates references/module_{module-name}.md with standardized template.
Then explore the module code and fill each SECTION:
Use Edit tool to update each section in the module file.
After generating all documents, run the sync script to update SKILL.md:
git rev-parse HEAD
python "${CLAUDE_PLUGIN_ROOT}/scripts/sync_skill.py" . --commit {HEAD_COMMIT}
This will automatically:
✅ dev-helper 初始化完成!
📁 Created structure:
- .claude/skills/exploring-project/SKILL.md
- .claude/skills/exploring-project/references/overview.md
- .claude/skills/exploring-project/references/directory.md
- .claude/commands/update-arch.md
- .claude/commands/session-summary.md
- .claude/commands/whats-next.md
- .claude/commands/track-module.md
- project-notes/
- CLAUDE.md [created/updated]
📊 Tracked modules: [N modules]
- [module-name] → references/module_{module-name}.md
🔗 Last tracked commit: [commit hash]
📌 Next steps:
- Run `/update-arch` anytime to update architecture docs
- Run `/track-module <name>` to add more modules to track
- Run `/session-summary` before ending a session
/update-archcreate_module.py script to ensure consistent module file format