This file provides guidance to Coding Agents/Assistants when working with code in this repository. It is meant as a universal way to help and guide AI/LLM Agents based on Agents.md.
- Audience: Platform Engineers, SREs, Security/QA Engineers, and AI Assistants operating on this repo.
- Scope: Azure-centric, cloud-native, spec-driven development for Internal Developer Platforms (IDPs).
- Golden rule: Specification first. No production-impacting change occurs without human approval.
This is an advanced Platform Engineering toolkit that implements comprehensive spec-driven development for building Internal Developer Platforms (IDPs). The repository provides a complete workflow system with specialized agent personas, automated quality gates, and continuous improvement capabilities for Azure environments.
This repository implements a complete spec-driven development methodology that transforms how platform engineering teams deliver value:
- Specification First: All work begins with clear, validated specifications.
- AI-Enhanced Workflows: Specialized AI agents guide each phase of development.
- Quality by Design: Automated quality gates ensure consistent excellence.
- Continuous Learning: Systematic capture and application of lessons learned.
- Data-Driven Optimization: Metrics and analytics drive continuous improvement.
- Specialized Chat Modes: Six role-based AI agents for different aspects of platform engineering
- Workflow Phase Commands: Seven-stage development lifecycle with AI guidance
- Agile Integration: Complete agile/scrum workflow with AI-assisted planning
- Quality Assurance: Automated quality gates and validation frameworks
- Continuous Improvement: Metrics, optimization, and learning systems
.platform-mode/
├── standards/ # Organizational standards and best practices
├── epics/ # Epic definitions with acceptance criteria
├── stories/ # User stories with detailed acceptance criteria
├── sprints/ # Sprint planning and execution artifacts
├── tasks/ # Granular task breakdowns and management
├── validation/ # Quality gates, test specs, and DoD checklists
├── retrospectives/ # Sprint retrospectives and improvement actions
├── workflows/ # Orchestrated command sequences
├── metrics/ # Performance dashboards and analytics
├── optimization/ # Process improvement recommendations
└── knowledge/ # Lessons learned and organizational knowledge
/discovery- User research, problem analysis, stakeholder interviews/analysis- Requirements gathering, constraint identification, validation/design- Architecture, system design, technology selection with ADRs/plan- Sprint planning, story breakdown, capacity planning/execute- Implementation with automated validation and quality gates/validate- Testing, acceptance criteria verification, production readiness/retrospect- Lessons learned, process improvement, team development
Switch to specialized modes for focused expertise:
- Product Manager Mode: Requirements gathering, stakeholder management, value prioritization
- Platform Architect Mode: System design, technology decisions, architectural governance
- DevOps Engineer Mode: Infrastructure automation, CI/CD, operational excellence
- Security Engineer Mode: Security architecture, compliance, threat modeling
- QA Engineer Mode: Testing strategies, quality assurance, validation frameworks
- Scrum Master Mode: Agile facilitation, impediment removal, team optimization
/epic- Create comprehensive epics with acceptance criteria and story breakdown/story- Generate detailed user stories with Given-When-Then acceptance criteria/sprint-plan- Comprehensive sprint planning with capacity and dependency management/estimate- AI-assisted story point estimation with confidence levels and rationale/definition-of-done- Generate DoD checklists for story, sprint, and release levels
/task-breakdown- Decompose stories into detailed implementation tasks/dependency-map- Visualize task dependencies with critical path analysis/progress-track- Real-time sprint progress monitoring with predictive insights/blockers- Identify and escalate impediments with resolution strategies
/spec-review- Comprehensive specification review for architectural compliance/acceptance-test- Generate test cases from acceptance criteria with automation guidance/quality-gate- Create automated quality checkpoints with CI/CD integration/demo-prep- Prepare compelling sprint demos with stakeholder engagement
/metrics-dashboard- Team performance insights with predictive analytics/process-optimize- Data-driven workflow improvements with implementation roadmaps/lessons-learned- Systematic knowledge capture and organizational learning
/terraform- Design and implement infrastructure as code following platform engineering best practices
- Discovery Phase: Use
/discoveryto understand user needs and problem space - Analysis Phase: Use
/analysisto gather detailed requirements and constraints - Design Phase: Use
/designto create architecture and technical specifications - Planning Phase: Use
/planto create sprint plans and story breakdowns - Execution Phase: Use
/executewith quality gates for implementation - Validation Phase: Use
/validateand/acceptance-testfor comprehensive testing - Retrospection Phase: Use
/retrospectand/lessons-learnedfor continuous improvement
- Epic Creation: Use
/epicto define large initiatives with clear business value - Story Development: Use
/storyfor detailed user stories with acceptance criteria - Sprint Planning: Use
/sprint-planfor capacity planning and commitment - Task Management: Use
/task-breakdownand/dependency-mapfor detailed execution - Progress Monitoring: Use
/progress-trackand/blockersfor real-time insights - Sprint Demos: Use
/demo-prepfor stakeholder engagement - Improvement: Use
/retrospectfor team development and process optimization
- Specification Review: Use
/spec-reviewbefore implementation begins - Quality Gates: Use
/quality-gateto define automated quality checkpoints - Test Generation: Use
/acceptance-testto create comprehensive test suites - Definition of Done: Use
/definition-of-donefor consistent completion criteria
- Performance Analysis: Use
/metrics-dashboardfor team and process insights - Process Optimization: Use
/process-optimizefor systematic workflow improvements - Knowledge Management: Use
/lessons-learnedto capture and apply organizational learning
When creating Terraform modules:
- Follow file organization pattern:
00-variables.tf,01-main.tf,02-outputs.tf,locals.tf,data.tf,providers.tf,versions.tf - Use naming convention:
${var.environment}_${var.project}_${resource_type} - Always include comprehensive variable validation and descriptions
- Reference
.platform-mode/standards/terraform.mdfor complete coding standards - Critical: Always ask clarifying questions before writing Terraform code if requirements are ambiguous
- Store modules in
catalog/terraform_modules/%module_name%/directory
When working on platform engineering tasks, follow these core principles:
- Platform as Product: Treat platforms as products with clear user personas and feedback loops
- Self-Service Enablement: Enable self-service through golden paths and opinionated defaults
- Common Problem Focus: Focus on solving shared problems across development teams
- Cognitive Load Reduction: Reduce cognitive load through abstraction and consistent interfaces
- Build vs Buy: Leverage existing tools rather than building from scratch
- Developer Experience: Prioritize developer experience and productivity
- Progressive Disclosure: Design systems that are simple for beginners, powerful for experts
- Specialized Agents: Six role-based AI personas provide focused expertise for different aspects of platform engineering
- Predictive Analytics: AI-powered insights for sprint completion probability, risk assessment, and performance optimization
- Pattern Recognition: Automated identification of success patterns, failure patterns, and improvement opportunities
- Intelligent Recommendations: Context-aware suggestions for process improvements and optimization
- CI/CD Integration: Quality gates integrate with GitHub Actions, Azure DevOps, and other CI/CD platforms
- Metrics Integration: Dashboards connect to Jira, GitHub, SonarQube, and other development tools
- Knowledge Management: Lessons learned system builds searchable organizational knowledge base
- Workflow Orchestration: Commands can be chained together for complex, multi-step processes
- Automated Quality Gates: Configurable quality checkpoints with customizable thresholds
- Comprehensive Testing: Test case generation from acceptance criteria with automation guidance
- Specification Review: Systematic review process ensuring architectural compliance
- Definition of Done: Multi-level DoD (story, sprint, release, epic) for consistent quality
Teams using this spec-driven development system typically experience:
- 30-40% reduction in rework through better specifications
- Improved velocity through AI-assisted task breakdown and estimation
- Higher code quality with systematic validation and quality gates
- Better stakeholder alignment through structured workflows and demos
- Accelerated team development with role-based AI guidance
- Reduced cognitive load through automation and systematic processes
- Choose Your Role: Select the appropriate specialized agent mode for your current work
- Start with Discovery: Begin new initiatives with
/discoveryto understand the problem space - Follow the Workflow: Use the seven-phase workflow commands for systematic development
- Implement Quality Gates: Set up automated quality checkpoints for consistent excellence
- Measure and Improve: Use metrics and retrospectives for continuous optimization
- This repository implements a complete spec-driven development methodology for platform engineering
- The system supports Azure-based reference architectures and cloud-native workflows
- Six specialized AI agent personas provide role-based expertise and guidance
- Comprehensive quality gates ensure consistent excellence throughout development
- Systematic knowledge capture builds organizational learning capabilities
- Data-driven optimization enables continuous process improvement
- All workflows integrate with modern development tools and practices