api-integration-codegen
Generate API integration test suites from Harnessy regression artifacts using a QA profile plus optional delivery-profile adapters.
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 13
- Forks
- 6
01 前言 Front Matter
- name
- api-integration-codegen
- description
- Generate API integration test suites from Harnessy regression artifacts using a QA profile plus optional delivery-profile adapters.
- allowed-tools
- Read, Write, Grep, Glob, Bash, ApplyPatch
- argument-hint
- [--suite <X>] [--profile .flow/delivery-profile.json] [--delta]
- disable-model-invocation
- false
02 资源文件 4
- 参考文档commands/api-integration-codegen.md3.0 KB
- 参考文档manifest.yaml769 B
- 脚本scripts/generate-api-suite.ts9.1 KB
- 脚本scripts/parse-api-regression.ts6.0 KB
03 SKILL.md 正文
API Integration Codegen
Purpose
Generate API integration test suites from the project's API regression spec without assuming one repository layout, helper module path, or fixture naming scheme.
Required contract
-
canonical regression source from the active QA profile, typically
.jarvis/context/profiles/qa.json -
optional adapter metadata from
.flow/delivery-profile.jsonfor suite metadata, helper imports, fixture imports, and DB helper rules -
Template paths are resolved from
${AGENTS_SKILLS_ROOT}/api-integration-codegen/.
Steps
- Follow
${AGENTS_SKILLS_ROOT}/api-integration-codegen/commands/api-integration-codegen.mdexactly. - Run
qa ids --profile <qa-profile>first and use the QA profile as the source of truth for API regression inputs. - Parse only canonical API scenarios from the QA profile's configured regression sources.
- Generate the suite file using delivery-profile adapter data only for suite metadata, helper imports, fixture imports, and optional DB helper rules.
- Refine the generated suite when business logic requires stronger assertions than the scaffolder can infer automatically.
Output
- generated
.api.test.tssuite content or files in the QA-profile-configured API suites directory - generation summary with suite/scenario counts and any unresolved adapter gaps
04 同仓库更多 Skills
personal-knowledge
Save sources to the private Harnessy learning library, sync delivered readings, answer questions from saved evidence, browse its wiki, and generate weekly learning reviews.
valid-skill
A valid skill for testing purposes.
unknown-field
A skill with an unknown frontmatter field.
nested-child
Nested skill should be ignored.
root-skill-preferred
Root skill should win.
no-frontmatter
暂无简介