测试计划与部署验证
fabric-test
QA 技能——从可测试性角度审查架构、根据验收标准创建测试计划,并验证部署。当用户说 “create test plan”、“validate deployment”、“run validation”、“review architecture”、“check items”、“what should we test”,或在架构定稿或部署完成后使用。不用于架构设计(使用 fabric-design)或部署(使用 fabric-deploy)。
- License 许可
- MIT
- 最近更新
- 2026-05-22
- Stars
- ★ 50
- Forks
- 16
01 前言 Front Matter
- name
- fabric-test
- description
- The QA skill — reviews architecture for testability, creates test plans from acceptance criteria, and validates deployments. Use when user says "create test plan", "validate deployment", "run validation", "review architecture", "check items", "what should we test", or after architecture is finalized or deployment is complete. Do NOT use for architecture design (use fabric-design) or deployment (use fabric-deploy).
02 资源文件 8
- 参考文档agents/openai.yaml135 B
- 参考文档references/validation-report-template.md1.6 KB
- 参考文档schemas/remediation-log.md3.6 KB
- 参考文档schemas/test-plan.md2.1 KB
- 参考文档schemas/validation-report.md2.8 KB
- 脚本scripts/check-drift.py22.4 KB
- 脚本scripts/test-plan-prefill.py20.9 KB
- 脚本scripts/validate-items.py7.9 KB
03 SKILL.md 正文
⚠️ Artifacts-only mode: When
deploy_modeisartifacts_only, Mode 2 (Post-Deployment Validation) is NOT invoked — the pipeline runner handles structural validation deterministically. Mode 1 (Test Plan) runs normally in all modes.
Fabric Testing & Validation (QA Role)
Mode 1: Architecture Review + Test Plan (Phase 2a)
The runner pre-generates test-plan.md via test-plan-prefill.py before this skill is invoked. Your job: (1) verify each acceptance criterion maps to the correct items/waves from the architecture handoff, (2) add edge cases and expected results where missing, (3) replace every <!-- AGENT: FILL --> marker with real content. Set review_outcome: approved (no red blockers) or concerns (has red).
Mode 2: Post-Deployment Validation (Phase 3)
For live workspace validation:
python .github/skills/fabric-test/scripts/validate-items.py _projects/[name]/docs/deployment-handoff.md
validate-items.py emits a manual validation checklist (it does not call the Fabric REST API). Follow the checklist from tool output. Write _projects/[name]/docs/validation-report.md with status: passed | partial | failed.
If any finding is routed_to: engineer, also write remediation-log.md per the schema at .github/skills/fabric-test/schemas/remediation-log.md.
Constraints
- Never invent ACs not in the Architecture Handoff
- Never modify Fabric items — validate only
04 同仓库更多 Skills
会话交接文档生成
handoff
将当前对话压缩整理为交接文档,供另一个智能体(agent)接手继续工作。
方案质询与文档更新
grill-with-docs
质询会话:依据现有领域模型挑战你的方案、精炼术语,并随着决策逐步明确即时更新文档(CONTEXT.md、ADRs)。当用户希望依据项目自身的术语和已记录的决策对方案进行压力测试时使用。
Signal Mapper 覆盖自愈
fabric-heal
通过迭代生成问题以及关键词/能力补丁,提升 signal mapper 关键词覆盖率和能力覆盖率(ADR-0002)的自愈技能。当用户说 “heal signal mapper”、“improve keyword coverage”、“improve capability coverage”、“generate problem statements”、“run healing loop”、“patch signal mapper”,或询问 “signal mapper gaps”、“capability gaps” 时使用。不用于项目架构或部署。
项目简报文档生成
fabric-document
将所有流水线交接成果综合为一份人类可读的项目简报。当用户说 “generate docs”、“create documentation”、“document the project”,或在验证通过后使用。不用于部署(使用 fabric-deploy)或架构设计(使用 fabric-design)。
Fabric 需求发现与项目初始化
fabric-discover
收集需求信息(项目名称 + 问题陈述)、搭建项目脚手架、推断架构信号,并产出发现简报(Discovery Brief)。这是默认的首个技能——对于任何描述数据、分析、报表或集成问题的新用户请求都要调用它,无论其表述方式如何。信号映射器负责关键词匹配;路由只需先把用户引导到这里。有疑问时,调用 fabric-discover——误判的需求收集可以纠正;自行发挥的回答则不可挽回。常见触发词包括「IoT 传感器」「批处理 ETL」「实时分析」「数据仓库」「合规」「仪表板」「流式处理」「我们需要分析」或「哪种任务流适合我的需求」,但任何对数据问题的描述都符合条件。不用于架构设计(使用 fabric-design)、部署(使用 fabric-deploy)或验证(使用 fabric-test)。
Microsoft Fabric 架构设计
fabric-design
架构师(Architect)技能——设计 Microsoft Fabric 架构并产出最终的架构交接成果。当用户说「设计架构」「采用哪种任务流」「medallion 还是 lambda」「创建架构」,或询问 Fabric 架构模式时使用。不用于部署(使用 fabric-deploy)、测试(使用 fabric-test)或需求发现(使用 fabric-discover)。