agents-standards
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.
Claude Code
$ npx -y skills add LiorCohen/sdd --skill integration-testing-standards --agent claude-code
Codex
$ npx skills add LiorCohen/sdd --skill integration-testing-standards -a codex -y
Cursor
$ npx skills add LiorCohen/sdd --skill integration-testing-standards -a cursor -y
Gemini CLI
$ npx skills add LiorCohen/sdd --skill integration-testing-standards -a gemini-cli -y
GitHub Copilot
$ npx skills add LiorCohen/sdd --skill integration-testing-standards -a github-copilot -y
OpenCode
$ npx skills add LiorCohen/sdd --skill integration-testing-standards -a opencode -y
Windsurf
$ npx skills add LiorCohen/sdd --skill integration-testing-standards -a windsurf -y
name: integration-testing-standards description: Integration testing patterns - database setup/teardown, API testing, contract testing, and Testkube execution. user-invocable: false
> **Dynamic path:** All paths below use `components/<testing-component>/` as a placeholder. The actual directory depends on the testing component defined in `sdd/sdd-settings.yaml`. Delegate to the `techpack-settings` skill 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);
}
});
});
});---
---
Before committing integration tests, verify:
---
This skill defines no input parameters or structured output.
Structure for AI-assisted development AI coding assistants are powerful but chaotic. You prompt, you get code, but then what?
Standards for authoring SDD plugin agents — frontmatter, self-containment, skill references, and no-user-interaction rules.
Standards for authoring SDD plugin commands — frontmatter, user interaction, skill/agent invocation, CLI integration, and output…
Create a commit following repository guidelines with proper versioning and changelog updates.
Two-step self-review at every task lifecycle phase. Step 1 (this skill) runs in-context to gather session signals — files read vs…
D2 diagramming language reference for architecture diagrams, sequence diagrams, grid layouts, SQL tables, and class diagrams.…
Writes and maintains user-facing documentation for the SDD plugin. Proactively detects when docs are out of sync with plugin…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.