speckit: внедрение Spec Kit и фиксация архитектуры в конституции JT4D v1.0.0
- Интеграция 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>
This commit is contained in:
1 parent
1d80630fb2
commit
7d5156d92e
55 files changed
+6070
-415
No files matched your search
@@ -0,0 +1,74 @@
|
||||
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 }}'
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"schema_version": "1.0",
|
||||
"workflows": {
|
||||
"speckit": {
|
||||
"name": "Full SDD Cycle",
|
||||
"version": "1.0.1",
|
||||
"description": "Runs specify \u2192 plan \u2192 tasks \u2192 implement with review gates",
|
||||
"source": "bundled",
|
||||
"installed_at": "2026-11-05T09:25:04.219034+00:00",
|
||||
"updated_at": "2026-11-05T09:25:04.219052+00:00"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user