aep
AEP Skill - Analyse, Explore, Plan
This skill defines the methodology for thorough analysis and planning before any development work. It conditions all future context and decisions.
Overview
AEP is a three-phase workflow designed to ensure deep understanding before implementation:
- Analyse - Understand what the user really needs
- Explore - Investigate the codebase thoroughly
- Plan - Create a detailed implementation strategy
Phase 1: ANALYSE
Deeply analyze the user's request by answering these questions:
Core Understanding
- What is the core problem or need?
- What are the implicit requirements not explicitly stated?
- What constraints can be inferred from the context?
- What is the expected outcome or deliverable?
Intent vs Literal
Think carefully about what the user really wants vs what they literally said. Often the literal request is a symptom of a deeper need.
Success Criteria
- How will we know the implementation is successful?
- What are the acceptance criteria?
Phase 2: EXPLORE
Launch up to 3 Explore agents IN PARALLEL to thoroughly investigate the codebase:
Agent 1: Existing Implementation
Search for:
- Similar patterns already in the codebase
- Related code that might be affected
- Existing solutions that could be reused or extended
- Code that does something similar we can learn from
Tools: Glob, Grep, Read
Agent 2: Dependencies & Architecture
Understand:
- How this fits in the current architecture
- What dependencies exist (imports, services, modules)
- What will be impacted by changes
- Architectural constraints or patterns to follow
Tools: Glob, Grep, Read
Agent 3: Test Patterns
Find:
- How similar features are tested
- Existing test utilities or helpers
- Test coverage expectations
- Integration vs unit test patterns used
Tools: Glob, Grep, Read
Exploration Rules
- Use tools extensively - Read more code than you think necessary
- Follow the breadcrumbs - One file often leads to another
- Check documentation - README, docs/, comments in code
- Look at recent changes -
git logcan reveal context - Thoroughness > Speed - This phase conditions everything
Phase 3: CLARIFY
Based on analysis and exploration, identify and ask about:
Must-Clarify (blockers)
- Ambiguities that could lead to wrong implementation
- Technical choices that require user decision
- Scope boundaries that are unclear
- Conflicting requirements
Should-Clarify (important)
- Priority between competing approaches
- Performance vs simplicity trade-offs
- Edge cases handling preferences
Rule
Do NOT proceed to planning if you have unresolved questions that could lead to wrong implementation.
Ask questions using clear, specific language. Propose options when possible.
Phase 4: PLAN
IMPORTANT: Before creating the plan, read and apply the Architect skill from ~/.claude/skills/architect/SKILL.md.
The Architect skill provides:
- Phase design checklists (scope, files, dependencies, validation, rollback)
- Plan-level checklists (completeness, ordering, testing, risks)
- Universal patterns (feature flags, strangler fig, safe migrations)
- Anti-patterns to avoid (big bang phases, hidden dependencies, etc.)
Apply Architect Guidelines
- Read the Architect skill to internalize the principles
- Design phases following the atomic phase rules (max 3 files, single goal)
- Order by risk (infrastructure first, migrations last)
- Run checklists on each phase before finalizing
- Document architectural decisions when non-obvious choices are made
Plan Structure
Create a detailed implementation plan with:
Context
- Summary of what you understood
- Key findings from exploration
- Assumptions made (if any)
Architectural Decisions (if applicable)
- Non-obvious technical choices
- Options considered and rationale
- Consequences for implementation
Approach
- Chosen technical approach
- Justification for the approach
- Alternatives considered and why rejected
Implementation Phases
For each phase, include:
- Goal: Single, clear objective
- Files: Explicit paths (max 3 per phase)
- Dependencies: What must be done before
- Validation: Concrete command or check
- Commit message: Conventional format
Risks & Mitigations
- What could go wrong
- How to handle each risk
- Fallback strategies
Testing Strategy
- How to validate the implementation
- What tests to write/modify
- Manual verification steps if needed
Output Language
ALL OUTPUT MUST BE IN FRENCH - Questions, analysis, plan, everything communicated to the user must be written in French.
Critical Rules
- NEVER rush through exploration - This phase conditions everything
- ALWAYS ask questions if something is unclear
- PREFER reading more code than making assumptions
- THINK deeply about edge cases and implications
- DOCUMENT your reasoning for future reference
- Use parallel agents for exploration efficiency
Thinking Mode
ULTRATHINK - Use maximum reasoning tokens for this workflow.
This methodology requires deep analysis. Allocate maximum thinking capacity to:
- Thoroughly analyze the request and its implications
- Consider all edge cases and architectural impacts
- Evaluate multiple approaches before choosing one
- Anticipate potential issues and their mitigations
More from nicolas-codemate/claudecodeconfig
architect
Software architecture skill for designing high-quality implementation plans. Provides universal patterns, quality checklists, and architectural guidelines. Use during planning phase to ensure plans are well-structured, atomic, and follow best practices.
25pr-info
>-
1mentor-workflow
Coaching workflow orchestrator. Guides the developer through implementation without writing code.
1create-pr
>-
1analyze-ticket
Skill for analyzing ticket complexity and determining required workflow phases. Uses scoring system to classify tickets as SIMPLE, MEDIUM, or COMPLEX, which determines exploration depth and planning approach.
1mcp-tool-creator
>-
1