You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| python3 -c "import json,sys; r=json.load(sys.stdin).get('results',{}); print('Potential secrets found -- run detect-secrets scan locally to audit' if r else 'OK -- no secrets detected.'); sys.exit(1 if r else 0)"
| Unit | A skill: a task-level playbook ("how to do X well") | A requirement: a stable, ID'd constraint ("what must always hold") |
12
+
| Scope | Per-task, invoked when the task matches | Cross-cutting, applies to every task |
13
+
| Enforcement | Instruction-following by the agent | Deterministic scripts and CI gates where possible (`scripts/`), documented conventions elsewhere |
14
+
| Evolution | New skills for new tasks | IDs are permanent; text evolves under changelog discipline |
15
+
16
+
A skill tells an agent how to do a code review or write a commit message.
17
+
A standard says no hardcoded secrets (TR-SEC-001), PII routes to local models
18
+
only (TR-SEC-003), every agent node declares a loop contract (TR-AGT-003) —
19
+
regardless of which skill is running.
20
+
21
+
## Integration patterns
22
+
23
+
**1. Cite TR IDs inside skills.** When a skill's instructions touch a governed
24
+
area, reference the requirement ID instead of restating (and eventually
25
+
forking) the rule. A testing skill that says "follow TR-TEST-001" inherits
26
+
registry updates for free, and reviewers can trace which constraint applied.
27
+
28
+
**2. Generate editor/agent context from the registry.** The registry is
29
+
machine-readable precisely so tool-specific context can be derived rather than
30
+
hand-maintained. `scripts/cursor-rules-adapter.py` is the working example: it
31
+
exports the coding-relevant registry subset as Cursor `.mdc` rules
32
+
(pregenerated copy in `examples/cursor-rules/`), with CI failing on drift.
33
+
The same pattern applies to any tool that consumes context files — skills
34
+
handle the task layer, generated rules pin the constraint layer underneath.
35
+
36
+
**3. Gate skill output with the governance artifacts.** Whatever skill
37
+
produced a change, the same checks apply: the completion self-critique
38
+
(`templates/completion-checklist.md`), the reviewer role spec
39
+
(`agents/reviewer.md`), and the deterministic scanners
40
+
(`check-config-consistency.py`, `debt-report.py`) in CI. Skills raise the
41
+
ceiling of what an agent does well; the gates hold the floor.
42
+
43
+
## Boundary (by design)
44
+
45
+
Per `CONTRIBUTING.md`, this repo does not accept task playbooks or skill
46
+
collections — contribute those to a skills repository. What belongs here is
47
+
the constraint layer: registry entries, templates, deterministic checks, and
48
+
adapters that export them into other tools' formats.
Copy file name to clipboardExpand all lines: docs/releasing.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,8 @@ detect-secrets scan \
32
32
--exclude-files '^templates/' \
33
33
--exclude-files '^examples/' \
34
34
| python3 -c "import json,sys; r=json.load(sys.stdin).get('results',{}); print('Potential secrets found -- run detect-secrets scan locally to audit' if r else 'OK -- no secrets detected.'); sys.exit(1 if r else 0)"
0 commit comments