본문으로 건너뛰기
cccskills
무료GitHub에 공개

project-stage-detection

Detect project maturity stage (new/early/mid/mature) from file structure and route to appropriate onboarding workflow

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(10)

  • SKILL.md6.0 KB
  • commands/project-stage-detection.md2.2 KB
  • hooks/post-execute.cjs1.5 KB
  • hooks/pre-execute.cjs1.7 KB
  • references/research-requirements.md6.0 KB
  • rules/project-stage-detection.md1.8 KB
  • schemas/input.schema.json959 B
  • schemas/output.schema.json1.8 KB
  • scripts/main.cjs5.2 KB
  • templates/implementation-template.md4.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Project Stage Detection

Purpose

Detect the maturity stage of a software project by analyzing its file structure, configuration files, documentation, and test coverage. Route to the appropriate onboarding or initialization workflow based on the detected stage.

When to Invoke

Skill({ skill: 'project-stage-detection' });

Invoke when:

  • Starting work on an unfamiliar repository
  • Onboarding a new project into agent-studio
  • Determining which workflow to apply (bootstrap vs. enhance vs. optimize)
  • Assessing project health at session start
  • The planner needs context about project maturity before decomposing tasks

Stage Definitions

StageDescriptionIndicators
newFreshly initialized, no meaningful contentOnly boilerplate files, no src/
earlyHas core structure but missing key componentssrc/ exists, no tests or CI
midFunctional codebase, gaps in quality infrastructureTests exist, no CI/CD or sparse docs
matureFull-featured with CI/CD, tests, docs, lintingAll quality gates present

Workflow

Step 1: Collect File Structure Evidence

Command:

node .claude/skills/project-stage-detection/scripts/main.cjs --dir <project_root>

Expected output: JSON with stage, confidence, indicators, and recommendations.

Verify: Exit code 0 and valid JSON with a stage field.

Step 2: Evaluate Stage Indicators

The script checks for these indicators, scoring each:

IndicatorWeightChecked Path(s)
Source directory existsHIGHsrc/, lib/, app/
Tests existHIGHtests/, test/, spec/, __tests__/
CI/CD pipeline configuredHIGH.github/workflows/, .gitlab-ci.yml
Package.json / pyproject.tomlMEDpackage.json, pyproject.toml
README exists and non-trivialMEDREADME.md (>500 bytes)
Linting configuredMED.eslintrc*, .ruff.toml, pylintrc
Documentation directoryLOWdocs/, .claude/docs/
Changelog presentLOWCHANGELOG.md, CHANGELOG.rst
Dependencies lockedLOWpackage-lock.json, pnpm-lock.yaml

Step 3: Compute Stage Score

Score RangeStage
0–2new
3–5early
6–7mid
8–9mature

Command to verify score:

node .claude/skills/project-stage-detection/scripts/main.cjs --dir . --json | node -e "const d=require('fs').readFileSync('/dev/stdin','utf8');const r=JSON.parse(d);console.log('Stage:',r.stage,'Score:',r.score,'Confidence:',r.confidence)"

Step 4: Route to Appropriate Workflow

Based on the detected stage:

StageRecommended Action
newInvoke project-onboarding skill to bootstrap
earlyInvoke gap-detection to find missing infrastructure
midInvoke gap-detection then proactive-audit
matureInvoke gap-detection as health check only

Routing command:

// After detection
if (result.stage === 'new') {
  Skill({ skill: 'project-onboarding' });
} else {
  Skill({ skill: 'gap-detection' });
}

Step 5: Write Detection Report

Output location: .claude/context/reports/backend/project-stage-report-YYYY-MM-DD.md

Report format:

# Project Stage Detection Report

**Date:** {{date}}
**Project:** {{project_root}}
**Detected Stage:** {{stage}}
**Confidence:** {{confidence}}%

## Evidence

{{indicators_table}}

## Recommendations

{{recommendations_list}}

Output Schema

See schemas/output.schema.json for the full structured output contract.

Enforcement Hooks

Input validated against schemas/input.schema.json before execution. Output contract defined in schemas/output.schema.json.

Assigned Agents

  • planner — uses on task start to calibrate workflow complexity
  • architect — uses for brownfield assessment before redesign
  • developer — uses to determine onboarding steps for new repos
  • master-orchestrator — uses to route to correct initialization workflow

Memory Protocol

Before starting:

Read .claude/context/memory/learnings.md for any previously detected stage for this project. If the stage was recently detected (within 7 days), skip re-detection and use cached result.

After completing:

Append to .claude/context/memory/learnings.md:

## Project Stage Detection — {{date}}

- Project: {{project_root}}
- Stage: {{stage}} (confidence: {{confidence}}%)
- Key gaps: {{gap_summary}}
- Recommended next action: {{next_action}}

Anti-Patterns

  • Never hard-code stage thresholds — always compute from indicators.
  • Never report mature for a project with no tests — tests are a required mature indicator.
  • Never run detection on .claude/ subdirectories — scan the project root only.
  • Never block on missing files — handle gracefully with existsSync checks.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Ensure accessibility in UI components including semantic HTML, ARIA attributes, keyboard navigation, and WCAG 2.2 AA compliance.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

oimiragieo/agent-studio422026년 7월 14일 업데이트

Use when you want to improve response quality through meta-cognitive reasoning. Applies 15+ reasoning methods to reconsider and refine initial outputs.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

oimiragieo/agent-studio422026년 7월 14일 업데이트

N-round opposing-stance debates for trade-off analysis. Assigns pro/con roles to agents, runs structured debate rounds with quality scoring, and produces a moderator synthesis with confidence-rated recommendation. Generalizable to architecture, technology, security, and design decisions.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

oimiragieo/agent-studio422026년 7월 14일 업데이트

Force adversarial code review stance that eliminates confirmation bias — reviewer must find issues or re-analyze

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

oimiragieo/agent-studio422026년 7월 14일 업데이트

Creates specialized AI agents on-demand when no existing agent matches a request. Use when the Router cannot find a suitable agent for a task. Enables self-evolution by generating persistent agents.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

oimiragieo/agent-studio422026년 7월 14일 업데이트

LLM-as-judge evaluation framework with 5-dimension rubric (accuracy, groundedness, coherence, completeness, helpfulness) for scoring AI-generated content quality with weighted composite scores and evidence citations

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

oimiragieo/agent-studio422026년 7월 14일 업데이트

oimiragieo의 스킬 모두 보기

이 스킬의 문제 신고