/everything-copilot-cli:api-and-interface-designfrom everything-copilot-cli
Defines public API, CLI, webhook, or SDK contracts before implementation. Guides contract drafting, Hyrum's Law review, and breaking-change policy for cross-team interfaces.
Ships in everything-copilot-cli. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Define the contract before the implementation. This skill is for public or cross-team interfaces where downstream consumers can depend on every observable behavior, including the ones you did not mean to promise.
spec-driven-development for a compatibility-sensitive feature| Instead of api-and-interface-design | Use |
|---|---|
| Internal implementation design inside one module | spec-driven-development |
| Writing user-facing docs for a finished API | api-documentation |
| Retiring or replacing an old interface | deprecation-and-migration |
| Narrow bug fixes with no contract change | do the fix directly |
Write down:
If the consumer or stability target is unclear, you are not ready to implement.
Create a contract document or spec section before touching implementation:
## Interface Contract: createWidget
**Interface type**: REST API / CLI / SDK / webhook
**Consumers**: Internal services + external customers
**Stability**: stable / beta / experimental
### Inputs
- Method / command / function name:
- Required parameters:
- Optional parameters:
- Validation rules:
### Outputs
- Success shape:
- Error shape:
- Ordering / pagination guarantees:
### Invariants
- [Behavior that must remain true]
### Non-Goals
- [What this interface deliberately does not promise]
For every observable behavior, ask:
Common accidental contracts:
Validation should happen where untrusted input enters the system:
Do not scatter the same runtime validation through every internal layer. Define:
| Change type | Default strategy |
|---|---|
| Additive field | Make optional first; define default behavior |
| Renamed field | Add new field, deprecate old one, keep overlap window |
| Semantic change | Version the interface or add a new endpoint/flag |
| Removed capability | Publish a migration path before removal |
If you cannot explain the migration path in two or three sentences, the change is not ready.
Once the contract is stable:
spec-driven-developmentWhen the interface exists and the question is "is this contract actually good?", audit it from evidence instead of redesigning it. Stay read-only unless asked to fix.
Scope: audit; surfaces: <commands/exports/config>; excludes: <UI, docs prose, private internals>--help, --version, one success path, one invalid-input path, and the same command
with stdout redirected to a new temporary file outside the worktree to see non-TTY output;
read it, then delete it. Use --dry-run where it exists; never trigger a real mutation to test
the experience.exports/bin actually resolve to after a build. Packing can run
lifecycle scripts — read them first, or probe a disposable checkout.Adapted from the dx-audit skill in mblode/agent-skills (MIT).
## Interface Contract: `copilot skill install`
**Interface type**: CLI
**Consumers**: Developers using Copilot CLI
**Stability**: beta
### Inputs
- Command: `copilot skill install <url-or-path>`
- Optional flags: `--dry-run`, `--force`
- Validation rules:
- URL must be HTTPS or GitHub shorthand
- Local path must contain a valid skill directory
### Outputs
- Exit code `0`: install succeeded
- Exit code `1`: validation failure
- Exit code `2`: network or fetch failure
### Invariants
- Installed skill is validated before being written
- `--dry-run` never mutates the filesystem
### Non-Goals
- Private repository authentication
- Version pinning
| Mistake | Fix |
|---|---|
| Letting implementation details leak into the contract | Document only consumer-visible behavior |
| Treating every internal helper as a public interface | Limit this skill to external or cross-team boundaries |
| Adding validation everywhere "just in case" | Validate once at the boundary, then trust the normalized input |
| Delaying breaking-change planning until after coding | Choose the migration strategy before implementation |
spec-driven-development — turn the contract into an implementation planapi-documentation — publish user-facing API docsdeprecation-and-migration — retire or replace old interfaces safelyWhat SKILL.md sets; muted values are Claude Code's defaults
115 skills in this plugin
/actions-debuggingUse when a GitHub Actions workflow fails — diagnose the run log, identify the root cause, and apply a targeted fix/add-to-changelogUse when you've shipped a feature, fix, or breaking change and need to update CHANGELOG.md — follows Keep a Changelog format and syncs version numbers across package manifests./agent-governanceUse when designing or reviewing an AI agent system that needs policy-based access controls, intent classification, tool-level rate limiting, trust scoring for multi-agent workflows, or append-only audit trails.
npx claudepluginhub drvoss/everything-copilot-cli --plugin everything-copilot-cliOther plugins' skills for the same job