Về trang skills
Specification

Specs

/hapo:specs

Tạo feature contract bền vững: requirements, research, design, task packets, và validation state.

Khi Nên Dùng

  • Hướng đã đủ rõ để thành requirements.
  • Cần task files trước khi code.
  • Feature cần traceable scope và evidence gates.

Flow

01 / Detect

Kiểm tra spec đang dở và tránh duplicate.

02 / Requirements

Viết behavior, constraints, và acceptance criteria.

03 / Research

Ghi findings và decisions có source backing.

04 / Design

Định nghĩa architecture, contracts, data flow, invariants.

05 / Tasks

Tách work thành task packets có evidence criteria.

06 / Validate

Kiểm tra spec.json, task files, và registry alignment.

Output

Thư mục `specs/<feature>/` sẵn sàng để implement từng task một.

Tránh

Không dùng spec như tài liệu trang trí sau khi code đã đoán xong. Spec phải constrain implementation.

Handoff Tiếp Theo

/hapo:develop