This is Step 1 of the development cycle. Your only job here is to read and understand. Do not suggest changes, improvements, or implementations yet.
Purpose
Build full context of the project or relevant code before any planning begins. Skipping this step leads to plans based on assumptions rather than reality, which risks over-engineering and incorrect implementations.
What to Read
Determine scope based on what the user describes:
For a new feature or change:
CLAUDE.md or README.md for project overview and conventions
Files directly related to the area being changed
Test files associated with those files
Any config files relevant to the change (e.g., routes, schemas, env)
For a refactor or health check:
Full project file tree first (ls or equivalent)
All source files in scope
Existing test coverage
package.json for dependencies and scripts
Any existing TODOs or known issues in comments
Always read:
CLAUDE.md if it exists — this is the source of truth for project conventions
How to Proceed
Ask the user what they want to work on if not already clear
Read the relevant files silently — do not summarize each file as you go
Check for a git repository — run git status in the project root:
If it succeeds: note "Git repository: present" and record the current branch
If it fails (not a git repo): note "Git repository: not present" — this affects the planning and git steps later in the cycle
When done, provide a context summary covering:
Git Repository
Present or not present
If present: current branch name
Overview
What the relevant code currently does
How the files relate to each other
Hot Path Candidates(static analysis only — runtime profiling required to confirm)
Nested loops or recursion
Functions called from many locations
Large data transformations without pagination or batching
Synchronous operations that could block
Anything that grows with input size in a non-obvious way
Note clearly: these are candidates, not confirmed bottlenecks. Flag for runtime diagnostics if optimization is planned.
Concerns
Missing or weak tests
Unclear patterns or naming
Outdated comments
Anything that looks risky — flagged only, not fixed
Estimated Complexity
Low / Medium / High / Very High
Brief rationale (e.g., "Medium — isolated change to one module with good test coverage" or "High — touches auth flow, shared utilities, and has no integration tests")
If High or Very High, recommend breaking the work into smaller phases during planning
Test Baseline
Result of running npm test before any changes are made
Number of passing and failing tests
If tests are failing: list which ones and note clearly that these are pre-existing failures — they must not be confused with failures introduced during implementation
Run the test suite to establish the baseline:
npm test
If all tests pass: note the count and proceed
If any tests are failing: present them clearly to the user. Do not proceed to planning until the user explicitly acknowledges the pre-existing failures and confirms how to handle them. Options are: fix them before starting the session, note them as known failures to ignore during the test loop, or cancel the session.
Confirm with the user that context is sufficient before moving to planning
Hard Rules
Do not suggest any code changes during this step
Do not enter plan mode yet
Do not fix anything you notice — log it, flag it, move on
If something looks broken or risky, note it clearly so it surfaces in planning
Do not proceed to planning if tests are failing without explicit user acknowledgement — pre-existing failures corrupt the implementation test loop if not accounted for
Next Step
Once context is confirmed: proceed to dev-cycle-planning.
1---2name: dev-cycle-analysis3description: Development Cycle: Analysis4---56# Development Cycle: Analysis78This is **Step 1** of the development cycle. Your only job here is to read and understand. Do not suggest changes, improvements, or implementations yet.910## Purpose1112Build full context of the project or relevant code before any planning begins. Skipping this step leads to plans based on assumptions rather than reality, which risks over-engineering and incorrect implementations.1314## What to Read1516Determine scope based on what the user describes:1718**For a new feature or change:**19- `CLAUDE.md` or `README.md` for project overview and conventions20- Files directly related to the area being changed21- Test files associated with those files22- Any config files relevant to the change (e.g., routes, schemas, env)2324**For a refactor or health check:**25- Full project file tree first (`ls` or equivalent)26- All source files in scope27- Existing test coverage28- `package.json` for dependencies and scripts29- Any existing TODOs or known issues in comments3031**Always read:**32- `CLAUDE.md` if it exists — this is the source of truth for project conventions3334## How to Proceed35361. Ask the user what they want to work on if not already clear372. Read the relevant files silently — do not summarize each file as you go383. **Check for a git repository** — run `git status` in the project root:39 - If it succeeds: note "Git repository: present" and record the current branch40 - If it fails (not a git repo): note "Git repository: not present" — this affects the planning and git steps later in the cycle41424. When done, provide a context summary covering:4344 **Git Repository**45 - Present or not present46 - If present: current branch name4748 **Overview**49 - What the relevant code currently does50 - How the files relate to each other5152 **Hot Path Candidates** *(static analysis only — runtime profiling required to confirm)*53 - Nested loops or recursion54 - Functions called from many locations55 - Large data transformations without pagination or batching56 - Synchronous operations that could block57 - Anything that grows with input size in a non-obvious way58 - Note clearly: these are *candidates*, not confirmed bottlenecks. Flag for runtime diagnostics if optimization is planned.5960 **Concerns**61 - Missing or weak tests62 - Unclear patterns or naming63 - Outdated comments64 - Anything that looks risky — flagged only, not fixed6566 **Estimated Complexity**67 - Low / Medium / High / Very High68 - Brief rationale (e.g., "Medium — isolated change to one module with good test coverage" or "High — touches auth flow, shared utilities, and has no integration tests")69 - If High or Very High, recommend breaking the work into smaller phases during planning7071 **Test Baseline**72 - Result of running `npm test` before any changes are made73 - Number of passing and failing tests74 - If tests are failing: list which ones and note clearly that these are pre-existing failures — they must not be confused with failures introduced during implementation75765. **Run the test suite** to establish the baseline:7778 ```bash79 npm test80 ```8182 - If all tests pass: note the count and proceed83 - If any tests are failing: present them clearly to the user. Do not proceed to planning until the user explicitly acknowledges the pre-existing failures and confirms how to handle them. Options are: fix them before starting the session, note them as known failures to ignore during the test loop, or cancel the session.84856. Confirm with the user that context is sufficient before moving to planning8687## Hard Rules8889- **Do not suggest any code changes during this step**90- **Do not enter plan mode yet**91- **Do not fix anything you notice** — log it, flag it, move on92- If something looks broken or risky, note it clearly so it surfaces in planning93- **Do not proceed to planning if tests are failing** without explicit user acknowledgement — pre-existing failures corrupt the implementation test loop if not accounted for9495## Next Step9697Once context is confirmed: proceed to **dev-cycle-planning**.
Run npx skillmds@latest add jsas-xviii/dev-cycle-analysis in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Development Cycle: Analysis It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
jsas-XVIII (@jsas-xviii) published this skill. Their other Agent Skills are listed on their SkillMD profile.