ワンクリックで
implement-feature
// End-to-end workflow for implementing a new feature in the mock-app, ensuring data model alignment, sample data, UI/UX consistency, component reuse, and automated verification with Playwright MCP.
// End-to-end workflow for implementing a new feature in the mock-app, ensuring data model alignment, sample data, UI/UX consistency, component reuse, and automated verification with Playwright MCP.
Initialize a minimal hello-world mock-app with React, Vite, TypeScript, Tailwind CSS, React Router, and MSW. Use when scaffolding a new mock-app from scratch, bootstrapping a project skeleton, or starting a fresh prototype. Produces a working app with routing, mock API support, and a hello-world landing page.
Track and manage reusable UI components and patterns in the mock-app. Maintains an inventory of extracted components and unextracted patterns to promote incremental refactoring and prevent code duplication.
Create new Agent Skills for this project. Use when asked to create a skill, document a workflow, or teach Copilot a new capability. Skills are stored in .github/skills/ and can include instructions, scripts, examples, and resources.
Debug and fix failing Playwright E2E tests. Use when tests fail, when asked to fix failing tests, or when investigating test failures. Analyzes test output, screenshots, error context, and uses Playwright MCP to identify root causes.
Always start a fresh browser session after any file change, walk through the full user flow, and monitor for errors before proceeding with further work.
Create comprehensive feature requirement documents for the WCU Mosquito Surveillance Web Application. Use when asked to document a feature, write feature requirements, or create feature specifications from the roadmap. Includes user stories, functional requirements, data model review, workflows, and edge cases.
| name | implement-feature |
| description | End-to-end workflow for implementing a new feature in the mock-app, ensuring data model alignment, sample data, UI/UX consistency, component reuse, and automated verification with Playwright MCP. |
Guide the complete implementation of a new feature in the mock-app. This skill is only for UI-driven, mock features—no server-side or backend code should be created. Ensure:
Load this skill for ANY of the following — there are no exceptions for "simple" or "small" changes:
Why no exceptions? Small UI changes are exactly where components get inlined instead of extracted, stories get skipped, and the registry goes stale. The cost of loading this skill is low; the cost of skipping it compounds.
Do not use this skill to build server-side, backend, or production API code. All features must be mock, UI-driven, and client-side only.
Clarify Feature Requirements
document-feature skill to create or refine requirements.Data Model Alignment
update-data-model to add or modify Zod schemas in /model./model and imported via @model.generate-sample-data to create or update sample generators in /model/*.sample.ts.Check Component Registry and Extract Components FIRST
.github/skills/component-registry/REGISTRY.md/mock-app/src/components/ui/Select UI/UX Pattern
UX Pattern Selector skill (if available) to choose the right UI pattern.Implement UI & Logic
/mock-app/src/pages using only the extracted reusable components.Mock Data & API
/mock-app/src/mocks/handlers.ts to provide mock API responses using sample data from /model.Automated Verification (Playwright MCP)
responsive-design skill to verify responsiveness across breakpoints and test scrollbar behaviorTesting & Storybook
Update Component Registry
.github/skills/component-registry/REGISTRY.md):
document-feature: For writing or refining feature specs.responsive-design: For ensuring features work across all device sizes and testing scrollbar behavior.update-data-model: For Zod schemas and types in /model.generate-sample-data: For mock/sample data in /model/*.sample.ts.component-registry: For tracking and managing reusable components and patterns.create-skill: For documenting new workflows or skills..github/skills/component-registry/REGISTRY.md - Check this FIRST!/mock-app/src/components/ui, with a Storybook story.Component Registry reviewed** (.github/skills/component-registry/REGISTRY.md)
/model (Zod schema + sample data)responsive-design skill (mobile, tablet, desktop)