- Интеграция Spec Kit для pi: команды `/speckit.*`, bash-скрипты и шаблоны в `.specify` - Конституция JT4D v1.0.0 вместо шаблона: принципы WELD для слоёв web и api, публичный API директории - Слои web описаны по методологии WELD и проверяются `eslint-plugin-weld` - Vitest в api запускает `*.test.ts` рядом с `*.spec.ts`, тесты исключены из сборки приложения - `yarn.lock` пересобран через `yarn deduplicate` Нужно зафиксировать архитектуру проекта в конституции JT4D v1.0.0 и подключить Spec Kit, чтобы планировать фичи до написания кода. - `eslint-plugin-weld` настроен только в `apps/web`: схема слоёв API описана конституцией и документацией, но линтером пока не проверяется Reviewed-on: jt4d/jt4d#4 Co-authored-by: Arswarog <arswarog@yandex.ru>
75 lines
2.2 KiB
YAML
75 lines
2.2 KiB
YAML
schema_version: '1.0'
|
|
workflow:
|
|
id: 'speckit'
|
|
name: 'Full SDD Cycle'
|
|
version: '1.0.1'
|
|
author: 'GitHub'
|
|
description: 'Runs specify → plan → tasks → implement with review gates'
|
|
|
|
requires:
|
|
# 0.8.5 is the first release with engine-side resolution of the
|
|
# ``integration: "auto"`` default. Older versions would treat "auto"
|
|
# as a literal integration key and fail at dispatch.
|
|
speckit_version: '>=0.8.5'
|
|
integrations:
|
|
# The four commands below (specify, plan, tasks, implement) are core
|
|
# spec-kit commands provided by every integration. The list here is an
|
|
# advisory, non-exhaustive compatibility hint following the documented
|
|
# ``any: [...]`` schema -- it is NOT a closed set. The workflow runs
|
|
# against any integration the project was initialized with, including
|
|
# ones not listed below, as long as that integration provides the four
|
|
# core commands referenced in ``steps``.
|
|
any:
|
|
- 'alquimia'
|
|
- 'claude'
|
|
- 'copilot'
|
|
- 'gemini'
|
|
- 'opencode'
|
|
|
|
inputs:
|
|
spec:
|
|
type: string
|
|
required: true
|
|
prompt: 'Describe what you want to build'
|
|
integration:
|
|
type: string
|
|
default: 'auto'
|
|
prompt: "Integration to use (e.g. claude, copilot, gemini; 'auto' uses the project's initialized integration)"
|
|
|
|
steps:
|
|
- id: specify
|
|
command: speckit.specify
|
|
integration: '{{ inputs.integration }}'
|
|
input:
|
|
args: '{{ inputs.spec }}'
|
|
|
|
- id: review-spec
|
|
type: gate
|
|
message: 'Review the generated spec before planning.'
|
|
options: [approve, reject]
|
|
on_reject: abort
|
|
|
|
- id: plan
|
|
command: speckit.plan
|
|
integration: '{{ inputs.integration }}'
|
|
input:
|
|
args: '{{ inputs.spec }}'
|
|
|
|
- id: review-plan
|
|
type: gate
|
|
message: 'Review the plan before generating tasks.'
|
|
options: [approve, reject]
|
|
on_reject: abort
|
|
|
|
- id: tasks
|
|
command: speckit.tasks
|
|
integration: '{{ inputs.integration }}'
|
|
input:
|
|
args: '{{ inputs.spec }}'
|
|
|
|
- id: implement
|
|
command: speckit.implement
|
|
integration: '{{ inputs.integration }}'
|
|
input:
|
|
args: '{{ inputs.spec }}'
|