Install
$ agentstack add skill-xinyiai0724-tools-approve-tech-design ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Skill: approve-tech-design
类型: 开发期 Skill(develop/ 组,架构审批收口) 调用时机: architecture-design pipeline 的 human_approval 通过后
用途
将人工审批从提示动作变成可审计的状态推进动作。review-tech-design 只负责 AI/结构化评审;本 Skill 负责在人工确认后写入审批记录并解锁 /coding。
参数
| 参数 | 类型 | 必填 | 说明 | |------|------|------|------| | cr_id | string | yes | 目标 CR-ID | | approver | string | no | 审批人 ID;为空使用 cr.md owners.development.id | | notes | string | no | 审批备注 |
执行步骤
- 读取
change-requests/{cr_id}/cr.md与_backlog.yml条目,确认当前 status 为tech-design-review-pending。 - 确认
cr.md owners.development.id与owners.development.assigned-at均存在;若approver为空,使用该负责人。 - 读取
change-requests/{cr_id}/review-annotations/sdd.yml,确认verdict=pass且 blockers 为空。 - 写入或更新
change-requests/{cr_id}/approval.yml的tech-design段:
tech-design:
approver: {approver}
approved-at: {YYYY-MM-DDTHH:mm:ss+08:00}
owner-role: development
notes: "{notes 或 ''}"
sdd-ref: "change-requests/{cr_id}/sdd.md"
review-ref: "change-requests/{cr_id}/review-annotations/sdd.yml"
- 调用
cr-status-set(next_status=tech-design-reviewed,trigger=approve-tech-design,expected_current_status=tech-design-review-pending)将 status 推进为tech-design-reviewed。 - 输出摘要与下一步:
codingpipeline。
错误处理
| 场景 | 行为 | |------|------| | status 不是 tech-design-review-pending | abort,输出当前 status 与允许的下一步 | | sdd 评审不存在或 verdict 非 pass | abort,要求先修复并重新运行 review-tech-design | | cr-status-set 失败 | 回滚本次 approval.yml 修改,保持原 status |
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: xinyiai0724
- Source: xinyiai0724/tools
- License: Apache-2.0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.