AgentSkillsCN

implement-it

将用户故事转化为具体的计划、骨架与测试用例。当用户需要根据用户故事、验收标准或产品需求来实现功能时,可使用此功能。

SKILL.md
--- frontmatter
name: implement-it
description: Turn a user story into a concrete plan, skeletons, and tests. Use when implementing features from user stories, acceptance criteria, or product requirements.

Use this template to turn a user story into a concrete plan, skeletons, and tests.

INPUTS

  • PROJECT_CONTEXT
  • USER_STORY
  • (optional) NON_FUNCTIONAL_REQS
  • (optional) ACCEPTANCE_CRITERIA

INSTRUCTIONS

  1. Extract goals, actors, and constraints from USER_STORY.
  2. Make explicit assumptions and edge cases.
  3. Produce a step-by-step plan across affected layers:
    • Frontend (web/mobile applications)
    • APIs (backend services)
    • Integrations (messaging, external services)
    • Data (databases, data warehouses, ETL)
    • Authentication/authorization systems
  4. Provide key code skeletons and interface contracts.
  5. Define tests to add (unit, integration, e2e).
  6. Include rollout, feature flag, and observability plan.
  7. Keep lines ≤80 chars.

OUTPUT FORMAT

Story summary

  • Goal:
  • Users:
  • Success criteria:

Assumptions & constraints

  • ...

Step-by-step plan

  1. ...
  2. ...

Architecture impact

  • Modules/services:
  • Events/messaging:
  • Schemas/migrations:

API & model contracts (sketch)

Key code skeletons

  • Components/services:
  • Workers/consumers:
  • Repositories/queries:

Tests to add

  • Unit:
  • Integration:
  • e2e:
  • Property/fuzz:
  • Load:

Rollout & safety

  • Feature flag:
  • Backward compatibility:
  • Metrics/logs/traces:
  • Runbook:

Risks & mitigations

  • ...

Definition of done

  • ...