agents-templated 2.2.1 → 2.2.2
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/package.json +1 -1
- package/templates/.claude/rules/ai-integration.mdc +60 -0
- package/templates/.claude/rules/core.mdc +180 -0
- package/templates/.claude/rules/database.mdc +291 -0
- package/templates/.claude/rules/frontend.mdc +224 -0
- package/templates/.claude/rules/guardrails.mdc +105 -0
- package/templates/.claude/rules/hardening.mdc +58 -0
- package/templates/.claude/rules/intent-routing.mdc +59 -0
- package/templates/.claude/rules/planning.mdc +75 -0
- package/templates/.claude/rules/security.mdc +286 -0
- package/templates/.claude/rules/style.mdc +306 -0
- package/templates/.claude/rules/system-workflow.mdc +69 -0
- package/templates/.claude/rules/testing.mdc +308 -0
- package/templates/.claude/rules/workflows.mdc +61 -0
- package/templates/CLAUDE.md +27 -27
- package/templates/agents/rules/ai-integration.mdc +10 -2
- package/templates/agents/rules/core.mdc +8 -1
- package/templates/agents/rules/database.mdc +10 -2
- package/templates/agents/rules/frontend.mdc +10 -2
- package/templates/agents/rules/guardrails.mdc +10 -2
- package/templates/agents/rules/hardening.mdc +10 -2
- package/templates/agents/rules/intent-routing.mdc +10 -2
- package/templates/agents/rules/planning.mdc +10 -2
- package/templates/agents/rules/security.mdc +11 -2
- package/templates/agents/rules/style.mdc +10 -2
- package/templates/agents/rules/system-workflow.mdc +10 -2
- package/templates/agents/rules/testing.mdc +9 -1
- package/templates/agents/rules/workflows.mdc +10 -2
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: "Code Style and Standards"
|
|
3
|
-
description: "
|
|
3
|
+
description: "Apply when organizing code, naming variables/functions, improving clarity, formatting with consistency, and maintaining code quality"
|
|
4
4
|
alwaysApply: true
|
|
5
5
|
version: "3.0.0"
|
|
6
6
|
tags: ["style", "formatting", "naming", "quality"]
|
|
7
7
|
globs:
|
|
8
8
|
- "**/*"
|
|
9
|
+
triggers:
|
|
10
|
+
- "Writing new code or functions"
|
|
11
|
+
- "Organizing code structure"
|
|
12
|
+
- "Naming variables, functions, or classes"
|
|
13
|
+
- "Formatting code for readability"
|
|
14
|
+
- "Improving code documentation"
|
|
15
|
+
- "Refactoring for clarity"
|
|
16
|
+
- "Following project conventions"
|
|
9
17
|
---
|
|
10
18
|
|
|
11
19
|
# Code Style and Standards
|
|
@@ -341,4 +349,4 @@ Test names describe what is being tested:
|
|
|
341
349
|
---
|
|
342
350
|
|
|
343
351
|
Remember: **Write code for humans first, computers second.**
|
|
344
|
-
Clean code is maintainable code, and maintainable code is more secure, performant, and bug-free.
|
|
352
|
+
Clean code is maintainable code, and maintainable code is more secure, performant, and bug-free.
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: "System Workflow Orchestration"
|
|
3
|
-
description: "
|
|
4
|
-
version: "
|
|
3
|
+
description: "Apply when planning delivery phases, defining acceptance criteria, establishing rollback procedures, or orchestrating multi-step workflows"
|
|
4
|
+
version: "3.0.0"
|
|
5
5
|
tags: ["workflow", "gates", "delivery", "governance"]
|
|
6
|
+
triggers:
|
|
7
|
+
- "Implementing feature with multiple phases"
|
|
8
|
+
- "Defining deployment gates and approval"
|
|
9
|
+
- "Planning rollback strategy"
|
|
10
|
+
- "Creating acceptance criteria"
|
|
11
|
+
- "Coordinating deployment across services"
|
|
12
|
+
- "Planning database migration"
|
|
13
|
+
- "Managing breaking API changes"
|
|
6
14
|
---
|
|
7
15
|
|
|
8
16
|
## Purpose
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: "Testing Guidelines & Best Practices"
|
|
3
|
-
description: "
|
|
3
|
+
description: "Apply when adding tests, verifying coverage, or validating quality before deployment. Always required for business logic and critical flows"
|
|
4
4
|
version: "3.0.0"
|
|
5
5
|
tags: ["testing", "quality", "coverage", "e2e", "a11y"]
|
|
6
|
+
triggers:
|
|
7
|
+
- "User requests tests for business logic"
|
|
8
|
+
- "Implementing a new feature"
|
|
9
|
+
- "Fixing a bug"
|
|
10
|
+
- "Need to verify API endpoints work"
|
|
11
|
+
- "Checking application behavior"
|
|
12
|
+
- "Hardening release artifacts"
|
|
13
|
+
- "CI/CD validation needed before deployment"
|
|
6
14
|
---
|
|
7
15
|
|
|
8
16
|
# Testing Guidelines & Best Practices
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: "Development Workflow Guidelines"
|
|
3
|
-
description: "
|
|
3
|
+
description: "Apply to optimize development process, running pre-commit checks, enforcing quality gates, and keeping project healthy"
|
|
4
4
|
alwaysApply: false
|
|
5
|
-
version: "
|
|
5
|
+
version: "3.0.0"
|
|
6
6
|
tags: ["workflow", "quality", "validation", "commit"]
|
|
7
7
|
globs:
|
|
8
8
|
- "**/*"
|
|
9
|
+
triggers:
|
|
10
|
+
- "Running pre-commit hooks"
|
|
11
|
+
- "Validating code quality gates"
|
|
12
|
+
- "Setting up CI/CD pipeline"
|
|
13
|
+
- "Checking code before commit"
|
|
14
|
+
- "Running linting or formatting"
|
|
15
|
+
- "Executing test suites automatically"
|
|
16
|
+
- "Maintaining project health and standards"
|
|
9
17
|
---
|
|
10
18
|
|
|
11
19
|
# Development Workflow Guidelines
|