Standards for authoring SDD plugin agents — frontmatter, self-containment, skill references, and no-user-interaction rules.
中文简介正在准备中。当前显示原文说明。
Integration testing patterns - database setup/teardown, API testing, contract testing, and Testkube execution.
中文简介正在准备中。当前显示原文说明。
安装前可以查看交给 AI 代理的指令内容。
Dynamic path: All paths below use
components/<testing-component>/as a placeholder. The actual directory depends on the testing component defined insdd/sdd-settings.yaml. Delegate to thetechpack-settingsskill for directory path resolution — it maps component type (testing) + name to a filesystem path (e.g.,type=testing, name=integration→components/testing-integration/).
Tests that verify multiple components working together with real infrastructure. Integration tests run in Kubernetes via Testkube for environment parity.
| Aspect | Details |
|---|---|
| Location | components/<testing-component>/tests/integration/ |
| Framework | Vitest |
| Executor | Testkube |
| Runs In | Kubernetes cluster |
| Written By | Tester agent |
components/<testing-component>/
├── tests/
│ └── integration/
│ ├── api/
│ │ ├── users.test.ts
│ │ ├── auth.test.ts
│ │ └── plans.test.ts
│ ├── db/
│ │ └── migrations.test.ts
│ └── helpers/
│ ├── client.ts
│ ├── database.ts
│ └── seed.ts
├── testsuites/
│ └── integration-suite.yaml
└── fixtures/
└── seed-data.sql
For detailed guidance, read these on-demand:
import { describe, it, expect } from 'vitest';
import Ajv2020 from 'ajv/dist/2020.js';
import openApiSpec from '../../../../contract/openapi.json';
const ajv = new Ajv2020({ allErrors: true });
describe('API Contract Compliance', () => {
describe('POST /api/users', () => {
it('response matches OpenAPI schema', async () => {
const response = await client.post('/api/users', validUserData);
const schema = openApiSpec.paths['/api/users'].post.responses['201'].content['application/json'].schema;
const validate = ajv.compile(schema);
const valid = validate(response.data);
expect(valid).toBe(true);
if (!valid) {
console.error('Schema validation errors:', validate.errors);
}
});
});
});
@spec and @issue JSDoc tagsBefore committing integration tests, verify:
@spec and @issue tags present in file headertestkube run testThis skill defines no input parameters or structured output.
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Standards for authoring SDD plugin agents — frontmatter, self-containment, skill references, and no-user-interaction rules.
中文简介正在准备中。当前显示原文说明。
Scaffolds Node.js/TypeScript backend components with CMDO architecture, driven by component settings.
中文简介正在准备中。当前显示原文说明。
CMDO architecture standards for Node.js/TypeScript backends with strict layer separation.
中文简介正在准备中。当前显示原文说明。
Intent-to-command mappings for fullstack-typescript tech pack features.
中文简介正在准备中。当前显示原文说明。
Create change specification and implementation plan with dynamic phase generation. Supports feature, bugfix, refactor, and epic types.
中文简介正在准备中。当前显示原文说明。
Orchestrates the full change lifecycle — routes actions to phase-specific sub-files.
中文简介正在准备中。当前显示原文说明。