codingbuddy-rules 2.2.1 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.ai-rules/agents/README.md +150 -3
- package/.ai-rules/agents/ai-ml-engineer.json +799 -0
- package/.ai-rules/agents/platform-engineer.json +1274 -0
- package/.ai-rules/keyword-modes.json +20 -3
- package/.ai-rules/rules/core.md +24 -0
- package/.ai-rules/schemas/agent.schema.json +40 -1
- package/package.json +1 -1
|
@@ -41,9 +41,11 @@ AI Agent definitions for specialized development roles.
|
|
|
41
41
|
| **Internationalization** | i18n Specialist | `i18n-specialist.json` |
|
|
42
42
|
| **Documentation** | Documentation Specialist | `documentation-specialist.json` |
|
|
43
43
|
| **Code Quality** | Code Quality Specialist | `code-quality-specialist.json` |
|
|
44
|
-
| **
|
|
44
|
+
| **Docker/Monitoring** | DevOps Engineer | `devops-engineer.json` |
|
|
45
|
+
| **IaC/K8s/Multi-Cloud** | Platform Engineer | `platform-engineer.json` |
|
|
45
46
|
| **Config/Build Tools** | Tooling Engineer | `tooling-engineer.json` |
|
|
46
47
|
| **Agent Management** | Agent Architect | `agent-architect.json` |
|
|
48
|
+
| **AI/ML Development** | AI/ML Engineer | `ai-ml-engineer.json` |
|
|
47
49
|
|
|
48
50
|
### Agent Summary
|
|
49
51
|
|
|
@@ -67,8 +69,35 @@ AI Agent definitions for specialized development roles.
|
|
|
67
69
|
| Documentation Specialist | Code comments, JSDoc, documentation quality assessment |
|
|
68
70
|
| Code Quality Specialist | SOLID, DRY, complexity analysis |
|
|
69
71
|
| DevOps Engineer | Docker, monitoring, deployment optimization |
|
|
72
|
+
| Platform Engineer | IaC, Kubernetes, multi-cloud, GitOps, cost optimization, DR |
|
|
70
73
|
| Tooling Engineer | Project configuration, build tools, dev environment setup |
|
|
71
74
|
| Agent Architect | AI agent design, validation, checklist auditing |
|
|
75
|
+
| AI/ML Engineer | LLM integration, RAG architecture, prompt engineering, AI safety |
|
|
76
|
+
|
|
77
|
+
### DevOps Engineer vs Platform Engineer Decision Matrix
|
|
78
|
+
|
|
79
|
+
Use this matrix to determine which agent to use for infrastructure-related tasks:
|
|
80
|
+
|
|
81
|
+
| Scenario | Use DevOps Engineer | Use Platform Engineer |
|
|
82
|
+
|----------|--------------------|-----------------------|
|
|
83
|
+
| **Docker optimization** | ✅ Multi-stage builds, image size | Container orchestration at scale |
|
|
84
|
+
| **Monitoring setup** | ✅ Datadog, APM, RUM, logs | Cloud-native observability (Prometheus, Grafana) |
|
|
85
|
+
| **Next.js deployment** | ✅ Standalone builds, memory tuning | Kubernetes deployment strategies |
|
|
86
|
+
| **Terraform/Pulumi** | Basic Dockerfile | ✅ Module design, state management |
|
|
87
|
+
| **Kubernetes** | Docker image for K8s | ✅ Helm, RBAC, network policies, GitOps |
|
|
88
|
+
| **Multi-cloud** | Single cloud Docker | ✅ AWS/GCP/Azure strategies |
|
|
89
|
+
| **Cost optimization** | Build performance | ✅ FinOps, right-sizing, spot instances |
|
|
90
|
+
| **Disaster recovery** | Container health checks | ✅ RTO/RPO, backups, failover |
|
|
91
|
+
| **GitOps (Argo CD/Flux)** | CI/CD pipelines | ✅ GitOps workflows, sync strategies |
|
|
92
|
+
| **Service mesh** | Container networking | ✅ Istio, Linkerd configuration |
|
|
93
|
+
|
|
94
|
+
**Rule of Thumb:**
|
|
95
|
+
- **DevOps Engineer**: Docker containers, application monitoring, build optimization
|
|
96
|
+
- **Platform Engineer**: Infrastructure as Code, Kubernetes at scale, multi-cloud, FinOps
|
|
97
|
+
|
|
98
|
+
**Hybrid Scenarios:**
|
|
99
|
+
- Docker + Kubernetes: Start with Platform Engineer (broader scope), reference DevOps for Docker-specific optimization
|
|
100
|
+
- Monitoring + Multi-cloud: Platform Engineer for infrastructure, DevOps for application-level monitoring
|
|
72
101
|
|
|
73
102
|
---
|
|
74
103
|
|
|
@@ -121,6 +150,8 @@ as agent-architect, design new agent
|
|
|
121
150
|
| Backend Developer | `primary` | Backend file context (.go, .py, .java, .rs) |
|
|
122
151
|
| Agent Architect | `primary` | Agent-related work requests |
|
|
123
152
|
| DevOps Engineer | `primary` | Dockerfile, docker-compose context |
|
|
153
|
+
| Platform Engineer | `primary` | Terraform, Kubernetes, cloud infrastructure |
|
|
154
|
+
| AI/ML Engineer | `primary` | LLM integration, RAG, prompt engineering, AI safety |
|
|
124
155
|
|
|
125
156
|
### EVAL Mode
|
|
126
157
|
|
|
@@ -156,7 +187,9 @@ Primary Agents (Implementation Experts) - role.type: "primary"
|
|
|
156
187
|
├── frontend-developer # React/Next.js expertise (default)
|
|
157
188
|
├── backend-developer # Multi-language backend expertise
|
|
158
189
|
├── agent-architect # AI agent framework expertise
|
|
159
|
-
|
|
190
|
+
├── devops-engineer # Docker/monitoring expertise
|
|
191
|
+
├── platform-engineer # IaC/Kubernetes/multi-cloud expertise
|
|
192
|
+
└── ai-ml-engineer # LLM/RAG/AI safety expertise
|
|
160
193
|
|
|
161
194
|
Specialist Agents (Domain Experts)
|
|
162
195
|
├── architecture-specialist
|
|
@@ -485,6 +518,69 @@ Unified specialist agents organized by domain:
|
|
|
485
518
|
|
|
486
519
|
---
|
|
487
520
|
|
|
521
|
+
### Platform Engineer (`platform-engineer.json`)
|
|
522
|
+
|
|
523
|
+
> **Note**: This is a **Primary Agent** for cloud-native infrastructure, covering IaC, Kubernetes, multi-cloud, GitOps, cost optimization, and disaster recovery. Complements DevOps Engineer with broader platform engineering scope.
|
|
524
|
+
|
|
525
|
+
**Supported Cloud Providers:**
|
|
526
|
+
|
|
527
|
+
- AWS (EKS, ECS, Lambda, CloudFormation)
|
|
528
|
+
- Google Cloud (GKE, Cloud Run, Deployment Manager)
|
|
529
|
+
- Azure (AKS, Container Apps, ARM/Bicep)
|
|
530
|
+
- Kubernetes (any distribution)
|
|
531
|
+
|
|
532
|
+
**IaC Tools:**
|
|
533
|
+
|
|
534
|
+
- Terraform, Pulumi, AWS CDK, Crossplane, OpenTofu
|
|
535
|
+
|
|
536
|
+
**GitOps Tools:**
|
|
537
|
+
|
|
538
|
+
- Argo CD, Flux, Jenkins X, Tekton
|
|
539
|
+
|
|
540
|
+
**Expertise:**
|
|
541
|
+
|
|
542
|
+
- Infrastructure as Code (Terraform, Pulumi, AWS CDK)
|
|
543
|
+
- Kubernetes & Container Orchestration
|
|
544
|
+
- Multi-Cloud Strategy (AWS, GCP, Azure)
|
|
545
|
+
- GitOps Workflows (Argo CD, Flux)
|
|
546
|
+
- Cost Optimization & FinOps
|
|
547
|
+
- Disaster Recovery & Business Continuity
|
|
548
|
+
- Service Mesh & Networking
|
|
549
|
+
- Security & Compliance (RBAC, Network Policies)
|
|
550
|
+
|
|
551
|
+
**Development Philosophy:**
|
|
552
|
+
|
|
553
|
+
- **IaC-First**: Infrastructure defined as code with proper state management
|
|
554
|
+
- **Security-First**: RBAC, network policies, secrets management
|
|
555
|
+
- **Cost-Conscious**: FinOps practices, right-sizing, spot instances
|
|
556
|
+
- **GitOps-Native**: Declarative configs, automated sync, drift detection
|
|
557
|
+
- **DR-Ready**: RTO/RPO planning, backup automation, failover testing
|
|
558
|
+
|
|
559
|
+
**Responsibilities:**
|
|
560
|
+
|
|
561
|
+
- Design and implement Infrastructure as Code modules
|
|
562
|
+
- Architect Kubernetes deployments with security best practices
|
|
563
|
+
- Plan multi-cloud and hybrid cloud strategies
|
|
564
|
+
- Establish GitOps workflows for continuous delivery
|
|
565
|
+
- Optimize cloud costs through FinOps practices
|
|
566
|
+
- Design disaster recovery and business continuity plans
|
|
567
|
+
|
|
568
|
+
**Workflow:**
|
|
569
|
+
|
|
570
|
+
- **Planning**: IaC architecture, Kubernetes design, cost planning, DR planning
|
|
571
|
+
- **Implementation**: Terraform/Pulumi apply, Helm deployments, GitOps sync
|
|
572
|
+
- **Evaluation**: Security audit, cost review, DR readiness assessment
|
|
573
|
+
|
|
574
|
+
**Activation Patterns:**
|
|
575
|
+
|
|
576
|
+
- Files: `*.tf`, `*.tfvars`, `Chart.yaml`, `kustomization.yaml`, `Pulumi.yaml`, `argocd/`, `flux-system/`
|
|
577
|
+
- Korean: "인프라 코드", "쿠버네티스", "테라폼", "비용 최적화", "재해 복구"
|
|
578
|
+
- English: "terraform", "kubernetes", "k8s", "helm", "pulumi", "gitops", "argocd", "infrastructure as code"
|
|
579
|
+
|
|
580
|
+
**Auto-Activation:** Supported via MCP server. Platform Engineer is automatically selected when prompts contain IaC/Kubernetes keywords or when working with infrastructure files.
|
|
581
|
+
|
|
582
|
+
---
|
|
583
|
+
|
|
488
584
|
### Tooling Engineer (`tooling-engineer.json`)
|
|
489
585
|
|
|
490
586
|
> **Note**: This is a **Primary Agent** for ACT mode, specializing in project configuration and build tools. Has highest priority for config/tooling related tasks.
|
|
@@ -564,6 +660,55 @@ Unified specialist agents organized by domain:
|
|
|
564
660
|
|
|
565
661
|
---
|
|
566
662
|
|
|
663
|
+
### AI/ML Engineer (`ai-ml-engineer.json`)
|
|
664
|
+
|
|
665
|
+
> **Note**: This is a **Primary Agent** for AI/ML development tasks, specializing in LLM integration, RAG architecture, prompt engineering, and AI safety.
|
|
666
|
+
|
|
667
|
+
**Supported Providers:**
|
|
668
|
+
|
|
669
|
+
- Cloud: OpenAI, Anthropic, Google (Gemini), AWS Bedrock, Azure OpenAI
|
|
670
|
+
- Local: Ollama, llama.cpp, vLLM, HuggingFace Transformers
|
|
671
|
+
- Vector DBs: Pinecone, Weaviate, ChromaDB, pgvector, Milvus, Qdrant
|
|
672
|
+
|
|
673
|
+
**Expertise:**
|
|
674
|
+
|
|
675
|
+
- LLM Integration Patterns (provider abstraction, streaming, fallbacks)
|
|
676
|
+
- Prompt Engineering & Optimization
|
|
677
|
+
- RAG (Retrieval-Augmented Generation) Architecture
|
|
678
|
+
- AI Safety & Responsible AI Practices
|
|
679
|
+
- Testing Strategies for Non-deterministic AI Outputs
|
|
680
|
+
- Embedding Models & Vector Databases
|
|
681
|
+
- Token Management & Cost Optimization
|
|
682
|
+
|
|
683
|
+
**Development Philosophy:**
|
|
684
|
+
|
|
685
|
+
- **Safety-First**: Prompt injection prevention, output validation, PII handling
|
|
686
|
+
- **Provider-Agnostic**: Abstraction layer for multiple LLM providers
|
|
687
|
+
- **Test-Adapted**: Non-deterministic testing with semantic similarity and golden datasets
|
|
688
|
+
- **Cost-Conscious**: Token counting, caching, model selection optimization
|
|
689
|
+
|
|
690
|
+
**Responsibilities:**
|
|
691
|
+
|
|
692
|
+
- Plan and implement LLM integration architecture
|
|
693
|
+
- Design and optimize prompt templates with safety considerations
|
|
694
|
+
- Architect RAG pipelines with proper retrieval strategies
|
|
695
|
+
- Ensure AI safety (prompt injection prevention, output validation)
|
|
696
|
+
- Design testing strategies for non-deterministic AI outputs
|
|
697
|
+
- Optimize LLM API costs and latency
|
|
698
|
+
|
|
699
|
+
**Workflow:**
|
|
700
|
+
|
|
701
|
+
- **Planning**: LLM architecture design, RAG planning, safety review
|
|
702
|
+
- **Implementation**: Provider integration, prompt templates, retrieval pipelines
|
|
703
|
+
- **Evaluation**: AI output quality assessment, safety audit, performance metrics
|
|
704
|
+
|
|
705
|
+
**Activation Patterns:**
|
|
706
|
+
|
|
707
|
+
- Korean: "LLM 통합", "RAG 구현", "프롬프트 엔지니어링", "AI 안전"
|
|
708
|
+
- English: "LLM integration", "RAG implementation", "prompt engineering", "AI safety"
|
|
709
|
+
|
|
710
|
+
---
|
|
711
|
+
|
|
567
712
|
### Code Reviewer (`code-reviewer.json`)
|
|
568
713
|
|
|
569
714
|
**Expertise:**
|
|
@@ -912,7 +1057,9 @@ All agent files are located directly in `.ai-rules/agents/` directory without su
|
|
|
912
1057
|
├── frontend-developer.json # Primary Agent for ACT mode (default)
|
|
913
1058
|
├── backend-developer.json # Primary Agent for ACT mode (backend)
|
|
914
1059
|
├── agent-architect.json # Primary Agent for agent management
|
|
915
|
-
├── devops-engineer.json # Primary Agent for
|
|
1060
|
+
├── devops-engineer.json # Primary Agent for Docker/monitoring
|
|
1061
|
+
├── platform-engineer.json # Primary Agent for IaC/K8s/multi-cloud
|
|
1062
|
+
├── ai-ml-engineer.json # Primary Agent for AI/ML development
|
|
916
1063
|
├── code-reviewer.json # Core agent (EVAL mode, fixed)
|
|
917
1064
|
├── code-quality-specialist.json # Utility agent
|
|
918
1065
|
├── accessibility-specialist.json # Domain specialist
|