ai-developer-skill-os 8.2.0 → 8.3.0

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.
Files changed (79) hide show
  1. package/.agents/LICENSE +21 -21
  2. package/.agents/README.md +90 -90
  3. package/.agents/docs/CHI_TIET_SKILLS.md +125 -125
  4. package/.agents/docs/MIGRATION-CLEANUP-V8.1.3.md +36 -36
  5. package/.agents/docs/MIGRATION-STATUS.md +35 -35
  6. package/.agents/docs/MIGRATION-V8.md +10 -10
  7. package/.agents/docs/V8-CERTIFICATION.md +27 -27
  8. package/.agents/docs/decisions/ADR-001-v8-migration.md +58 -58
  9. package/.agents/docs/decisions/ADR-002-workflow-separation.md +50 -50
  10. package/.agents/docs/decisions/ADR-003-registry-generated.md +54 -54
  11. package/.agents/docs/decisions/ADR-008-skill-boundary-review.md +27 -27
  12. package/.agents/registry/graph.json +4 -8
  13. package/.agents/registry/index.yaml +3 -4
  14. package/.agents/registry/skills-index.yml +525 -525
  15. package/.agents/rules/coding.md +10 -0
  16. package/.agents/rules/command-safety.md +37 -14
  17. package/.agents/rules/priorities.yml +13 -2
  18. package/.agents/rules/security.md +47 -7
  19. package/.agents/rules/skill-quality.md +32 -8
  20. package/.agents/skills/_template/SKILL.md +133 -132
  21. package/.agents/skills/_template/capability.yaml +20 -20
  22. package/.agents/skills/_template/evals/scorecard.yaml +19 -19
  23. package/.agents/skills/qk-access-policy/SKILL.md +4 -1
  24. package/.agents/skills/qk-agent-observability/SKILL.md +111 -0
  25. package/.agents/skills/qk-agent-observability/references/scorecard.yaml +80 -0
  26. package/.agents/skills/qk-ai-builder/SKILL.md +74 -5
  27. package/.agents/skills/qk-api-lifecycle/SKILL.md +4 -2
  28. package/.agents/skills/qk-bug-resolution/SKILL.md +3 -21
  29. package/.agents/skills/qk-code-review/SKILL.md +188 -189
  30. package/.agents/skills/qk-context-loader/SKILL.md +3 -47
  31. package/.agents/skills/qk-data-lifecycle/SKILL.md +7 -2
  32. package/.agents/skills/qk-db-optimizer/SKILL.md +3 -2
  33. package/.agents/skills/qk-design-system-engineering/SKILL.md +235 -112
  34. package/.agents/skills/qk-devops-platform/SKILL.md +241 -117
  35. package/.agents/skills/qk-docs/SKILL.md +3 -1
  36. package/.agents/skills/qk-engineering-standard/SKILL.md +4 -75
  37. package/.agents/skills/qk-engineering-standard/references/anti-patterns.md +121 -0
  38. package/.agents/skills/qk-engineering-standard/rules/frontend.md +1 -1
  39. package/.agents/skills/qk-fe-api-integration/SKILL.md +13 -32
  40. package/.agents/skills/qk-feature-delivery/SKILL.md +54 -202
  41. package/.agents/skills/qk-frontend-architecture/SKILL.md +258 -134
  42. package/.agents/skills/qk-help/SKILL.md +21 -159
  43. package/.agents/skills/qk-orchestrator/SKILL.md +2 -78
  44. package/.agents/skills/qk-orchestrator/references/routing-table.md +15 -3
  45. package/.agents/skills/qk-product-specification/SKILL.md +253 -130
  46. package/.agents/skills/qk-production-release/SKILL.md +32 -67
  47. package/.agents/skills/qk-project-bootstrap/SKILL.md +59 -8
  48. package/.agents/skills/qk-project-health/SKILL.md +4 -2
  49. package/.agents/skills/qk-project-memory/SKILL.md +3 -1
  50. package/.agents/skills/qk-security-audit/SKILL.md +259 -135
  51. package/.agents/skills/qk-system-evolution/SKILL.md +18 -68
  52. package/.agents/skills/qk-test-engineering/SKILL.md +262 -139
  53. package/.agents/skills/qk-ui-audit/SKILL.md +16 -89
  54. package/.agents/skills/qk-ui-audit/references/anti-slop-checklist.md +2 -2
  55. package/.agents/skills/qk-ui-builder/SKILL.md +482 -509
  56. package/.agents/skills/qk-ui-builder/references/component-cookbook.md +455 -1191
  57. package/.agents/skills/qk-ui-system-builder/SKILL.md +1 -5
  58. package/.agents/skills/qk-validation-gate/SKILL.md +0 -74
  59. package/.agents/skills/qk-web-quality-gate/SKILL.md +232 -114
  60. package/.agents/workflows/_schema.yml +146 -109
  61. package/.agents/workflows/bug-resolution.yml +121 -101
  62. package/.agents/workflows/code-review.yml +93 -77
  63. package/.agents/workflows/documentation.yml +90 -75
  64. package/.agents/workflows/feature-delivery.yml +120 -103
  65. package/.agents/workflows/refactor.yml +99 -81
  66. package/.agents/workflows/research.yml +75 -60
  67. package/.agents/workflows/security-audit.yml +115 -72
  68. package/.agents/workflows/skill-evolution.yml +97 -65
  69. package/.agents/workflows/spec-driven-development.yml +87 -57
  70. package/CHANGELOG.md +10 -0
  71. package/README.md +90 -90
  72. package/bin/install.js +330 -180
  73. package/package.json +2 -2
  74. package/.agents/CHANGELOG.md +0 -131
  75. package/.agents/learnings/draft/README.md +0 -37
  76. package/.agents/reports/RELEASE-CHECKLIST.md +0 -29
  77. package/.agents/reports/architecture-audit.md +0 -13
  78. package/.agents/reports/graph-health.md +0 -20
  79. package/.agents/reports/skill-audit.md +0 -215
@@ -1,77 +1,93 @@
1
- name: code-review
2
- version: 8.0.0
3
- description: "Pipeline kiểm tra chất lượng code theo SOLID, DRY, Clean Code và ngưỡng số liệu cụ thể."
4
-
5
- owner:
6
- type: engineering
7
- maintained_by: qk-team
8
-
9
- verification_profile: review
10
-
11
- steps:
12
- - id: scope
13
- name: "Xác định phạm vi review"
14
- purpose: "Biết chính xác files/modules cần review"
15
- required: true
16
- skip_if: "Files đã được chỉ định rõ ràng"
17
- inputs:
18
- - target_files_or_module
19
- outputs:
20
- - file_list
21
- - review_focus # bug, quality, security, performance, all
22
- exit_on_fail: BLOCKED
23
-
24
- - id: static_analysis
25
- name: "Phân tích tĩnh"
26
- purpose: "Thu thập findings bằng chứng rõ ràng"
27
- required: true
28
- skip_if: null
29
- inputs:
30
- - file_list
31
- - review_focus
32
- outputs:
33
- - findings # Each: severity + file + line + quote + reason + suggestion
34
- min_confidence: HIGH
35
- actions:
36
- - "Đọc từng file theo budget (max 150 lines per read)"
37
- - "Flag SOLID violations với ngưỡng cụ thể"
38
- - "Flag DRY violations (≥ 2 duplications)"
39
- - "Flag naming violations"
40
- - "Flag error handling issues"
41
-
42
- - id: severity_triage
43
- name: "Phân loại mức độ"
44
- purpose: "Xếp findings theo priority để human biết fix gì trước"
45
- required: true
46
- skip_if: null
47
- inputs:
48
- - findings
49
- outputs:
50
- - critical_findings # Must fix: security, data loss risk
51
- - high_findings # Should fix: logic bugs, architecture violations
52
- - medium_findings # Consider: quality improvements
53
- - low_findings # Optional: style, minor naming
54
- actions:
55
- - "Áp dụng severity matrix: CRITICAL > HIGH > MEDIUM > LOW"
56
- - "Không inflate severity để look impressive"
57
-
58
- - id: report
59
- name: "Tổng hợp báo cáo"
60
- purpose: "Cung cấp báo cáo actionable cho developer"
61
- required: true
62
- skip_if: null
63
- inputs:
64
- - critical_findings
65
- - high_findings
66
- - medium_findings
67
- outputs:
68
- - review_report # Structured markdown report
69
- - health_score # 0-100
70
- actions:
71
- - "Group findings theo file"
72
- - "Mỗi finding: file:line + code quote + explanation + suggestion"
73
- - "Tính health score: 100 - (critical×20 + high×10 + medium×3 + low×1)"
74
-
75
- escalation:
76
- max_retries: 1
77
- on_failure: "Report partial findings với số files đã review / tổng"
1
+ name: code-review
2
+ version: 8.0.0
3
+ description: "Pipeline kiểm tra chất lượng code theo SOLID, DRY, Clean Code và ngưỡng số liệu cụ thể."
4
+
5
+ owner:
6
+ type: engineering
7
+ maintained_by: qk-team
8
+
9
+ verification_profile: review
10
+
11
+ triggers:
12
+ - "review code"
13
+ - "review this"
14
+ - "đánh giá code"
15
+ - "kiểm tra chất lượng code"
16
+ - "check this PR"
17
+ - "pull request review"
18
+
19
+ ide_binding:
20
+ slash_command: "/review"
21
+ aliases: ["/code-review", "/pr-review"]
22
+
23
+ steps:
24
+ - id: scope
25
+ name: "Xác định phạm vi review"
26
+ purpose: "Biết chính xác files/modules cần review"
27
+ required: true
28
+ skip_if: "Files đã được chỉ định rõ ràng"
29
+ inputs:
30
+ - target_files_or_module
31
+ outputs:
32
+ - file_list
33
+ - review_focus # bug, quality, security, performance, all
34
+ exit_on_fail: BLOCKED
35
+
36
+ - id: static_analysis
37
+ name: "Phân tích tĩnh"
38
+ purpose: "Thu thập findings bằng chứng rõ ràng"
39
+ required: true
40
+ skip_if: null
41
+ inputs:
42
+ - file_list
43
+ - review_focus
44
+ outputs:
45
+ - findings # Each: severity + file + line + quote + reason + suggestion
46
+ min_confidence: HIGH
47
+ context_budget: 150
48
+ actions:
49
+ - "Đọc từng file theo budget (max 150 lines per read)"
50
+ - "Flag SOLID violations với ngưỡng cụ thể"
51
+ - "Flag DRY violations (≥ 2 duplications)"
52
+ - "Flag naming violations"
53
+ - "Flag error handling issues"
54
+
55
+ - id: severity_triage
56
+ name: "Phân loại mức độ"
57
+ purpose: "Xếp findings theo priority để human biết fix gì trước"
58
+ required: true
59
+ skip_if: null
60
+ inputs:
61
+ - findings
62
+ outputs:
63
+ - critical_findings # Must fix: security, data loss risk
64
+ - high_findings # Should fix: logic bugs, architecture violations
65
+ - medium_findings # Consider: quality improvements
66
+ - low_findings # Optional: style, minor naming
67
+ actions:
68
+ - "Áp dụng severity matrix: CRITICAL > HIGH > MEDIUM > LOW"
69
+ - "Không inflate severity để look impressive"
70
+
71
+ - id: report
72
+ name: "Tổng hợp báo cáo"
73
+ purpose: "Cung cấp báo cáo actionable cho developer"
74
+ required: true
75
+ skip_if: null
76
+ inputs:
77
+ - critical_findings
78
+ - high_findings
79
+ - medium_findings
80
+ outputs:
81
+ - review_report # Structured markdown report
82
+ - health_score # 0-100
83
+ actions:
84
+ - "Group findings theo file"
85
+ - "Mỗi finding: file:line + code quote + explanation + suggestion"
86
+ - "Đánh giá mức độ tuân thủ R-C-09 (Zero-Slop)"
87
+ - "Đánh giá rủi ro R-SEC-04"
88
+ - "Ghi log execution trace vào evals/traces/"
89
+ - "Tính health score: 100 - (critical×20 + high×10 + medium×3 + low×1)"
90
+
91
+ escalation:
92
+ max_retries: 1
93
+ on_failure: "Report partial findings với số files đã review / tổng"
@@ -1,75 +1,90 @@
1
- name: documentation
2
- version: 8.0.0
3
- description: "Pipeline viết và cập nhật tài liệu chính xác — phải match code thực tế, cấm bịa đặt."
4
-
5
- owner:
6
- type: engineering
7
- maintained_by: qk-team
8
-
9
- verification_profile: documentation
10
-
11
- steps:
12
- - id: audit_existing
13
- name: "Kiểm tra tài liệu hiện tại"
14
- purpose: "Xác định docs nào cần tạo mới, cập nhật, hay xóa"
15
- required: true
16
- skip_if: "Task là tạo doc mới hoàn toàn"
17
- inputs:
18
- - target_docs
19
- - relevant_code
20
- outputs:
21
- - outdated_sections # Sections that no longer match code
22
- - missing_sections # Things in code but not in docs
23
- - accurate_sections # Keep as-is
24
-
25
- - id: read_source
26
- name: "Đọc source code"
27
- purpose: "Hiểu chính xác behavior của code trước khi viết về nó"
28
- required: true
29
- skip_if: null
30
- inputs:
31
- - relevant_code_files
32
- outputs:
33
- - verified_behavior # What the code actually does
34
- - api_signatures # Function signatures, types, params
35
- - examples_from_code # Real usage examples found in codebase
36
- min_confidence: HIGH
37
- actions:
38
- - "Đọc implementation, không chỉ interface"
39
- - "Xác nhận examples từ test files nếu "
40
- - "Không assume behavior — phải verify từ code"
41
-
42
- - id: write
43
- name: "Viết tài liệu"
44
- purpose: "Tạo tài liệu chính xác và hữu ích"
45
- required: true
46
- skip_if: null
47
- inputs:
48
- - verified_behavior
49
- - api_signatures
50
- - examples_from_code
51
- outputs:
52
- - draft_documentation
53
- actions:
54
- - "Chỉ viết những gì đã verify từ code"
55
- - "Dùng examples thật từ codebase"
56
- - "Structure: What → Why → How → Examples"
57
-
58
- - id: verify_accuracy
59
- name: "Xác minh độ chính xác"
60
- purpose: "Đảm bảo doc không có thông tin sai hoặc lỗi thời"
61
- required: true
62
- skip_if: null
63
- inputs:
64
- - draft_documentation
65
- - verified_behavior
66
- outputs:
67
- - accuracy_check # PASS | FAIL with specific issues
68
- actions:
69
- - "So sánh từng claim trong doc với code thực tế"
70
- - "Flag bất kỳ thứ không thể verify từ code"
71
- exit_on_fail: FAILED
72
-
73
- escalation:
74
- max_retries: 1
75
- on_failure: "Report which sections could not be verified. Do not publish unverified content."
1
+ name: documentation
2
+ version: 8.0.0
3
+ description: "Pipeline viết và cập nhật tài liệu chính xác — phải match code thực tế, cấm bịa đặt."
4
+
5
+ owner:
6
+ type: engineering
7
+ maintained_by: qk-team
8
+
9
+ verification_profile: documentation
10
+
11
+ triggers:
12
+ - "write docs"
13
+ - "viết tài liệu"
14
+ - "update README"
15
+ - "cập nhật docs"
16
+ - "document this"
17
+ - "add documentation"
18
+
19
+ ide_binding:
20
+ slash_command: "/docs"
21
+ aliases: ["/document", "/readme"]
22
+
23
+ steps:
24
+ - id: audit_existing
25
+ name: "Kiểm tra tài liệu hiện tại"
26
+ purpose: "Xác định docs nào cần tạo mới, cập nhật, hay xóa"
27
+ required: true
28
+ skip_if: "Task là tạo doc mới hoàn toàn"
29
+ inputs:
30
+ - target_docs
31
+ - relevant_code
32
+ outputs:
33
+ - outdated_sections # Sections that no longer match code
34
+ - missing_sections # Things in code but not in docs
35
+ - accurate_sections # Keep as-is
36
+
37
+ - id: read_source
38
+ name: "Đọc source code"
39
+ purpose: "Hiểu chính xác behavior của code trước khi viết về nó"
40
+ required: true
41
+ skip_if: null
42
+ inputs:
43
+ - relevant_code_files
44
+ outputs:
45
+ - verified_behavior # What the code actually does
46
+ - api_signatures # Function signatures, types, params
47
+ - examples_from_code # Real usage examples found in codebase
48
+ min_confidence: HIGH
49
+ context_budget: 200
50
+ actions:
51
+ - "Đọc implementation, không chỉ interface"
52
+ - "Xác nhận examples từ test files nếu có"
53
+ - "Không assume behavior — phải verify từ code"
54
+
55
+ - id: write
56
+ name: "Viết tài liệu"
57
+ purpose: "Tạo tài liệu chính xác và hữu ích"
58
+ required: true
59
+ skip_if: null
60
+ inputs:
61
+ - verified_behavior
62
+ - api_signatures
63
+ - examples_from_code
64
+ outputs:
65
+ - draft_documentation
66
+ actions:
67
+ - "Chỉ viết những đã verify từ code"
68
+ - "Dùng examples thật từ codebase"
69
+ - "Đảm bảo docs tuân thủ R-C-09 (không slop text)"
70
+ - "Structure: What Why How Examples"
71
+
72
+ - id: verify_accuracy
73
+ name: "Xác minh độ chính xác"
74
+ purpose: "Đảm bảo doc không có thông tin sai hoặc lỗi thời"
75
+ required: true
76
+ skip_if: null
77
+ inputs:
78
+ - draft_documentation
79
+ - verified_behavior
80
+ outputs:
81
+ - accuracy_check # PASS | FAIL with specific issues
82
+ actions:
83
+ - "So sánh từng claim trong doc với code thực tế"
84
+ - "Flag bất kỳ thứ gì không thể verify từ code"
85
+ - "Ghi log execution trace vào evals/traces/"
86
+ exit_on_fail: FAILED
87
+
88
+ escalation:
89
+ max_retries: 1
90
+ on_failure: "Report which sections could not be verified. Do not publish unverified content."
@@ -1,103 +1,120 @@
1
- name: feature-delivery
2
- version: 8.0.0
3
- description: "Pipeline end-to-end để phát triển tính năng mới: từ requirement đến verified implementation."
4
-
5
- owner:
6
- type: engineering
7
- maintained_by: qk-team
8
-
9
- verification_profile: feature
10
-
11
- steps:
12
- - id: requirement
13
- name: "Phân tích yêu cầu"
14
- purpose: "Xác định rõ feature cần làm gì, cho ai, thành công trông như thế nào"
15
- required: true
16
- skip_if: null
17
- inputs:
18
- - user_description
19
- - existing_context
20
- outputs:
21
- - feature_scope # What's in, what's out
22
- - acceptance_criteria # How to know it's done
23
- - affected_areas # Which parts of codebase are touched
24
- min_confidence: HIGH
25
- actions:
26
- - "Viết lại requirement bằng ngôn ngữ kỹ thuật"
27
- - "Xác định acceptance criteria rõ ràng"
28
- - "Identify files/modules sẽ bị ảnh hưởng"
29
- exit_on_fail: BLOCKED
30
-
31
- - id: context
32
- name: "Load context"
33
- purpose: "Hiểu codebase hiện tại đủ để implement đúng cách"
34
- required: true
35
- skip_if: "Context graph đã từ qk-context-loader"
36
- inputs:
37
- - affected_areas
38
- outputs:
39
- - existing_patterns # How similar things are done in this codebase
40
- - integration_points # Where new code will connect
41
- - constraints # Tech stack, conventions to follow
42
- actions:
43
- - "Đọc các file liên quan (targeted, không đọc toàn bộ)"
44
- - "Tìm pattern tương tự trong codebase"
45
- - "Xác định integration points"
46
-
47
- - id: design
48
- name: "Thiết kế solution"
49
- purpose: "Quyết định approach trước khi code"
50
- required: true
51
- skip_if: "Feature đơn giản, single file, no design decision needed"
52
- inputs:
53
- - feature_scope
54
- - existing_patterns
55
- - constraints
56
- outputs:
57
- - implementation_plan # Files to create/modify + what changes
58
- - data_structures # New types, interfaces if needed
59
- - api_contract # If adding/changing API
60
- min_confidence: HIGH
61
- actions:
62
- - "Outline: files to create, files to modify"
63
- - "Define data structures types"
64
- - "Xác định API contract nếu cần"
65
-
66
- - id: implement
67
- name: "Implement"
68
- purpose: "Viết code theo design đã approved"
69
- required: true
70
- skip_if: null
71
- inputs:
72
- - implementation_plan
73
- - existing_patterns
74
- outputs:
75
- - created_files
76
- - modified_files
77
- - implementation_summary
78
- actions:
79
- - "Implement theo thứ tự: types logic UI tests"
80
- - "Follow existing patterns và conventions"
81
- - "Không refactor ngoài scope"
82
-
83
- - id: verify
84
- name: "Verify implementation"
85
- purpose: "Xác nhận feature hoạt động đúng theo acceptance criteria"
86
- required: true
87
- skip_if: null
88
- inputs:
89
- - acceptance_criteria
90
- - created_files
91
- - modified_files
92
- outputs:
93
- - verification_result
94
- - unmet_criteria # Any criteria not yet met
95
- actions:
96
- - "Đối chiếu từng acceptance criterion"
97
- - "Re-read key implementation sections"
98
- - "Run tests nếu có"
99
- exit_on_fail: PARTIAL
100
-
101
- escalation:
102
- max_retries: 1
103
- on_failure: "Report implementation_plan + what was completed + what remains + blocker reason"
1
+ name: feature-delivery
2
+ version: 8.0.0
3
+ description: "Pipeline end-to-end để phát triển tính năng mới: từ requirement đến verified implementation."
4
+
5
+ owner:
6
+ type: engineering
7
+ maintained_by: qk-team
8
+
9
+ verification_profile: feature
10
+
11
+ triggers:
12
+ - "add feature"
13
+ - "thêm tính năng"
14
+ - "implement feature"
15
+ - "build a new"
16
+ - "new component"
17
+ - "làm tính năng mới"
18
+
19
+ ide_binding:
20
+ slash_command: "/feature"
21
+ aliases: ["/build", "/implement"]
22
+
23
+ steps:
24
+ - id: requirement
25
+ name: "Phân tích yêu cầu"
26
+ purpose: "Xác định feature cần làm gì, cho ai, thành công trông như thế nào"
27
+ required: true
28
+ skip_if: null
29
+ inputs:
30
+ - user_description
31
+ - existing_context
32
+ outputs:
33
+ - feature_scope # What's in, what's out
34
+ - acceptance_criteria # How to know it's done
35
+ - affected_areas # Which parts of codebase are touched
36
+ min_confidence: HIGH
37
+ actions:
38
+ - "Viết lại requirement bằng ngôn ngữ kỹ thuật"
39
+ - "Xác định acceptance criteria ràng"
40
+ - "Identify files/modules sẽ bị ảnh hưởng"
41
+ exit_on_fail: BLOCKED
42
+
43
+ - id: context
44
+ name: "Load context"
45
+ purpose: "Hiểu codebase hiện tại đủ để implement đúng cách"
46
+ required: true
47
+ skip_if: "Context graph đã có từ qk-context-loader"
48
+ inputs:
49
+ - affected_areas
50
+ outputs:
51
+ - existing_patterns # How similar things are done in this codebase
52
+ - integration_points # Where new code will connect
53
+ - constraints # Tech stack, conventions to follow
54
+ actions:
55
+ - "Đọc các file liên quan (targeted, không đọc toàn bộ)"
56
+ - "Tìm pattern tương tự trong codebase"
57
+ - "Xác định integration points"
58
+
59
+ - id: design
60
+ name: "Thiết kế solution"
61
+ purpose: "Quyết định approach trước khi code"
62
+ required: true
63
+ skip_if: "Feature đơn giản, single file, no design decision needed"
64
+ inputs:
65
+ - feature_scope
66
+ - existing_patterns
67
+ - constraints
68
+ outputs:
69
+ - implementation_plan # Files to create/modify + what changes
70
+ - data_structures # New types, interfaces if needed
71
+ - api_contract # If adding/changing API
72
+ min_confidence: HIGH
73
+ actions:
74
+ - "Outline: files to create, files to modify"
75
+ - "Define data structures và types"
76
+ - "Xác định API contract nếu cần"
77
+ human_checkpoint:
78
+ condition: "affected_areas thuộc complexity level 'high' hoặc 'critical' (5+ files, có external dependency hoặc breaking change)"
79
+ message: "Feature này độ phức tạp cao. Xác nhận implementation_plan trước khi bắt đầu code."
80
+ - id: implement
81
+ name: "Implement"
82
+ purpose: "Viết code theo design đã approved"
83
+ required: true
84
+ skip_if: null
85
+ inputs:
86
+ - implementation_plan
87
+ - existing_patterns
88
+ outputs:
89
+ - created_files
90
+ - modified_files
91
+ - implementation_summary
92
+ actions:
93
+ - "Implement theo thứ tự: types → logic → UI → tests"
94
+ - "Follow existing patterns conventions"
95
+ - "Code phải tuân thủ nghiêm ngặt R-C-09 (Zero-Slop)"
96
+ - "Phải validate input/output theo R-SEC-04"
97
+ - "Không refactor ngoài scope"
98
+
99
+ - id: verify
100
+ name: "Verify implementation"
101
+ purpose: "Xác nhận feature hoạt động đúng theo acceptance criteria"
102
+ required: true
103
+ skip_if: null
104
+ inputs:
105
+ - acceptance_criteria
106
+ - created_files
107
+ - modified_files
108
+ outputs:
109
+ - verification_result
110
+ - unmet_criteria # Any criteria not yet met
111
+ actions:
112
+ - "Đối chiếu từng acceptance criterion"
113
+ - "Re-read key implementation sections"
114
+ - "Run tests nếu có"
115
+ - "Ghi log execution trace vào evals/traces/"
116
+ exit_on_fail: PARTIAL
117
+
118
+ escalation:
119
+ max_retries: 1
120
+ on_failure: "Report implementation_plan + what was completed + what remains + blocker reason"