create-agdf 0.1.3 → 0.1.5
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/README.md +8 -4
- package/bin/create-agdf.js +57 -9
- package/generated/.agents/plugins/marketplace.json +20 -0
- package/generated/.github/copilot-instructions.md +10 -0
- package/generated/.github/instructions/agdf-governance.instructions.md +13 -0
- package/generated/plugins/agdf/.codex-plugin/plugin.json +30 -0
- package/generated/plugins/agdf/control/README.md +39 -0
- package/generated/plugins/agdf/control/templates/AGDF_RUN.md +84 -0
- package/generated/plugins/agdf/control/templates/AGENT_QUALITY_CONTRACTS.json +78 -0
- package/generated/plugins/agdf/control/templates/CONTEXT_GRAPH.md +51 -0
- package/generated/plugins/agdf/control/templates/MASTER_BACKLOG.md +29 -0
- package/generated/plugins/agdf/control/templates/SOT_REGISTRY.md +25 -0
- package/generated/plugins/agdf/hooks/hooks.json +15 -0
- package/generated/plugins/agdf/hooks/session-start.sh +10 -0
- package/generated/plugins/agdf/meta/agdf-constitution.md +312 -0
- package/generated/plugins/agdf/meta/agdf-copilot-agents.md +77 -0
- package/generated/plugins/agdf/meta/agdf-runtime-contract.md +85 -0
- package/generated/plugins/agdf/meta/agdf-tenets.md +191 -0
- package/generated/plugins/agdf/skills/agdf-brownfield-analysis/SKILL.md +116 -0
- package/generated/plugins/agdf/skills/agdf-brownfield-analysis/help.md +23 -0
- package/generated/plugins/agdf/skills/agdf-clean-implementation-review/SKILL.md +100 -0
- package/generated/plugins/agdf/skills/agdf-clean-implementation-review/help.md +23 -0
- package/generated/plugins/agdf/skills/agdf-code-review/SKILL.md +94 -0
- package/generated/plugins/agdf/skills/agdf-code-review/help.md +23 -0
- package/generated/plugins/agdf/skills/agdf-delivery-closeout/SKILL.md +109 -0
- package/generated/plugins/agdf/skills/agdf-delivery-closeout/help.md +23 -0
- package/generated/plugins/agdf/skills/agdf-gate-check/SKILL.md +92 -0
- package/generated/plugins/agdf/skills/agdf-gate-check/help.md +23 -0
- package/generated/plugins/agdf/skills/agdf-qa-gate/SKILL.md +110 -0
- package/generated/plugins/agdf/skills/agdf-qa-gate/help.md +23 -0
- package/generated/plugins/agdf/skills/agdf-release-or/SKILL.md +124 -0
- package/generated/plugins/agdf/skills/agdf-release-or/help.md +23 -0
- package/generated/plugins/agdf/skills/agdf-task-plan-review/SKILL.md +115 -0
- package/generated/plugins/agdf/skills/agdf-task-plan-review/help.md +23 -0
- package/package.json +2 -2
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: agdf-brownfield-analysis
|
|
3
|
+
description: Use this skill before implementation in an existing codebase, especially for feature extensions, bug fixes, refactorings, or changes to existing modules. It analyzes existing artefacts, current coverage, reuse strategy, risks, and the minimal clean implementation path. Use it before CD+Tests.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# brownfield-analysis
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
Ensure implementation in an existing system is Brownfield-oriented, not Greenfield-style.
|
|
10
|
+
|
|
11
|
+
The skill answers:
|
|
12
|
+
|
|
13
|
+
- which existing artefacts matter
|
|
14
|
+
- what already exists fully or partially
|
|
15
|
+
- what can be reused, extended, or refactored
|
|
16
|
+
- whether new artefacts are really needed
|
|
17
|
+
- architecture, compatibility, migration, and regression impact
|
|
18
|
+
- the minimal clean implementation path
|
|
19
|
+
- whether Context Graph impact exists without automatically creating a node
|
|
20
|
+
|
|
21
|
+
## Runtime Contract
|
|
22
|
+
Use `../../meta/agdf-runtime-contract.md` for Quality Contract output, Context Graph fields, gate terms, and non-duplication rules.
|
|
23
|
+
|
|
24
|
+
Brownfield-specific output must make evidence, missing existing-system view, parallel-structure risk, reuse strategy, and the minimal next step visible.
|
|
25
|
+
|
|
26
|
+
## Rules
|
|
27
|
+
1. Brownfield first: understand the existing codebase before implementation.
|
|
28
|
+
2. Reuse-before-create: prefer existing modules, services, components, tables, endpoints, tests, and configuration.
|
|
29
|
+
3. Minimal clean slice: choose the smallest durable intervention, not merely the smallest technical diff.
|
|
30
|
+
4. No silent parallel structures.
|
|
31
|
+
5. Existing architecture, naming, error handling, logging, security, and test conventions are binding unless deviation is justified.
|
|
32
|
+
6. What is not visibly evidenced does not count as existing.
|
|
33
|
+
7. Async execute paths must not become a second product-policy decision point.
|
|
34
|
+
8. Visible state ownership must be checked for chat, rendering, scrolling, recovery, and status problems.
|
|
35
|
+
9. SoT/runtime/product-semantics drift must be named; if official behaviour must be decided first, recommend UR or equivalent product direction.
|
|
36
|
+
10. Large UI surfaces and state hooks must be checked for mixed render, view-model, derived state, orchestration, persistence, and recovery ownership.
|
|
37
|
+
11. Context Graph impact must be curated; it is not a review log or version index.
|
|
38
|
+
12. Specification archive migrations must follow the archive index if present.
|
|
39
|
+
|
|
40
|
+
## When To Use
|
|
41
|
+
- before `CD+Tests`
|
|
42
|
+
- before changes to an existing repository
|
|
43
|
+
- bug fixes in existing modules
|
|
44
|
+
- feature extensions in existing architecture
|
|
45
|
+
- refactorings
|
|
46
|
+
- unclear existing coverage
|
|
47
|
+
- risk of new parallel structures
|
|
48
|
+
- a TP is clear but its connection to the existing system is not
|
|
49
|
+
|
|
50
|
+
## Inputs
|
|
51
|
+
Use what is available:
|
|
52
|
+
|
|
53
|
+
- Task Plan, `task_id`, `story_id`
|
|
54
|
+
- project structure
|
|
55
|
+
- affected files, modules, services, APIs, data models
|
|
56
|
+
- existing tests
|
|
57
|
+
- architecture notes from PRD or SD
|
|
58
|
+
- repository conventions
|
|
59
|
+
|
|
60
|
+
If inputs are missing, work only from observable evidence and mark gaps explicitly.
|
|
61
|
+
|
|
62
|
+
## Workflow
|
|
63
|
+
1. Identify affected tasks and scope.
|
|
64
|
+
2. Find relevant existing artefacts.
|
|
65
|
+
3. Assess current coverage before new implementation:
|
|
66
|
+
- `fully_done`
|
|
67
|
+
- `partially_done`
|
|
68
|
+
- `not_done`
|
|
69
|
+
4. Choose reuse strategy:
|
|
70
|
+
- `extend`
|
|
71
|
+
- `refactor`
|
|
72
|
+
- `replace`
|
|
73
|
+
- `new`
|
|
74
|
+
5. Assess change impact:
|
|
75
|
+
- files/modules
|
|
76
|
+
- interfaces
|
|
77
|
+
- data model/migrations
|
|
78
|
+
- backwards compatibility
|
|
79
|
+
- regression tests
|
|
80
|
+
- side effects
|
|
81
|
+
6. Check parallel-structure risk.
|
|
82
|
+
7. Check SoT/runtime/product-semantics drift.
|
|
83
|
+
8. Check primary visible ownership for UI/status/recovery paths.
|
|
84
|
+
9. Check UI monolith risk for large surfaces or central hooks.
|
|
85
|
+
10. Check Context Graph impact according to `../../meta/agdf-runtime-contract.md`.
|
|
86
|
+
11. Recommend the minimal clean implementation path.
|
|
87
|
+
|
|
88
|
+
## Output
|
|
89
|
+
Use a concise structure:
|
|
90
|
+
|
|
91
|
+
```text
|
|
92
|
+
## Brownfield Analysis
|
|
93
|
+
- decision: pass | revise | block | not_applicable
|
|
94
|
+
- scope:
|
|
95
|
+
- evidence:
|
|
96
|
+
- missing_evidence:
|
|
97
|
+
- current_coverage:
|
|
98
|
+
- reuse_strategy:
|
|
99
|
+
- risks:
|
|
100
|
+
- context_graph_impact:
|
|
101
|
+
- required_next_step:
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
## Pass / Revise / Block Guidance
|
|
105
|
+
- `pass`: existing owners are understood, reuse path is clear, and no blocking drift or parallel structure risk remains.
|
|
106
|
+
- `revise`: relevant evidence, tests, ownership, or reuse path is incomplete.
|
|
107
|
+
- `block`: implementation would create a second SoT, second owner, unresolved product semantics, or hard unmitigated risk.
|
|
108
|
+
|
|
109
|
+
## Forbidden
|
|
110
|
+
This skill must not:
|
|
111
|
+
|
|
112
|
+
- propose a Greenfield replacement without evidence
|
|
113
|
+
- silently accept overlapping ownership
|
|
114
|
+
- convert product-semantics drift into a mere refactor
|
|
115
|
+
- create Context Graph nodes automatically
|
|
116
|
+
- treat archive links as active current specification signals
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
## NAME
|
|
2
|
+
|
|
3
|
+
`agdf-brownfield-analysis` - brownfield analysis
|
|
4
|
+
|
|
5
|
+
## SYNOPSIS
|
|
6
|
+
|
|
7
|
+
`/agdf-brownfield-analysis` [`--help`|`-h`]
|
|
8
|
+
|
|
9
|
+
## DESCRIPTION
|
|
10
|
+
|
|
11
|
+
Ensures implementation in an existing system is Brownfield-oriented rather than Greenfield-style. Analyzes existing artefacts, current coverage, reuse strategy, risks, and the minimal clean implementation path.
|
|
12
|
+
|
|
13
|
+
## EXAMPLES
|
|
14
|
+
|
|
15
|
+
Trigger the skill:
|
|
16
|
+
|
|
17
|
+
```text
|
|
18
|
+
> /agdf-brownfield-analysis
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## SEE ALSO
|
|
22
|
+
|
|
23
|
+
See the full SKILL.md for detailed workflow, output format, and decision logic.
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: agdf-clean-implementation-review
|
|
3
|
+
description: Use this skill to determine whether an implementation is a clean primary solution or whether fallbacks, workarounds, guards, defaults, shims, or parallel structures have made it unnecessarily complex. Use it after code changes, before QA, or whenever symptom treatment is suspected.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# clean-implementation-review
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
Evaluate implementation integrity.
|
|
10
|
+
|
|
11
|
+
This skill answers:
|
|
12
|
+
|
|
13
|
+
- was the task solved with a clean primary solution
|
|
14
|
+
- was the root cause fixed or only masked
|
|
15
|
+
- were unnecessary fallbacks, workarounds, guards, defaults, or shims introduced
|
|
16
|
+
- were unnecessary parallel structures introduced
|
|
17
|
+
- does the solution fit the existing architecture
|
|
18
|
+
- is it maintainable or workaround-heavy
|
|
19
|
+
|
|
20
|
+
## Runtime Contract
|
|
21
|
+
Use `../../meta/agdf-runtime-contract.md` for Quality Contract output, Context Graph fields, gate terms, and non-duplication rules.
|
|
22
|
+
|
|
23
|
+
Clean-review-specific output must make the primary solution, fallbacks, workarounds, parallel structures, exit criteria, and next cleanup/review step visible.
|
|
24
|
+
|
|
25
|
+
## Rules
|
|
26
|
+
1. Clean primary solution before fallback.
|
|
27
|
+
2. Root cause before symptom masking.
|
|
28
|
+
3. Fallbacks are exceptions, not target architecture.
|
|
29
|
+
4. Every retained fallback needs rationale, target state, and exit condition.
|
|
30
|
+
5. No silent parallel structures.
|
|
31
|
+
6. Brownfield fit is mandatory.
|
|
32
|
+
7. Maintainability matters; "works somehow" is not enough.
|
|
33
|
+
8. Async execute paths must not decide product rules again.
|
|
34
|
+
9. Shared finalization or merge rules belong in one owner.
|
|
35
|
+
|
|
36
|
+
## When To Use
|
|
37
|
+
- after `CD+Tests`
|
|
38
|
+
- before QA
|
|
39
|
+
- when a solution contains many guards, defaults, or special paths
|
|
40
|
+
- when wrappers or helper layers were introduced
|
|
41
|
+
- when symptom treatment is suspected
|
|
42
|
+
- when fallback, retry, or compatibility-shim logic was added
|
|
43
|
+
- when code works but the architecture looks questionable
|
|
44
|
+
|
|
45
|
+
## Inputs
|
|
46
|
+
Use what is available:
|
|
47
|
+
|
|
48
|
+
- Task Plan
|
|
49
|
+
- Code Deliverables
|
|
50
|
+
- changed files
|
|
51
|
+
- tests and test results
|
|
52
|
+
- `agdf-code-review` or Code Review Report
|
|
53
|
+
- QA Report
|
|
54
|
+
- Brownfield Analysis findings
|
|
55
|
+
- PRD or SD architecture notes
|
|
56
|
+
|
|
57
|
+
If evidence is missing, mark it explicitly.
|
|
58
|
+
|
|
59
|
+
## Workflow
|
|
60
|
+
1. Understand the intended change.
|
|
61
|
+
2. Identify the primary implementation path.
|
|
62
|
+
3. Identify fallbacks, guards, defaults, shims, retries, wrappers, and catch-all branches.
|
|
63
|
+
4. Decide whether each is justified.
|
|
64
|
+
5. Check for parallel ownership.
|
|
65
|
+
6. Check Brownfield fit.
|
|
66
|
+
7. Assess whether the implementation fixes the root cause.
|
|
67
|
+
8. Assign a decision:
|
|
68
|
+
- `pass`
|
|
69
|
+
- `revise`
|
|
70
|
+
- `block`
|
|
71
|
+
- `not_applicable`
|
|
72
|
+
|
|
73
|
+
## Output
|
|
74
|
+
Use this compact structure:
|
|
75
|
+
|
|
76
|
+
```text
|
|
77
|
+
## Clean Implementation Review
|
|
78
|
+
- decision:
|
|
79
|
+
- primary_solution:
|
|
80
|
+
- evidence:
|
|
81
|
+
- fallbacks_retained:
|
|
82
|
+
- workaround_or_shim_risk:
|
|
83
|
+
- parallel_structure_risk:
|
|
84
|
+
- brownfield_fit:
|
|
85
|
+
- missing_evidence:
|
|
86
|
+
- required_next_step:
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
## Pass / Revise / Block Guidance
|
|
90
|
+
- `pass`: primary solution is clean, tested, and integrated with existing owners.
|
|
91
|
+
- `revise`: solution works but contains avoidable fallback, unclear ownership, or missing evidence.
|
|
92
|
+
- `block`: solution creates a second SoT, a second owner, unbounded fallback, or masks unresolved product semantics.
|
|
93
|
+
|
|
94
|
+
## Forbidden
|
|
95
|
+
This skill must not:
|
|
96
|
+
|
|
97
|
+
- accept fallback-heavy logic as target architecture
|
|
98
|
+
- hide unjustified workarounds
|
|
99
|
+
- treat green tests as proof of solution integrity
|
|
100
|
+
- decide final QA
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
## NAME
|
|
2
|
+
|
|
3
|
+
`agdf-clean-implementation-review` - clean implementation review
|
|
4
|
+
|
|
5
|
+
## SYNOPSIS
|
|
6
|
+
|
|
7
|
+
`/agdf-clean-implementation-review` [`--help`|`-h`]
|
|
8
|
+
|
|
9
|
+
## DESCRIPTION
|
|
10
|
+
|
|
11
|
+
Evaluates solution integrity: whether the implementation is a clean primary solution or has become unnecessarily complex through fallbacks, workarounds, guards, defaults, shims, or parallel structures.
|
|
12
|
+
|
|
13
|
+
## EXAMPLES
|
|
14
|
+
|
|
15
|
+
Trigger the skill:
|
|
16
|
+
|
|
17
|
+
```text
|
|
18
|
+
> /agdf-clean-implementation-review
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## SEE ALSO
|
|
22
|
+
|
|
23
|
+
See the full SKILL.md for detailed workflow, output format, and decision logic.
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: agdf-code-review
|
|
3
|
+
description: Use this skill after code changes and before QA to produce the mandatory Code Review Report for correctness, regression, security, and maintainability findings in the actual diff. It standardizes the CR step without replacing TP review, clean review, or QA.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# code-review
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
Produce the mandatory Code Review Report (CR) for a relevant run.
|
|
10
|
+
|
|
11
|
+
It answers:
|
|
12
|
+
|
|
13
|
+
- whether the changed code shows functional defects, security issues, regression risks, or maintainability problems that matter
|
|
14
|
+
- whether findings are blocking, revisable, or advisory
|
|
15
|
+
- which concrete evidence in files, diffs, tests, or runtime observations supports each finding
|
|
16
|
+
- which issues must be fixed before QA
|
|
17
|
+
- whether Brownfield, TP, or clean-review follow-up remains open
|
|
18
|
+
|
|
19
|
+
## Runtime Contract
|
|
20
|
+
Use `../../meta/agdf-runtime-contract.md` for Quality Contract output, Context Graph fields, gate terms, and non-duplication rules.
|
|
21
|
+
|
|
22
|
+
Code-review-specific output must make actual findings, missing review scope, evidence strength, and the next required step visible.
|
|
23
|
+
|
|
24
|
+
## Rules
|
|
25
|
+
1. Review the actual diff and impacted code, not intent alone.
|
|
26
|
+
2. Findings require concrete evidence.
|
|
27
|
+
3. Prioritize correctness, safety, data integrity, compatibility, and maintainability over style.
|
|
28
|
+
4. Do not generate style-only noise.
|
|
29
|
+
5. Missing review scope or evidence must stay visible.
|
|
30
|
+
6. Brownfield owners and existing conventions are binding unless deviation is justified.
|
|
31
|
+
7. Distinguish blocking defects from fixable review findings.
|
|
32
|
+
8. CR does not grant QA pass.
|
|
33
|
+
|
|
34
|
+
## When To Use
|
|
35
|
+
- after `CD+Tests`
|
|
36
|
+
- before `QA`
|
|
37
|
+
- when code changes exist
|
|
38
|
+
- when multiple agents or contributors touched the same area
|
|
39
|
+
- when a commit-near change needs explicit review evidence
|
|
40
|
+
|
|
41
|
+
## Inputs
|
|
42
|
+
Use what is available:
|
|
43
|
+
|
|
44
|
+
- changed files and diff
|
|
45
|
+
- affected neighbouring code
|
|
46
|
+
- test/build results
|
|
47
|
+
- Brownfield Analysis
|
|
48
|
+
- Task Plan and TP Review
|
|
49
|
+
- Clean Implementation Review
|
|
50
|
+
- runtime or UI evidence
|
|
51
|
+
- known risks or follow-up decisions
|
|
52
|
+
|
|
53
|
+
If no code changes are present, do not invent a CR result.
|
|
54
|
+
|
|
55
|
+
## Workflow
|
|
56
|
+
1. Inspect the changed files and directly impacted neighbours.
|
|
57
|
+
2. Check correctness, edge cases, and error paths.
|
|
58
|
+
3. Check security, data handling, and state ownership risks.
|
|
59
|
+
4. Check regression and compatibility risks.
|
|
60
|
+
5. Check maintainability only where it creates real defect or change-risk exposure.
|
|
61
|
+
6. Classify the overall result:
|
|
62
|
+
- `pass`
|
|
63
|
+
- `revise`
|
|
64
|
+
- `block`
|
|
65
|
+
- `not_applicable`
|
|
66
|
+
7. Set exactly one required next step.
|
|
67
|
+
|
|
68
|
+
## Output
|
|
69
|
+
Use this compact structure:
|
|
70
|
+
|
|
71
|
+
```text
|
|
72
|
+
## Code Review
|
|
73
|
+
- decision: pass | revise | block | not_applicable
|
|
74
|
+
- findings:
|
|
75
|
+
- [severity] file/path - issue - evidence
|
|
76
|
+
- missing_evidence:
|
|
77
|
+
- risks:
|
|
78
|
+
- required_next_step:
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## Decision Guidance
|
|
82
|
+
- `pass`: no meaningful review finding remains evident in reviewed scope.
|
|
83
|
+
- `revise`: fixable correctness, regression, or maintainability issues remain.
|
|
84
|
+
- `block`: a hard defect, security risk, data-integrity risk, or unresolved critical uncertainty remains.
|
|
85
|
+
- `not_applicable`: no code changes were present for review.
|
|
86
|
+
|
|
87
|
+
## Forbidden
|
|
88
|
+
This skill must not:
|
|
89
|
+
|
|
90
|
+
- decide final QA
|
|
91
|
+
- accept a green build as sufficient review evidence
|
|
92
|
+
- hide missing review scope
|
|
93
|
+
- generate style-only findings
|
|
94
|
+
- duplicate TP Review or QA as if they were the same step
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
## NAME
|
|
2
|
+
|
|
3
|
+
`agdf-code-review` - code review
|
|
4
|
+
|
|
5
|
+
## SYNOPSIS
|
|
6
|
+
|
|
7
|
+
`/agdf-code-review` [`--help`|`-h`]
|
|
8
|
+
|
|
9
|
+
## DESCRIPTION
|
|
10
|
+
|
|
11
|
+
Produces the mandatory Code Review Report for changed code and focuses on correctness, regression, security, and other materially relevant findings before QA.
|
|
12
|
+
|
|
13
|
+
## EXAMPLES
|
|
14
|
+
|
|
15
|
+
Trigger the skill:
|
|
16
|
+
|
|
17
|
+
```text
|
|
18
|
+
> /agdf-code-review
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## SEE ALSO
|
|
22
|
+
|
|
23
|
+
See the full SKILL.md for workflow, output format, and review boundaries.
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: agdf-delivery-closeout
|
|
3
|
+
description: Use this skill for the final delivery handoff after QA, OR, or UAT when a run should move toward commit, push, or PR. It standardizes commit-ready summaries, UAT-gated commit offers, and the next delivery step without replacing QA or OR decisions.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# delivery-closeout
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
Standardize the operational delivery closeout.
|
|
10
|
+
|
|
11
|
+
It answers:
|
|
12
|
+
|
|
13
|
+
- what operational delivery status applies after QA, OR, or UAT
|
|
14
|
+
- whether a commit-ready Git summary should be provided
|
|
15
|
+
- whether a commit should be actively offered after `Approval: UAT`
|
|
16
|
+
- which next delivery step makes sense: commit, push, PR, rollout, or none
|
|
17
|
+
- whether evidence-based technical follow-up remains useful
|
|
18
|
+
- whether Context Graph follow-up from OR/QA remains open
|
|
19
|
+
|
|
20
|
+
This skill does not replace `agdf-qa-gate`, `agdf-release-or`, user approvals, or gate decisions.
|
|
21
|
+
|
|
22
|
+
## Runtime Contract
|
|
23
|
+
Use `../../meta/agdf-runtime-contract.md` for closeout discipline, gate terms, Context Graph fields, and non-duplication rules.
|
|
24
|
+
|
|
25
|
+
## Rules
|
|
26
|
+
1. Delivery follows gate clarity.
|
|
27
|
+
2. Never perform commit, push, or PR automatically.
|
|
28
|
+
3. Use one handoff format:
|
|
29
|
+
- `Commit title`
|
|
30
|
+
- `Commit body`
|
|
31
|
+
- optional `Migration/Rollout note`
|
|
32
|
+
4. `Approval: UAT` unlocks an active commit offer when code changes exist.
|
|
33
|
+
5. No commit handoff for runs without code changes.
|
|
34
|
+
6. Always include exactly one next step and one quality outlook.
|
|
35
|
+
|
|
36
|
+
## When To Use
|
|
37
|
+
- after `QA pass` with code changes
|
|
38
|
+
- after OR when delivery handoff should be clean
|
|
39
|
+
- after `Approval: UAT`
|
|
40
|
+
- when the user asks for commit, push, or PR handoff
|
|
41
|
+
|
|
42
|
+
Do not use as a substitute for `agdf-qa-gate`, `agdf-release-or`, or `agdf-gate-check`.
|
|
43
|
+
|
|
44
|
+
## Inputs
|
|
45
|
+
Use what is available:
|
|
46
|
+
|
|
47
|
+
- QA Report
|
|
48
|
+
- OR
|
|
49
|
+
- current gate status
|
|
50
|
+
- whether code changes exist
|
|
51
|
+
- existing commit-ready summary
|
|
52
|
+
- rollout or migration notes
|
|
53
|
+
- open technical risks or documentation gaps
|
|
54
|
+
- Context Graph impact from OR/QA/review
|
|
55
|
+
|
|
56
|
+
If code-change status is unclear, do not claim a commit handoff.
|
|
57
|
+
|
|
58
|
+
## Workflow
|
|
59
|
+
1. Classify the closeout:
|
|
60
|
+
- `qa_pass_with_code`
|
|
61
|
+
- `qa_pass_without_code`
|
|
62
|
+
- `uat_approved_with_code`
|
|
63
|
+
- `uat_approved_without_code`
|
|
64
|
+
- `non_delivery_closeout`
|
|
65
|
+
2. Derive Git handoff only when code changes exist.
|
|
66
|
+
3. Set exactly one next delivery step:
|
|
67
|
+
- offer commit
|
|
68
|
+
- offer push
|
|
69
|
+
- offer PR
|
|
70
|
+
- no further delivery step
|
|
71
|
+
- run QA/review
|
|
72
|
+
- obtain UAT/approval
|
|
73
|
+
- perform documentation follow-up
|
|
74
|
+
4. Set quality outlook:
|
|
75
|
+
- no further technical follow-up
|
|
76
|
+
- more tests
|
|
77
|
+
- refactoring
|
|
78
|
+
- documentation sharpening
|
|
79
|
+
- monitoring/runtime verification
|
|
80
|
+
5. If `Approval: UAT` exists and code changes were delivered, actively offer the commit but do not run it.
|
|
81
|
+
|
|
82
|
+
## Output
|
|
83
|
+
For code-changing runs:
|
|
84
|
+
|
|
85
|
+
```text
|
|
86
|
+
Delivery status:
|
|
87
|
+
Next step:
|
|
88
|
+
Quality outlook:
|
|
89
|
+
Commit title:
|
|
90
|
+
Commit body:
|
|
91
|
+
Migration/Rollout note:
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
For non-code runs:
|
|
95
|
+
|
|
96
|
+
```text
|
|
97
|
+
Delivery status:
|
|
98
|
+
Next step:
|
|
99
|
+
Quality outlook:
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
## Forbidden
|
|
103
|
+
This skill must not:
|
|
104
|
+
|
|
105
|
+
- decide QA pass
|
|
106
|
+
- replace OR
|
|
107
|
+
- execute commit, push, or PR
|
|
108
|
+
- invent a commit handoff for non-code runs
|
|
109
|
+
- imply new gate approvals
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
## NAME
|
|
2
|
+
|
|
3
|
+
`agdf-delivery-closeout` - delivery closeout
|
|
4
|
+
|
|
5
|
+
## SYNOPSIS
|
|
6
|
+
|
|
7
|
+
`/agdf-delivery-closeout` [`--help`|`-h`]
|
|
8
|
+
|
|
9
|
+
## DESCRIPTION
|
|
10
|
+
|
|
11
|
+
Standardizes the operational delivery closeout for a run with a commit-ready Git summary, UAT-gated commit offer, and next delivery step.
|
|
12
|
+
|
|
13
|
+
## EXAMPLES
|
|
14
|
+
|
|
15
|
+
Trigger the skill:
|
|
16
|
+
|
|
17
|
+
```text
|
|
18
|
+
> /agdf-delivery-closeout
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## SEE ALSO
|
|
22
|
+
|
|
23
|
+
See the full SKILL.md for detailed workflow, output format, and decision logic.
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: agdf-gate-check
|
|
3
|
+
description: Use this skill when the active gate is unclear, when a later-gate artefact is requested, when an exact approval may be missing, or when the next permissible step must be determined. Use it before creating formal artefacts in Structured Delivery and whenever implicit consent might be mistaken for approval.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# gate-check
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
Determine the earliest blocking user approval gate and derive:
|
|
10
|
+
|
|
11
|
+
- the active or blocking gate
|
|
12
|
+
- whether the process is open or blocked
|
|
13
|
+
- currently allowed outputs
|
|
14
|
+
- currently forbidden outputs
|
|
15
|
+
- the exact missing approval
|
|
16
|
+
- the next permissible step
|
|
17
|
+
|
|
18
|
+
This skill must not create later artefacts such as PRD, SD, TP, CD, CR, QA, or UAT when the gate does not allow them.
|
|
19
|
+
|
|
20
|
+
## Runtime Contract
|
|
21
|
+
Use `../../meta/agdf-runtime-contract.md` for gate terms, closeout discipline, and non-duplication rules.
|
|
22
|
+
|
|
23
|
+
## Rules
|
|
24
|
+
1. Fail closed when a required approval or artefact status is missing.
|
|
25
|
+
2. The earliest blocking gate wins.
|
|
26
|
+
3. A user approval is valid only as `Approval: <GateName>`.
|
|
27
|
+
4. Treat `Freigabe: <GateName>` as a legacy alias only when reviewing older German runs.
|
|
28
|
+
5. Implicit consent is not approval.
|
|
29
|
+
6. Do not preview later artefacts while a gate blocks.
|
|
30
|
+
7. Internal process steps are not user approval gates.
|
|
31
|
+
8. OR-lite is allowed if it does not leak blocked content.
|
|
32
|
+
9. SoT/runtime/product-semantics drift can trigger an early product gate, usually `UR`.
|
|
33
|
+
|
|
34
|
+
## Gate Order
|
|
35
|
+
User gates:
|
|
36
|
+
|
|
37
|
+
`UR -> PRD -> SD -> TP -> QA -> UAT`
|
|
38
|
+
|
|
39
|
+
Internal mandatory steps:
|
|
40
|
+
|
|
41
|
+
`Brownfield Analysis -> CD+Tests -> CR -> OR`
|
|
42
|
+
|
|
43
|
+
## When To Use
|
|
44
|
+
- Structured Delivery before first artefact creation
|
|
45
|
+
- unclear current gate
|
|
46
|
+
- user says "continue" or similar without exact approval
|
|
47
|
+
- code or a later-gate artefact is requested
|
|
48
|
+
- implementation permission is unclear
|
|
49
|
+
- QA, UAT, or release permission is unclear
|
|
50
|
+
|
|
51
|
+
Not required for simple Quick Tasks without new product scope and without formal artefacts.
|
|
52
|
+
|
|
53
|
+
## Inputs
|
|
54
|
+
Use what is available:
|
|
55
|
+
|
|
56
|
+
- current user request
|
|
57
|
+
- existing exact approvals
|
|
58
|
+
- status of UR, PRD, SD, TP
|
|
59
|
+
- Brownfield Analysis status
|
|
60
|
+
- CD+Tests, CR, QA, UAT status
|
|
61
|
+
- signs of documentation/runtime/product-semantics drift
|
|
62
|
+
|
|
63
|
+
If a status is not explicit, do not assume it is satisfied.
|
|
64
|
+
|
|
65
|
+
## Workflow
|
|
66
|
+
1. Check exact approvals.
|
|
67
|
+
2. Check artefact status.
|
|
68
|
+
3. Determine the earliest blocking user gate or internal mandatory step.
|
|
69
|
+
4. Derive allowed and forbidden outputs.
|
|
70
|
+
5. Name the exact missing approval, if any.
|
|
71
|
+
6. If consent was only implicit, say it is not yet approval and provide the exact formula.
|
|
72
|
+
|
|
73
|
+
## Output
|
|
74
|
+
Keep the result short and operational:
|
|
75
|
+
|
|
76
|
+
- **Current gate:** `<GateName or internal step>`
|
|
77
|
+
- **Status:** `open | blocked`
|
|
78
|
+
- **Allowed:** `<allowed outputs>`
|
|
79
|
+
- **Forbidden:** `<forbidden outputs>`
|
|
80
|
+
- **Missing approval:** `Approval: <GateName> | none`
|
|
81
|
+
- **Next step:** `<single permissible next step>`
|
|
82
|
+
|
|
83
|
+
## Forbidden
|
|
84
|
+
This skill must not:
|
|
85
|
+
|
|
86
|
+
- create PRD before UR approval
|
|
87
|
+
- create SD before PRD approval
|
|
88
|
+
- create TP while earlier gates block
|
|
89
|
+
- perform full Brownfield Analysis unless explicitly requested
|
|
90
|
+
- provide implementation snippets while implementation is gated
|
|
91
|
+
- present QA or UAT as passed without evidence
|
|
92
|
+
- present release as allowed without QA pass and UAT approval where required
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
## NAME
|
|
2
|
+
|
|
3
|
+
`agdf-gate-check` - gate check
|
|
4
|
+
|
|
5
|
+
## SYNOPSIS
|
|
6
|
+
|
|
7
|
+
`/agdf-gate-check` [`--help`|`-h`]
|
|
8
|
+
|
|
9
|
+
## DESCRIPTION
|
|
10
|
+
|
|
11
|
+
Determines the earliest blocking user approval gate and derives which artefacts are allowed or forbidden, whether an exact approval is missing, and which next step is permissible.
|
|
12
|
+
|
|
13
|
+
## EXAMPLES
|
|
14
|
+
|
|
15
|
+
Trigger the skill:
|
|
16
|
+
|
|
17
|
+
```text
|
|
18
|
+
> /agdf-gate-check
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## SEE ALSO
|
|
22
|
+
|
|
23
|
+
See the full SKILL.md for detailed workflow, output format, and decision logic.
|