Skip to content
cccskills
FreePublished on GitHub

init-project

Inspect a project and create or update CLAUDE.md files that give an AI agent project context. Summarize architecture and shared rules at the root, document individual modules, and report diagrams, navigation links, and scanning gaps.

OriginalShow the original description

Initialize project AI context, generate/update root-level and module-level CLAUDE.md indexes

See how to install

Good for

  • Prepare project context for an AI agent
  • Document module interfaces and dependencies
  • Visualize project structure with Mermaid
  • Update documentation after project changes

Files included (1)

  • SKILL.md2.8 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Usage

/init-project <PROJECT_SUMMARY_OR_NAME>

Objective

Initialize project AI context using a mixed strategy of "concise at root + detailed at module level":

  • Generate/update CLAUDE.md at repository root (high-level vision, architecture overview, module index, global standards).
  • Generate/update local CLAUDE.md in identified module directories (interfaces, dependencies, entry points, tests, key files, etc.).
  • ✨ For improved readability, automatically generate Mermaid structure diagrams in the root CLAUDE.md and add navigation breadcrumbs to each module CLAUDE.md.

Orchestration Instructions

Step 1: Call the get-current-datetime sub-agent to obtain the current timestamp.

Step 2: Call the init-architect sub-agent once, with input:

  • project_summary: $ARGUMENTS
  • current_timestamp: (timestamp from step 1)

Execution Strategy (Agent adapts automatically, no user parameters needed)

  • Stage A: Repository Census (Lightweight) Quickly count files and directories, identify module roots (package.json, pyproject.toml, go.mod, apps/, packages/, services/*, etc.).
  • Stage B: Module Priority Scanning (Medium) For each module, perform targeted reading and sampling of "entry/interfaces/dependencies/tests/data models/quality tools".
  • Stage C: Deep Supplementation (As Needed) If repository is small or module scale is small, expand reading scope; if large, perform batch supplemental scanning on high-risk/high-value paths.
  • Coverage Measurement and Resumability Output "scanned files / estimated total files, covered module ratio, ignored/skipped reasons" and list "recommended next-step deep-dive sub-paths". When running /init-project repeatedly, perform incremental updates and breakpoint resumable scanning based on previous index.

Security and Boundaries

  • Only read/write documentation and indexes, do not modify source code.
  • Ignore common generated artifacts and binary large files by default.
  • Print "summary" in main dialog, write full content to repository.

Output Requirements

  • Print "Initialization Result Summary" in main dialog, including:
    • Whether root-level CLAUDE.md was created/updated, major section overview.
    • Number of identified modules and their path list.
    • Generation/update status of each module's CLAUDE.md.
    • ✨ Explicitly mention "Generated Mermaid structure diagram" and "Added navigation breadcrumbs for N modules".
    • Coverage and major gaps.
    • If not fully read: explain "why stopped here" and list recommended next steps (e.g., "suggest priority supplemental scanning: packages/auth/src/controllers").

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

bmad-init

FreeSummary

Set up or update BMad-Method V6 in a project, detect older installations, fix a known output folder issue, and adjust Git ignore rules, with guidance on what to do next.

  • Installing BMad-Method V6 in a project
  • Updating an existing V6 installation
  • Checking for an older V4 installation
UfoMiao/zcf6.1KUpdated Aug 31, 2026

bmad-init

FreeSummary

Install or update BMad-Method (V6) in a project after checking existing installations. The skill also fixes a known output-folder issue, updates Git ignore rules, and provides next steps for using the installed workflows.

  • Set up BMad-Method (V6) for Claude Code
  • Run a quick update on an existing V6 installation
  • Check for an older V4 installation before setup
UfoMiao/zcf6.1KUpdated Aug 31, 2026

feat

FreeSummary

Turn feature requests into documented plans, revise them through discussion, and carry out implementation with progress tracking. Frontend work includes checking for a UI design and arranging design work when needed.

  • Turning a feature idea into a development plan
  • Revising a plan after feedback
  • Implementing tasks from an agreed plan
UfoMiao/zcf6.1KUpdated Aug 31, 2026

feat

FreeSummary

Guide new feature work from requirements and planning through revisions and implementation. Create Markdown plans with acceptance criteria, track progress, and ensure frontend tasks have a UI design before development begins.

  • Turn a feature idea into an implementation plan
  • Revise a plan based on feedback
  • Start implementation from an agreed plan
UfoMiao/zcf6.1KUpdated Aug 31, 2026

Find merged or inactive Git branches, preview cleanup candidates, and delete selected branches after confirmation. Choose a comparison branch, protect important branches with configurable rules, and optionally include remote branches.

  • Previewing branch cleanup candidates
  • Removing branches already merged into a release branch
  • Finding branches with no recent commits
UfoMiao/zcf6.1KUpdated Aug 31, 2026

Find Git branches that have been merged or inactive for a chosen period. Preview cleanup candidates, exclude protected branches, and delete local or remote branches using a selected base branch and confirmation options.

  • Find merged branches to clean up
  • Review branches with no recent commits
  • Clean up branches merged into a release
UfoMiao/zcf6.1KUpdated Aug 31, 2026

See all skills by UfoMiao

Report a problem with this skill