원클릭으로
analyze
Codebase analysis workflow — discover, categorize findings, create tasks, and implement fixes
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Codebase analysis workflow — discover, categorize findings, create tasks, and implement fixes
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | analyze |
| description | Codebase analysis workflow — discover, categorize findings, create tasks, and implement fixes |
| disable-model-invocation | true |
This skill provides a complete analysis workflow for existing codebases. It is organized into stages that can be used independently or as a sequential pipeline.
Usage: Invoke /analyze and specify which stage to run, or start from Stage 1 for a full discovery workflow. Provide {project} and optionally {subproject} as context.
Purpose: Perform discovery analysis of existing codebase to:
This is reconnaissance work - not goal-oriented development.
Analyze the following existing codebase and document your findings. We want this to not only assist ourselves in updating and maintaining the codebase, but also to assist humans who may be working on the project.
user/analysis/nnn-analysis.{topic}.md where:
We need to process the artifacts from our recent code analysis.
Role: Senior AI, processing analysis results into actionable items Context: Analysis has been completed on {project} (optionally {subproject}) and findings need to be converted into proper maintenance tasks, code review issues, or GitHub issues as appropriate.
Notes:
Categorize Findings:
Create File and Document by Priority:
analysis/nnn-analysis.{project-name}{.subproject?}.md where nnn starts at 940 (analysis range).File Creation Rules:
file-naming-conventions.mdGitHub Integration (if available):
bug, critical, technical-debt, analysisConvert analysis findings into granular, actionable tasks.
We're working in our guide.ai-project.process, Phase 5: Slice Task Breakdown. Convert the issues from {analysis-file} into granular, actionable tasks if they are not already. Keep them in priority order (P0/P1/P2/P3).
If the tasks are already sufficiently granular and in checklist format, you do not need to modify them. Note that each success criteria needs a checkbox.
Your role is Senior AI. Use the specified analysis document user/analysis/nnn-analysis.{project-name}{.subproject?}.md as input. Note that subproject is optional (hence the ?). Avoid adding extra . characters to filename if subproject is not present.
Create task file at user/tasks/nnn-analysis{.subproject?}-{date}.md with:
For each {tool} in use, consult knowledge in ai-project-guide/tool-guides/{tool}/. Follow all task creation guidelines from the Process Guide.
Each task must be completable by a junior AI with clear success criteria. If insufficient information is available, stop and request clarifying information.
This is a project planning task, not a coding task.
This stage is rarely needed. Normally, analysis findings should be addressed using the standard architectural component → slice plan → slices methodology. Use this only when a focused low-level design is needed for a specific analysis finding.
We need to create a Low-Level Design (LLD) for {component} identified during codebase analysis or task planning in project {project}. It may be an expansion of an initial task section identified during analysis.
Your role is Architect as described in the Process Guide. This LLD will bridge the gap between high-level understanding and implementable tasks.
user/analysis/nnn-analysis.{project-name}{.subproject or analysis topic?} (or specify location)user/tasks/nnn-analysis{.subproject?}-{date}.md (if exists)Create LLD document at: user/slices/nnn-slice.{slice-name}.md
Required YAML front matter:
---
layer: project
docType: slice-design
slice: {slice-name}
project: {project}
triggeredBy: analysis|task-breakdown|architecture-review
sourceDocument: {path-to-analysis-or-task-file}
dependencies: [list-any-prerequisites]
affects: [list-components-or-slices-impacted]
complexity: low|medium|high
dateCreated: YYYYMMDD
dateUpdated: YYYYMMDD
status: not_started
---
Cross-Reference Requirements:
Focus Areas:
If you need more context about the analysis findings or existing system architecture, stop and request from Project Manager.
Note: This creates implementation-ready technical designs, not high-level planning documents.
Execute tasks created from analysis findings.
We are working on the analysis file {analysis} in project {project}, phase 6 of ai-project-guide/project-guides/guide.ai-project.process.
Your role is "Senior AI". Your job is to complete the tasks in the user/tasks/nnn-analysis-{topic}.md file. Please work through the tasks, following the guidelines in our project guides, and using the rules in the rules/ directory.
The analysis overview is available at {analysis} for additional context.
STOP and confer with Project Manager after each task, unless directed otherwise by the Project Manager. Do not update any progress files until confirmation from Project Manager.
Work carefully and ensure that each task is verified complete before proceeding to the next. If an attempted solution does not work or you find reason to try another approach, do not make more than three attempts without stopping and obtaining confirmation from Project Manager.
Check off completed tasks in the task file when verified complete. When all tasks are complete, proceed to Phase 7 (integration) with Project Manager approval.
Notes: