Agent Skillssupercheck-io/supercheck › supercheck-feature-implementation

supercheck-feature-implementation

GitHub

用于端到端实现Supercheck新功能,涵盖从需求定义、数据模型、认证授权、业务逻辑到UI、测试及文档的全链路开发工作。

.agents/skills/feature-implementation/SKILL.md supercheck-io/supercheck

Trigger Scenarios

需要实现新的Supercheck功能 涉及跨层级的功能变更

Install

npx skills add supercheck-io/supercheck --skill supercheck-feature-implementation -g -y
More Options

Non-standard path

npx skills add https://github.com/supercheck-io/supercheck/tree/main/.agents/skills/feature-implementation -g -y

Use without installing

npx skills use supercheck-io/supercheck@supercheck-feature-implementation

指定 Agent (Claude Code)

npx skills add supercheck-io/supercheck --skill supercheck-feature-implementation -a claude-code -g -y

安装 repo 全部 skill

npx skills add supercheck-io/supercheck --all -g -y

预览 repo 内 skill

npx skills add supercheck-io/supercheck --list

SKILL.md

Frontmatter
{
    "name": "supercheck-feature-implementation",
    "description": "Implement a new or changed Supercheck feature end to end across schema, auth\/RBAC, services, routes\/actions, UI, queues\/workers, CLI\/recorder, tests, docs, and deployment contracts."
}

Supercheck feature implementation

Use the domain skill matching the feature. For cross-cutting work, load each applicable domain skill; every skill is self-contained and available directly under .agents/skills.

flowchart LR
  INTENT[User intent] --> CONTRACT[Behavior and ownership contract]
  CONTRACT --> DATA[Schema and migration]
  CONTRACT --> AUTH[Auth and RBAC]
  DATA --> SERVICE[Business logic]
  AUTH --> SERVICE
  SERVICE --> API[Routes and actions]
  SERVICE --> QUEUE[Queue and worker]
  API --> UI[UI, hooks, CLI, recorder]
  QUEUE --> TEST[Test matrix]
  UI --> TEST
  TEST --> DOC[Docs and skills]

Choose the required layers

Feature shape Typical layers
UI-only Component/page, accessibility, client/server boundary, UI tests
App CRUD Schema/migration, validation, RBAC, service, route/action, hook/UI, audit, tests
App and worker App CRUD plus shared queue contract, processor/service, capacity/cancellation, integration tests
External API/CLI Bearer auth, stable schemas/status/output, rate limits, compatibility tests, docs
Recorder/browser Extension permissions/messages, app bridge/API, browser tests, store/release docs
Provider integration Credential/webhook boundary, idempotency, durable state, failure/recovery, provider acceptance
Infrastructure Config/manifests, secrets, security controls, rollout/rollback, rendered/live validation

Only add layers the behavior needs. Avoid speculative tables, CRUD, queues, abstractions, and client state.

Implementation workflow

  1. Define user-visible behavior, owning organization/project scope, authorization resource/action, state transitions, limits, retention, side effects, and failure behavior.
  2. Read neighboring code and tests. Reuse central auth context, RBAC, validation, security, queue, storage, billing, and logging helpers.
  3. Identify public and rolling-deployment contracts before changing schema, API, queue payload, statuses, CLI JSON, extension messages, or environment variables.
  4. Implement the smallest complete vertical slice, preserving cloud and self-hosted behavior.
  5. Add regression tests for happy, denied, malformed, cross-tenant, dependency-failure, retry/idempotency, cancellation, and cleanup paths as applicable.
  6. Update public docs, examples, environment/deployment configuration, and affected agent skills in the same change.

Data and API rules

  • Determine scope from the owning resource; authorize before reads/mutations and scope queries at the database boundary.
  • Validate all external input using existing schemas/patterns and bound strings, arrays, files, URLs, and result sizes.
  • Generate/review database migrations and handle existing data, uniqueness, indexes, deletion, and version skew.
  • Keep internal errors in structured/redacted logs and return stable safe public errors/status codes.
  • Audit security, membership, secret, billing, and administrative mutations.

Background and external side effects

  • Keep app/worker queue contracts in parity and compatible during rolling deployments.
  • Do not enqueue decrypted secrets. Resolve scoped values immediately before isolated use.
  • Make retries safe and idempotent; use durable idempotency keys/records for provider, webhook, usage, and notification effects.
  • Propagate cancellation and cleanup through every layer; release capacity/resources exactly once.
  • Use SSRF-safe fetching for user-controlled URLs and verify signatures for inbound provider events.

UI and public client rules

  • Prefer Server Components and direct React Query data; keep query keys/invalidation exact.
  • Preserve loading, empty, error, keyboard, focus, labels, and responsive states.
  • CLI JSON and exit codes, recorder messages, public APIs, and configuration formats are compatibility contracts.
  • Server-side enforcement remains authoritative for permissions, entitlements, limits, and feature modes.

Completion gate

  • Run focused then broad checks from affected package directories.
  • Verify diff cleanliness and no generated/secret files.
  • State local evidence and outstanding browser, CI, provider, deployment, billing, or production gates separately.
  • Do not claim merge/release readiness only because implementation tests pass.

Version History

  • 974a753 Current 2026-09-22 16:21

Same Skill Collection

.agents/skills/architecture/SKILL.md
.agents/skills/code-review/SKILL.md
.agents/skills/data-storage/SKILL.md
.agents/skills/execution-engine/SKILL.md
.agents/skills/infrastructure-deployment/SKILL.md
.agents/skills/integrations-extensions/SKILL.md
.agents/skills/monitoring-alerts/SKILL.md
.agents/skills/platform-features/SKILL.md
.agents/skills/security-auth/SKILL.md
.agents/skills/sre-operations/SKILL.md
.agents/skills/testing-qa/SKILL.md
.github/skills/code-review/SKILL.md
.github/skills/docker-compose-deployment/SKILL.md
.github/skills/feature-implementation/SKILL.md

Metadata

Files
0
Version
974a753
Hash
0cad3e36
Indexed
2026-09-22 16:21

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-23 14:08
浙ICP备14020137号-1