agents-templated 2.2.18 → 2.2.20
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/agents/commands/arch-check.md +58 -58
- package/templates/agents/commands/audit.md +58 -58
- package/templates/agents/commands/debug-track.md +58 -58
- package/templates/agents/commands/docs.md +58 -58
- package/templates/agents/commands/fix.md +58 -58
- package/templates/agents/commands/learn-loop.md +58 -58
- package/templates/agents/commands/perf.md +58 -58
- package/templates/agents/commands/plan.md +58 -58
- package/templates/agents/commands/pr.md +58 -58
- package/templates/agents/commands/problem-map.md +58 -58
- package/templates/agents/commands/release-ready.md +58 -58
- package/templates/agents/commands/release.md +58 -58
- package/templates/agents/commands/risk-review.md +58 -58
- package/templates/agents/commands/scope-shape.md +58 -58
- package/templates/agents/commands/task.md +58 -58
- package/templates/agents/commands/test.md +58 -58
- package/templates/agents/commands/ux-bar.md +58 -58
- package/templates/agents/rules/core.md +173 -173
- package/templates/agents/rules/database.md +305 -305
- package/templates/agents/rules/frontend.md +217 -217
- package/templates/agents/rules/security.md +278 -278
- package/templates/agents/rules/style.md +344 -344
- package/templates/agents/rules/testing.md +371 -371
- package/templates/agents/rules/workflows.md +56 -56
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: "Development Workflow Guidelines"
|
|
3
|
-
description: "Apply to optimize development process, running pre-commit checks, enforcing quality gates, and keeping project healthy"
|
|
4
|
-
alwaysApply: false
|
|
5
|
-
version: "3.0.0"
|
|
6
|
-
tags: ["workflow", "quality", "validation", "commit"]
|
|
7
|
-
globs:
|
|
8
|
-
- "**/*"
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
# Development Workflow Guidelines
|
|
12
|
-
|
|
13
|
-
Technology-agnostic suggestions for keeping the project healthy and maintaining quality before commits.
|
|
14
|
-
|
|
15
|
-
## When This Rule Applies
|
|
16
|
-
|
|
17
|
-
Use this guidance when the user asks about workflow, pre-commit checks, or keeping the project validated. Do not force these steps on every change—treat them as recommended practices.
|
|
18
|
-
|
|
19
|
-
## Project Health (agents-templated)
|
|
20
|
-
|
|
21
|
-
If this project was scaffolded with agents-templated:
|
|
22
|
-
|
|
23
|
-
- **Periodically**: Run `agents-templated validate` to ensure required docs and rules are present; run `agents-templated doctor` for environment and configuration recommendations.
|
|
24
|
-
- **After pulling template updates**: Run `agents-templated update --check-only` to see available updates, then `agents-templated update` if you want to apply them (with backup).
|
|
25
|
-
|
|
26
|
-
These commands help keep agent rules, documentation, and security patterns in sync.
|
|
27
|
-
|
|
28
|
-
## Pre-Commit Quality Gates
|
|
29
|
-
|
|
30
|
-
Before committing, consider running (in order):
|
|
31
|
-
|
|
32
|
-
1. **Lint** – Your stack’s linter (e.g. ESLint, Pylint, golangci-lint) to catch style and simple issues.
|
|
33
|
-
2. **Type check** – If applicable (TypeScript, mypy, etc.) to catch type errors.
|
|
34
|
-
3. **Tests** – At least the fast test suite (e.g. unit tests) so regressions are caught early.
|
|
35
|
-
4. **Project validation** – For agents-templated projects, `agents-templated validate` can confirm setup is intact.
|
|
36
|
-
|
|
37
|
-
For high-risk or distributed-client releases, add hardening-specific checks before merge/release:
|
|
38
|
-
|
|
39
|
-
5. **Hardening profile selection** – Document threat model and selected profile from `agents/rules/hardening.mdc`.
|
|
40
|
-
6. **Post-hardening verification** – Run functional regression and performance checks on hardened artifacts.
|
|
41
|
-
7. **Artifact controls** – Verify restricted handling for symbol/mapping/debug artifacts and confirm rollback path.
|
|
42
|
-
|
|
43
|
-
Do not commit with failing lint or tests unless the user explicitly requests a WIP commit (e.g. with `--no-verify` or a clear “work in progress” message).
|
|
44
|
-
|
|
45
|
-
## Commit Messages
|
|
46
|
-
|
|
47
|
-
- Prefer clear, descriptive messages (e.g. conventional commits: `feat:`, `fix:`, `docs:`).
|
|
48
|
-
- Reference issues or tickets when relevant (e.g. “Closes #123”).
|
|
49
|
-
- Keep the body focused on what changed and why, not how.
|
|
50
|
-
|
|
51
|
-
## Summary
|
|
52
|
-
|
|
53
|
-
- Use **agents-templated validate** and **doctor** to maintain project setup and get recommendations.
|
|
54
|
-
- Run **lint**, **type check**, and **tests** before committing when possible.
|
|
55
|
-
- For hardening-required releases, include profile rationale, post-hardening verification evidence, and rollback readiness.
|
|
56
|
-
- Write clear commit messages and reference issues where applicable.
|
|
1
|
+
---
|
|
2
|
+
title: "Development Workflow Guidelines"
|
|
3
|
+
description: "Apply to optimize development process, running pre-commit checks, enforcing quality gates, and keeping project healthy"
|
|
4
|
+
alwaysApply: false
|
|
5
|
+
version: "3.0.0"
|
|
6
|
+
tags: ["workflow", "quality", "validation", "commit"]
|
|
7
|
+
globs:
|
|
8
|
+
- "**/*"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Development Workflow Guidelines
|
|
12
|
+
|
|
13
|
+
Technology-agnostic suggestions for keeping the project healthy and maintaining quality before commits.
|
|
14
|
+
|
|
15
|
+
## When This Rule Applies
|
|
16
|
+
|
|
17
|
+
Use this guidance when the user asks about workflow, pre-commit checks, or keeping the project validated. Do not force these steps on every change—treat them as recommended practices.
|
|
18
|
+
|
|
19
|
+
## Project Health (agents-templated)
|
|
20
|
+
|
|
21
|
+
If this project was scaffolded with agents-templated:
|
|
22
|
+
|
|
23
|
+
- **Periodically**: Run `agents-templated validate` to ensure required docs and rules are present; run `agents-templated doctor` for environment and configuration recommendations.
|
|
24
|
+
- **After pulling template updates**: Run `agents-templated update --check-only` to see available updates, then `agents-templated update` if you want to apply them (with backup).
|
|
25
|
+
|
|
26
|
+
These commands help keep agent rules, documentation, and security patterns in sync.
|
|
27
|
+
|
|
28
|
+
## Pre-Commit Quality Gates
|
|
29
|
+
|
|
30
|
+
Before committing, consider running (in order):
|
|
31
|
+
|
|
32
|
+
1. **Lint** – Your stack’s linter (e.g. ESLint, Pylint, golangci-lint) to catch style and simple issues.
|
|
33
|
+
2. **Type check** – If applicable (TypeScript, mypy, etc.) to catch type errors.
|
|
34
|
+
3. **Tests** – At least the fast test suite (e.g. unit tests) so regressions are caught early.
|
|
35
|
+
4. **Project validation** – For agents-templated projects, `agents-templated validate` can confirm setup is intact.
|
|
36
|
+
|
|
37
|
+
For high-risk or distributed-client releases, add hardening-specific checks before merge/release:
|
|
38
|
+
|
|
39
|
+
5. **Hardening profile selection** – Document threat model and selected profile from `agents/rules/hardening.mdc`.
|
|
40
|
+
6. **Post-hardening verification** – Run functional regression and performance checks on hardened artifacts.
|
|
41
|
+
7. **Artifact controls** – Verify restricted handling for symbol/mapping/debug artifacts and confirm rollback path.
|
|
42
|
+
|
|
43
|
+
Do not commit with failing lint or tests unless the user explicitly requests a WIP commit (e.g. with `--no-verify` or a clear “work in progress” message).
|
|
44
|
+
|
|
45
|
+
## Commit Messages
|
|
46
|
+
|
|
47
|
+
- Prefer clear, descriptive messages (e.g. conventional commits: `feat:`, `fix:`, `docs:`).
|
|
48
|
+
- Reference issues or tickets when relevant (e.g. “Closes #123”).
|
|
49
|
+
- Keep the body focused on what changed and why, not how.
|
|
50
|
+
|
|
51
|
+
## Summary
|
|
52
|
+
|
|
53
|
+
- Use **agents-templated validate** and **doctor** to maintain project setup and get recommendations.
|
|
54
|
+
- Run **lint**, **type check**, and **tests** before committing when possible.
|
|
55
|
+
- For hardening-required releases, include profile rationale, post-hardening verification evidence, and rollback readiness.
|
|
56
|
+
- Write clear commit messages and reference issues where applicable.
|