Skip to content
Back to skills

Specs

ASecurity

- **Status**: Archived - **Created**: 2026-03-26 - **Priority**: Medium - **Scope**: universal

  • 75 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 4, 2026
developmenttestingapi

Works with

  • api

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned September 4, 2026

npx -y skills add AsiaOstrich/universal-dev-standards --skill specs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Specs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Specs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/asiaostrich-specs-universal-dev-standards/badge)](https://www.skillsdirectory.com/skills/asiaostrich-specs-universal-dev-standards)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# [SPEC-CONTRACT-001] Feature: Contract Test Skill

- **Status**: Archived
- **Created**: 2026-03-26
- **Priority**: Medium
- **Scope**: universal

## Overview

新增 `/contract-test` 技能作為合約測試的引導入口,整合已有的 `options/testing/contract-testing.md` 內容。提供 Pact(消費者驅動)和 OpenAPI(提供者驅動)兩種策略的互動式引導。

## Requirements

### REQ-1: 互動式合約測試引導

#### Scenario: 啟動合約測試引導
- **GIVEN** 使用者執行 `/contract-test`
- **WHEN** AI 助手引導選擇策略
- **THEN** 根據架構(微服務/單體/第三方 API)推薦策略並引導設定

### REQ-2: 合約驗證指令

#### Scenario: 驗證合約
- **GIVEN** 使用者執行 `/contract-test verify`
- **WHEN** AI 檢查合約定義檔案
- **THEN** 報告合約覆蓋率和不一致之處

## Acceptance Criteria

- **AC-1**: `/contract-test` 引導選擇 Pact 或 OpenAPI 策略
- **AC-2**: `/contract-test verify` 報告合約覆蓋率
- **AC-3**: 翻譯同步通過

## Technical Design

### 新增檔案

```
skills/contract-test-assistant/
├── SKILL.md
└── guide.md (指向 options/testing/contract-testing.md)
.claude/skills/contract-test-assistant/
├── SKILL.md
└── guide.md
locales/zh-TW/skills/contract-test-assistant/
├── SKILL.md
└── guide.md
locales/zh-CN/skills/contract-test-assistant/
├── SKILL.md
└── guide.md
```

Files in this skill

  • README.md5.5 KB
  • SPEC-AC-002-four-layer-traceability.md2.9 KB
  • SPEC-ADR-001-adr-skill.md7.7 KB
  • SPEC-AGENT-COMM-001-agent-communication-protocol.md16.4 KB
  • SPEC-ALERT-001-alerting-standards.md11.1 KB
  • SPEC-CHAOS-001-chaos-engineering-standards.md6.2 KB
  • SPEC-CHECKIN-002-linting-strategy.md6.5 KB
  • SPEC-COMPILE-001-standards-as-hooks-compiler.md5.1 KB
  • SPEC-CONTAINER-001-containerization-standards.md8.2 KB
  • SPEC-CONTRACT-001-contract-test-skill.md1.4 KB
  • SPEC-DEC-001-borrow-effectiveness-framework.md4.7 KB
  • SPEC-DEPLOY-002-deployment-verification.md3.2 KB
  • SPEC-DEPRECATION-001-deprecation-standards.md7.4 KB
  • SPEC-DERIVE-001-multi-level-test-derivation.md8.4 KB
  • SPEC-DESIGN-001-design-document-standards.md2.9 KB
  • SPEC-DISCOVER-002-risk-register.md2.2 KB
  • SPEC-DOCLC-001-atdd-traceability.md1.7 KB
  • SPEC-DOCLC-001-documentation-lifecycle.md7.5 KB
  • SPEC-ENV-001-environment-standards.md9.6 KB
  • SPEC-ENV-002-iac-principles.md2.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…