.github/skills/spec/SKILL.md
Creates or updates docs/spec.md — the project's functional requirements. Load when defining new features, when requirements have changed, or when docs/spec.md does not exist. Covers what to write, what to omit, and how to express requirements in a way that is verifiable and agent-friendly.
npx skillsauth add poko8nada/portfolio-v3 specInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Captures what the system must do — not how it does it. Agents use it to understand the expected behavior when implementing or modifying features. Requirements that can be expressed as tests should be — docs/spec.md is for what cannot.
The bar is: a fresh agent should be able to implement from docs/spec.md
without needing the originating chat.
This document should be written in Japanese.
---
last-validated: YYYY-MM-DD
phase: current
---
# Specification
## [Feature Name]
### Requirements
- [REQ-001] [Actor] must be able to [action] so that [outcome]
- [REQ-002] ...
### Acceptance Criteria
- [REQ-001] Given [context], when [action], then [expected result]
- [REQ-001] Given [context], when [invalid input], then [error state]
### Edge Cases
- [Explicit decision about a boundary condition]
### Why Not
- [Alternative approach]: [reason rejected]
Write:
If a value is still unknown and implementation would branch based on it, ask before treating the spec as complete.
Update last-validated whenever you verify requirements still reflect intent.
Mark superseded requirements explicitly rather than deleting them —
deletion loses the Why Not context that prevents agents from reintroducing
rejected approaches.
development
Bootstraps project documentation for an existing repository by reading the codebase, README, tests, and package metadata, then creates or updates docs/overview.md, docs/spec.md, and ADRs when significant architectural decisions are discovered. Use when asked to document a repo, extract project purpose, write overview/spec docs, review an existing codebase, or capture architecture decisions from source.
development
Creates or updates docs/overview.md — the project's purpose and background. Load when starting a new project, when the project's goals or context have changed, or when docs/overview.md does not exist. Covers what to write, what to omit, and how to keep the document agent-friendly.
documentation
Implements a new feature using docs-first delivery, boundary-driven structure, and skeleton-first execution. Load when adding a route, feature, or new user-visible behavior.
tools
Manages GitHub Issues using gh CLI — creation, decomposition, update, and close. Load when asked to create a new issue, break down a large task into issues, update issue status or labels, or close an issue after a PR is merged. Human decides whether to create an issue. Agent handles all gh CLI operations.