aw-planner
Analyze the current repo deeply and suggest agentic workflows tailored to its architecture, patterns, and pain points. Use when user calls /aw-planner.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze the current repo deeply and suggest agentic workflows tailored to its architecture, patterns, and pain points. Use when user calls /aw-planner.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
This skill should be used when the user asks to "onboard", "analyze this repo", "understand this codebase", "familiarize yourself", "what is this project", or needs to deeply understand a codebase's architecture, patterns, and conventions before starting work.
Read a GitHub issue with all comments and linked content to add as working context. Use when the user provides a GitHub issue URL or reference.
Generate a comprehensive manual testing guide for completed work, with note sections for user feedback that the agent reviews afterward. Use when the user wants to manually test changes before shipping.
Review PR comments, validate which are actionable and correct, and propose fixes for valid ones. Use when user wants to address feedback on a pull request.
Convert Markdown text to Zendesk-compatible HTML. Use when user needs to format content for Zendesk tickets, macros, triggers, or automations.
Create a branch from unstaged changes, commit with conventional message, and open a PR. Use when user wants to quickly ship current work.
| name | aw-planner |
| description | Analyze the current repo deeply and suggest agentic workflows tailored to its architecture, patterns, and pain points. Use when user calls /aw-planner. |
Deep-analyze the current repository and recommend agentic workflows that would provide the most value — automating repetitive tasks, enforcing quality gates, and accelerating development.
Spawn 4 parallel subagents (subagent_type: "Explore") to analyze the repo simultaneously:
Agent 1: Stack & Architecture
Prompt: "Analyze this codebase deeply. Find:
1. Languages, frameworks, and major dependencies
2. Architecture style (monolith, microservices, monorepo, library)
3. Module/package boundaries and how they interact
4. Entry points, API surfaces, and public interfaces
5. Database/storage layer and data access patterns
6. Configuration management approach
Return a detailed summary with file paths as evidence."
Agent 2: Development Workflow & Tooling
Prompt: "Map the full development workflow:
1. Build system and commands (Makefile, package.json scripts, etc.)
2. Test framework, test structure, and how tests are run
3. CI/CD pipeline (.github/workflows, Jenkinsfile, etc.)
4. Linting, formatting, and static analysis tools
5. Deployment process (Docker, k8s, serverless, etc.)
6. Environment management (.env, docker-compose, etc.)
7. Git workflow (branching strategy, PR templates, commit conventions)
Return a detailed summary with file paths as evidence."
Agent 3: Code Quality & Pain Points
Prompt: "Identify code quality signals and pain points:
1. Test coverage gaps — modules with no tests or minimal coverage
2. Error handling patterns — consistent or inconsistent?
3. Code duplication — repeated patterns across files
4. Large files (>500 lines) or complex functions (>50 lines)
5. Missing or outdated documentation
6. Security patterns — auth, input validation, secret management
7. TODOs, FIXMEs, and HACKs in the codebase
8. Dependency health — outdated, deprecated, or vulnerable packages
Return findings with specific file paths and line numbers."
Agent 4: Patterns & Conventions
Prompt: "Identify established patterns and conventions:
1. Naming conventions (files, functions, variables, classes)
2. Import/export organization
3. State management approach (if applicable)
4. Logging and observability patterns
5. API design patterns (REST, GraphQL, RPC conventions)
6. Existing automation — scripts, hooks, generators
7. Any CLAUDE.md, CONTRIBUTING.md, or codestyle docs
Return a summary with examples from the code."
Combine all subagent results into a unified understanding:
For each recommended workflow, evaluate fit against this criteria:
| Criteria | Weight |
|---|---|
| Pain point severity (how much time/risk it eliminates) | High |
| Implementation effort (quick win vs. major investment) | High |
| Stack compatibility (works with existing tools) | Medium |
| Existing coverage (not duplicating what's already automated) | Medium |
Assess each category and only recommend workflows where there's a genuine gap:
Build & Deploy
Code Quality
Testing
Development Velocity
Observability & Operations
Custom / Project-Specific
Rank recommendations by impact and feasibility:
Write the recommendations to AGENTIC_WORKFLOWS.md in the repo root.
Present recommendations both in conversation and in the file:
# Agentic Workflow Recommendations
**Repository**: {name}
**Stack**: {languages, frameworks}
**Analysis Date**: {YYYY-MM-DD}
---
## Current State
### What's Already Automated
- {existing automation 1}
- {existing automation 2}
### Key Pain Points Identified
- {pain point 1 — with evidence}
- {pain point 2 — with evidence}
---
## Recommended Workflows
### Quick Wins
#### 1. {Workflow Name}
**Category**: {Build & Deploy | Code Quality | Testing | Dev Velocity | Ops | Custom}
**Pain Point**: {what problem this solves}
**Impact**: {High | Medium | Low}
**Effort**: {Hours | Days | Weeks}
**What it does**:
{2-3 sentence description of the workflow}
**Implementation sketch**:
{Concrete steps, tools, or agent configurations to implement this}
**Example trigger**:
> "{What a user would say to invoke this workflow}"
---
(repeat for each recommendation, grouped by priority tier)
---
### Strategic
#### N. {Workflow Name}
(same format)
---
### Nice to Have
#### N. {Workflow Name}
(same format)
---
## Implementation Roadmap
| Priority | Workflow | Effort | Dependencies |
|----------|----------|--------|--------------|
| 1 | {name} | {effort} | {any prereqs} |
| 2 | {name} | {effort} | {any prereqs} |
| ... | ... | ... | ... |