A comprehensive collection of AI prompts designed for complete software development lifecycle management within the LerianStudio ecosystem.
This repository provides integrated systems that work together to support the entire software development lifecycle:
| System | Purpose | Workflow Type | Quick Start |
|---|---|---|---|
| Memory System | Cross-session learning & pattern recognition | Sequential (5 phases) | claude 0-memory-system/m0-memory-orchestrator.mdc |
| Product Development | Comprehensive planning from idea to implementation | Dynamic (4 phases, 2 checkpoints) | claude 1-pre-dev-product/0-pre-dev-orchestrator.mdc |
| Feature Development | Adaptive feature addition with complexity-based flow | Adaptive (4 phases, complexity-based) | claude 2-pre-dev-feature/0-feature-orchestrator.mdc |
| Frontend Development | Complete frontend development with flexible design inputs | Flexible (5 phases) | claude 3-frontend/0-frontend-orchestrator.mdc |
| Code Review | Streamlined 5-phase analysis with validation gates | Systematic (5 phases, 5 gates) | claude 4-code-review/0-review-orchestrator.mdc |
| Documentation Generation | Comprehensive documentation generation and distribution | Comprehensive (5 phases) | claude 5-generate-docs/0-docs-orchestrator.mdc |
- CLAUDE.md - Complete orchestrator architecture and execution patterns for AI assistants
- Memory Management README - Detailed memory system documentation
- Pre-Development README - Interactive planning workflow guide
- Frontend Development README - Complete frontend development workflow
- Code Review README - Systematic analysis documentation
- Documentation Generation README - Comprehensive documentation workflow guide
The Pre-Development Product workflow now uses AI confidence scoring to minimize user interaction:
High Confidence (80-100%):
- AI proceeds autonomously
- Notifies user of decisions
- User can intervene if needed
Medium Confidence (50-79%):
- AI presents 2-3 options
- User selects preferred approach
- AI refines based on selection
Low Confidence (<50%):
- AI requests specific guidance
- Presents gaps in understanding
- User provides targeted input- Memory MCP: Pattern recognition, knowledge persistence, cross-project learning
- Sequential Thinking MCP: Complex problem decomposition with iterative refinement
- Zen MCP Suite: Comprehensive analysis tools:
codereview: Deep code quality analysis with severity prioritizationanalyze: Architecture and pattern analysis across directoriesthinkdeep: Complex problem exploration and solution validationdebug: Root cause analysis with 1M token capacitychat: Collaborative thinking and validation
- Task Tool: Parallel search operations for maximum efficiency in pattern discovery
# Initialize memory context
claude 0-memory-system/m0-memory-orchestrator.mdc
# Plan the feature interactively
claude 1-pre-dev-product/0-pre-dev-orchestrator.mdc
# Analyze integration points with foundation analysis
claude 4-code-review/1-foundation-analysis.mdc# Design input analysis (any format: sketches, Figma, specs)
claude 3-frontend/1-design-input-analysis.mdc
# Complete frontend implementation
claude 3-frontend/0-frontend-orchestrator.mdc
# Validate with streamlined code review
claude 4-code-review/0-review-orchestrator.mdc# Full streamlined code review
claude 4-code-review/0-review-orchestrator.mdc
# Store findings
claude 0-memory-system/m4-memory-workflow.md# Comprehensive documentation suite
claude 5-generate-docs/0-docs-orchestrator.mdc
# Store documentation patterns
claude 0-memory-system/m4-memory-workflow.md# Security-focused analysis (phases 1, 2, and 5 only)
claude 4-code-review/1-foundation-analysis.mdc
claude 4-code-review/2-security-compliance.mdc
claude 4-code-review/5-production-readiness.mdcgraph LR
A[Memory Context] --> B[Pre-Development Planning]
B --> C[Frontend Development]
C --> D[Implementation]
D --> E[Code Review]
E --> F[Documentation Generation]
F --> G[Memory Storage]
G --> A
- Initialize: Start with memory context to leverage existing patterns
- Plan: Use pre-development for interactive requirements and design
- Frontend: Design and implement frontend with systematic precision
- Implement: Follow generated tasks and sub-tasks
- Review: Comprehensive code analysis and validation
- Document: Generate comprehensive documentation for all audiences
- Learn: Store insights back to memory for future projects
- Dynamic Phase Execution: Pre-Development now uses confidence-based execution with only 2 mandatory checkpoints
- Memory MCP Integration: Context retrieval, decision storage, pattern analysis across sessions
- Multi-Tool Integration: Sequential Thinking, Zen MCP, and Task tool for enhanced capabilities
- Cross-System Dependencies: Workflows feed into each other with validation gates
- Adaptive Complexity Assessment: Feature Development now includes Phase 0 complexity analysis
- Confidence-Based Interactions: AI decides when user input is needed based on confidence scores
- Structured Feedback Loops: Draft β User feedback β AI incorporation β Approval
- Minimal Interruption: From 6+ checkpoints down to just 2 in Pre-Development workflow
- Flexible Design Inputs: iPad sketches, Figma designs, written specs, reference apps
- Risk-Based Planning: Complex features get automatic risk assessment and mitigation strategies
- Deliverable-Focused Planning: Shifted from atomic tasks to complete deliverables (2-pre-dev-feature)
- Autonomous Refinement: AI works independently when confidence is high
- Parallel Processing: Multiple operations execute simultaneously for efficiency
- Adaptive Task Sizing: 2-8 hours based on complexity assessment
- Smart Validation: Consistency checks with auto-correction capabilities
- Priority-Based Todos: π΄ CRITICAL β π‘ HIGH β π’ MEDIUM β π΅ LOW organization
- Pattern Reuse: Automatic detection and application of similar solutions
docs/pre-development/
βββ prd-[feature].md # Product requirements
βββ trd-[feature].md # Technical specifications
βββ validation-report-[feature].md # Consistency validation
βββ tasks/
βββ tasks-[feature].md # Atomic phases
βββ MT-[XX]-[name]/ # Sub-task details
docs/code-review/
βββ review-summary.md # Executive summary
βββ 1-foundation-analysis.md # Technical foundation
βββ 2-security-compliance.md # Security findings
βββ 3-quality-operations.md # Quality assessment
βββ 4-business-documentation.md # Business alignment
βββ 5-production-readiness.md # Final validation
βββ code-review-todos.md # Consolidated action items
docs/documentation/
βββ documentation-audit.md # Discovery phase audit
βββ documentation-plan.md # Strategic planning
βββ validation-report.md # Quality validation
βββ distribution-strategy.md # Multi-channel distribution
βββ content/
βββ business/ # Product team docs
βββ technical/ # Developer docs
βββ integration/ # API consumer docs
βββ operations/ # DevOps docs
- Memory First: Always start with
memory_searchandmemory_get_contextbefore any workflow - Follow Phase Dependencies:
- Pre-Development: Discovery (conditional) β Strategic Decisionβ β Autonomous Refinement β Final Validationβ
- Feature Development: Phase 0 Complexity Assessment β Adaptive Brief (1-7 questions) β Technical Approachβ β Deliverable Planning β Test Strategy
- Code Review: Foundation β Gate 1β β Security β Gate 2β β Quality β Gate 3β β Business β Gate 4β β Production β Gate 5β
- Frontend: Designβ β Techβ β Architecture β Tasks β Validation
- Documentation: Discoveryβ β Planningβ β Generationβ β Validationβ β Distribution
- Leverage AI Autonomy: Let confidence scores guide interaction needs
- Use Tools Liberally:
- Zen MCP: Use specific tools (
codereview,analyze,thinkdeep,debug,chat) based on context - Task Tool: Always prefer for parallel searches and pattern discovery
- Zen MCP: Use specific tools (
- Store All Decisions: Use
memory_store_decisionfor architectural choices andmemory_store_chunkfor insights
- New Product: Memory β Pre-Development Product β Frontend β Code Review β Documentation β Memory
- Feature Enhancement: Memory β Pre-Development Feature β Implementation β Code Review β Documentation β Memory
- Existing Analysis: Memory β Code Review β Memory
- Documentation Focus: Memory β Documentation Generation β Distribution β Memory
- Security Focus: Memory β Code Review (phases 1,2,5) β Memory
This repository supports the broader LerianStudio ecosystem:
- Midaz Financial Ledger: Architecture and security analysis
- Plugin Ecosystem: Component analysis and integration patterns
- SDK Development: API design and documentation workflows
- Infrastructure: Observability and deployment analysis
# Use appropriate repository context
repository="github.com/lerianstudio/midaz"
repository="github.com/lerianstudio/midaz-private"
repository="github.com/lerianstudio/monorepo"- Consistency: Standardized workflows across all projects
- Quality: Comprehensive analysis at every stage with Zen MCP integration
- Learning: Continuous improvement through memory and pattern recognition
- Efficiency: Reuse patterns and decisions, deliverable-focused planning
- Collaboration: Clear user interaction points with adaptive complexity
- Tool Synergy: Zen MCP + Task Tool + Memory MCP work together for comprehensive analysis
- 70% Reduction in Interactions: Pre-Development workflow reduced from 6+ to 2 mandatory checkpoints
- Adaptive Complexity: Feature Development adjusts depth based on feature complexity (1-7 questions)
- Parallel Processing: Multiple analyses run simultaneously with Task Tool
- Pattern Reuse: Memory MCP enables >60% pattern reuse from similar projects
- Autonomous Refinement: AI works independently when confidence is high (>80%)
- Smart Validation: Auto-correction of minor issues without user intervention
- Tool-Powered Analysis: Zen MCP tools accelerate deep analysis by 5-10x
- Read CLAUDE.md First: Complete orchestrator architecture and execution patterns
- Choose Your Workflow:
- New project? Start with Pre-Development Product (4-phase dynamic, only 2 checkpoints!)
- Existing code? Begin with Code Review (5-phase streamlined with validation gates)
- Frontend focus? Use Frontend Development (5-phase flexible)
- Feature addition? Use Pre-Development Feature (4-phase adaptive with complexity assessment)
- Leverage Tools Strategically:
- Zen MCP: Choose the right tool for the task:
codereviewfor quality assessmentanalyzefor architecture reviewthinkdeepfor complex reasoningdebugfor troubleshooting (1M token capacity)chatfor collaborative validation
- Task Tool: Always use for parallel searches and pattern discovery
- Memory MCP: Start and end every workflow with memory operations
- Let confidence scores and complexity assessments guide your interactions
- Zen MCP: Choose the right tool for the task:
- Start with Orchestrators: Each system has a
0-*-orchestrator.mdcentry point - Follow Phase Dependencies: Respect mandatory checkpoints and user feedback loops
- Leverage Memory: Check context before starting, store learnings after completion
- Use Integration Patterns: Connect workflows for complete development lifecycle
# Complete new feature workflow with adaptive complexity
claude 0-memory-system/m0-memory-orchestrator.mdc
claude 2-pre-dev-feature/0-feature-orchestrator.mdc # Now with Phase 0 complexity assessment
claude 3-frontend/0-frontend-orchestrator.mdc
claude 4-code-review/0-review-orchestrator.mdc # Streamlined 5-phase with validation gates
claude 5-generate-docs/0-docs-orchestrator.mdc
# Quick feature addition with risk assessment
claude 2-pre-dev-feature/0-feature-orchestrator.mdc # Adapts to feature complexity
# Phase 0: Automatic complexity assessment
# Phases 1-4: Adjusted based on complexity (Simple/Medium/Complex)This project is part of the LerianStudio ecosystem. See the main repository for licensing information.
Part of the LerianStudio ecosystem - Building the future of financial technology with AI-assisted development.