docs-components-design

Maintain technical design docs for services, components, workers, modules, and APIs. Use when implementation design, contracts, schema, integrations, runtime behavior, or operational concerns change.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "docs-components-design" with this command: npx skills add onatm/agent-skills/onatm-agent-skills-docs-components-design

Docs Components Design

Maintain technical design docs for implementation units. Put contracts, state, runtime behavior, and operational detail here rather than in feature or architecture docs.

Resource Map

  • Use assets/doc-starters/component-design-doc.md when creating or substantially rewriting a doc in docs/designs/.
  • Read references/component-design-example.md when you need a worked example of the expected technical depth.

When to Use

  • New service, worker, module, integration surface, or shared component
  • Changes to interfaces, contracts, schema, queues, state machines, or external integrations
  • Changes to concurrency, retries, failure handling, security boundaries, or operational behavior
  • Technical design updates that should not live in feature docs

Do Not Use

  • System or domain topology docs that belong in docs-architecture
  • User-facing feature behavior and goals that belong in docs-feature-design

Workflow

  1. Identify the implementation unit and current doc path.
  • Default location is docs/designs/
  • Reuse an existing design doc when one already exists
  1. Capture the technical shape of the change.
  • Problem and scope
  • Interfaces and contracts
  • Data model or state changes
  • Runtime behavior, failure modes, and operations
  • Security and ownership boundaries
  1. Keep feature and architecture boundaries clean.
  • Link to relevant feature docs instead of retelling the product story
  • Link to architecture docs instead of restating system topology
  1. Verify against the repo.
  • Commands, migrations, contracts, and runtime behavior match the current code
  • Design decisions still reflect the active implementation
  1. Trim low-value detail.
  • Avoid path dumps and copied code
  • Keep only the technical detail needed to understand and maintain the component

Writing Rules

  • Technical detail belongs here
  • Prefer concise summaries of contracts, schemas, and state over long pasted definitions
  • If one component supports multiple features, describe the reusable implementation capability rather than a single feature narrative
  • Make trade-offs, failure modes, and ownership explicit
  • The Technical Design sub-sections (Interfaces, Data Model, Runtime, Security) are a baseline — add domain-specific sections (Processing Flow, Algorithm, Examples, Configuration) at the same level when they clarify the design better than generic sub-sections would

Quality Checklist

  • The doc clearly names the component or service scope
  • Contracts, state, and runtime behavior are accurate
  • Operational and security details are current
  • Feature behavior is linked out rather than embedded
  • Architecture context is referenced rather than duplicated

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

docs-feature-design

No summary provided by upstream source.

Repository SourceNeeds Review
Security

dead-code-audit

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

vercel-composition-patterns

React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.

Repository Source
89.4K23.2Kvercel
Automation

vercel-react-native-skills

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

Repository Source
62.7K23.2Kvercel