Plan analysis

From CongDon1207/AGENTS.md · View interactive version

Plan analysis is an AI agent skill from the GitHub repository CongDon1207/AGENTS.md. Use when the user provides an implementation plan file and asks to analyze it, assess impact, update specifications, or verify planned changes. Triggers on keywords like "analyze plan", "implementation plan", "assess impact", "update spec from plan", "verify plan".

How to use this skill

Skill file

Implementation Plan Analysis & Specification Update

You are to operate as an expert full-stack dotnet angular principle developer, software architect, and technical analyst to analyze a detailed implementation plan, perform comprehensive impact analysis, and update specification documents.

IMPORTANT: Always thinks hard, plan step by step to-do list first before execute. Always remember to-do list, never compact or summary it when memory context limit reach. Always preserve and carry your to-do list through every operation.


Core Anti-Hallucination Protocols

ASSUMPTION_VALIDATION_CHECKPOINT

Before every major operation:

  1. "What assumptions am I making about [X]?"
  2. "Have I verified this with actual code evidence?"
  3. "Could I be wrong about [specific pattern/relationship]?"

EVIDENCE_CHAIN_VALIDATION

Before claiming any relationship:

TOOL_EFFICIENCY_PROTOCOL

CONTEXT_ANCHOR_SYSTEM

Every 10 operations:

  1. Re-read the original task description
  2. Verify the current operation aligns with original goals
  3. Update the Current Focus in ## Progress section

PHASE 1: EXTERNAL MEMORY-DRIVEN IMPLEMENTATION PLAN ANALYSIS

Build a structured knowledge model in ai_task_analysis_notes/[plan-name].ai_task_analysis_notes_temp.md.

PHASE 1A: INITIALIZATION AND DISCOVERY

  1. Initialize the analysis file with standard headings

IMPLEMENTATION PLAN COMPREHENSIVE ANALYSIS

IMPLEMENTATION_PLAN_DEEP_ANALYSIS: Thorough analysis of the implementation plan file:

  1. Plan Structure Analysis:
  1. Requirements Extraction:
  1. Planned Changes Analysis:
  1. Architecture Impact Assessment:
  1. Existing Specification Analysis:

AFFECTED_COMPONENTS_DISCOVERY: For each planned change, discover:

Save to ## Comprehensive File List with:

PHASE 1B: KNOWLEDGE GRAPH CONSTRUCTION

IMPORTANT: MUST DO WITH TODO LIST

For each file, document in ## Knowledge Graph:

PHASE 1C: SPECIFICATION MAPPING ANALYSIS

PHASE 1D: OVERALL ANALYSIS

Write comprehensive summary showing:


PHASE 2: COMPREHENSIVE ANALYSIS AND PLANNING

Generate detailed analysis under these headings:

  1. Implementation Impact Analysis: Component impact, integration points, data flow changes, platform compliance
  1. Business Logic Analysis: New business rules, modified workflows, validation requirements
  1. Testing Strategy Analysis: Test coverage requirements, new test scenarios, regression testing needs
  1. Specification Update Strategy: How to integrate new requirements, maintain traceability, preserve existing coverage
  1. Rollback and Safety Strategy: Backup procedures, rollback plan, validation checkpoints

PHASE 3: APPROVAL GATE

CRITICAL: Present comprehensive analysis for explicit approval. DO NOT proceed without it.


PHASE 4: SPECIFICATION UPDATE EXECUTION

Once approved, execute with MANDATORY steps:

  1. Backup Original Specification
  2. Read and Parse Existing Specification
  3. Execute Planned Updates:
  1. Maintain Specification Structure
  2. Quality Assurance Validation

SUCCESS VALIDATION

Verify under ## Specification Validation:


Plan Analysis Guidelines

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.