kiro-spec-engine 1.2.3 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +135 -0
- package/README.md +239 -213
- package/README.zh.md +0 -330
- package/bin/kiro-spec-engine.js +62 -0
- package/docs/README.md +223 -0
- package/docs/agent-hooks-analysis.md +815 -0
- package/docs/command-reference.md +252 -0
- package/docs/cross-tool-guide.md +554 -0
- package/docs/examples/add-export-command/design.md +194 -0
- package/docs/examples/add-export-command/requirements.md +110 -0
- package/docs/examples/add-export-command/tasks.md +88 -0
- package/docs/examples/add-rest-api/design.md +855 -0
- package/docs/examples/add-rest-api/requirements.md +323 -0
- package/docs/examples/add-rest-api/tasks.md +355 -0
- package/docs/examples/add-user-dashboard/design.md +192 -0
- package/docs/examples/add-user-dashboard/requirements.md +143 -0
- package/docs/examples/add-user-dashboard/tasks.md +91 -0
- package/docs/faq.md +696 -0
- package/docs/integration-modes.md +525 -0
- package/docs/integration-philosophy.md +313 -0
- package/docs/manual-workflows-guide.md +417 -0
- package/docs/quick-start-with-ai-tools.md +374 -0
- package/docs/quick-start.md +711 -0
- package/docs/spec-workflow.md +453 -0
- package/docs/steering-strategy-guide.md +196 -0
- package/docs/tools/claude-guide.md +653 -0
- package/docs/tools/cursor-guide.md +705 -0
- package/docs/tools/generic-guide.md +445 -0
- package/docs/tools/kiro-guide.md +308 -0
- package/docs/tools/vscode-guide.md +444 -0
- package/docs/tools/windsurf-guide.md +390 -0
- package/docs/troubleshooting.md +795 -0
- package/docs/zh/README.md +275 -0
- package/docs/zh/quick-start.md +711 -0
- package/docs/zh/tools/claude-guide.md +348 -0
- package/docs/zh/tools/cursor-guide.md +280 -0
- package/docs/zh/tools/generic-guide.md +498 -0
- package/docs/zh/tools/kiro-guide.md +342 -0
- package/docs/zh/tools/vscode-guide.md +448 -0
- package/docs/zh/tools/windsurf-guide.md +377 -0
- package/lib/adoption/detection-engine.js +14 -4
- package/lib/commands/adopt.js +117 -3
- package/lib/commands/context.js +99 -0
- package/lib/commands/prompt.js +105 -0
- package/lib/commands/status.js +225 -0
- package/lib/commands/task.js +199 -0
- package/lib/commands/watch.js +569 -0
- package/lib/commands/workflows.js +240 -0
- package/lib/commands/workspace.js +189 -0
- package/lib/context/context-exporter.js +378 -0
- package/lib/context/prompt-generator.js +482 -0
- package/lib/steering/adoption-config.js +164 -0
- package/lib/steering/steering-manager.js +289 -0
- package/lib/task/task-claimer.js +430 -0
- package/lib/utils/tool-detector.js +383 -0
- package/lib/watch/action-executor.js +458 -0
- package/lib/watch/event-debouncer.js +323 -0
- package/lib/watch/execution-logger.js +550 -0
- package/lib/watch/file-watcher.js +499 -0
- package/lib/watch/presets.js +266 -0
- package/lib/watch/watch-manager.js +533 -0
- package/lib/workspace/workspace-manager.js +370 -0
- package/lib/workspace/workspace-sync.js +356 -0
- package/package.json +3 -1
- package/template/.kiro/tools/backup_manager.py +295 -0
- package/template/.kiro/tools/configuration_manager.py +218 -0
- package/template/.kiro/tools/document_evaluator.py +550 -0
- package/template/.kiro/tools/enhancement_logger.py +168 -0
- package/template/.kiro/tools/error_handler.py +335 -0
- package/template/.kiro/tools/improvement_identifier.py +444 -0
- package/template/.kiro/tools/modification_applicator.py +737 -0
- package/template/.kiro/tools/quality_gate_enforcer.py +207 -0
- package/template/.kiro/tools/quality_scorer.py +305 -0
- package/template/.kiro/tools/report_generator.py +154 -0
- package/template/.kiro/tools/ultrawork_enhancer_refactored.py +0 -0
- package/template/.kiro/tools/ultrawork_enhancer_v2.py +463 -0
- package/template/.kiro/tools/ultrawork_enhancer_v3.py +606 -0
- package/template/.kiro/tools/workflow_quality_gate.py +100 -0
package/README.md
CHANGED
|
@@ -1,298 +1,320 @@
|
|
|
1
|
-
#
|
|
1
|
+
# kse - Kiro Spec Engine
|
|
2
2
|
|
|
3
3
|
[](https://badge.fury.io/js/kiro-spec-engine)
|
|
4
4
|
[](https://opensource.org/licenses/MIT)
|
|
5
5
|
|
|
6
|
-
**
|
|
7
|
-
|
|
8
|
-
> 🔥 Transform your development workflow with structured specs, steering rules, and relentless quality pursuit.
|
|
6
|
+
**A context provider for AI coding tools** - Structure your project requirements, design, and tasks so AI assistants can help you build better software.
|
|
9
7
|
|
|
10
8
|
English | [简体中文](README.zh.md)
|
|
11
9
|
|
|
12
|
-
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## What is kse?
|
|
13
|
+
|
|
14
|
+
**kse (Kiro Spec Engine) is a context management system for AI-assisted development.** It helps you organize project information into structured "Specs" (Requirements → Design → Tasks) that AI tools can understand and use effectively.
|
|
13
15
|
|
|
14
|
-
|
|
16
|
+
Think of kse as a **librarian for your AI assistant** - it organizes and presents project context so your AI tool knows exactly what you're building, why, and how.
|
|
15
17
|
|
|
16
|
-
###
|
|
18
|
+
### How it Works
|
|
17
19
|
|
|
18
|
-
|
|
20
|
+
```mermaid
|
|
21
|
+
graph LR
|
|
22
|
+
A[You create Specs] --> B[kse organizes context]
|
|
23
|
+
B --> C[AI tool reads context]
|
|
24
|
+
C --> D[AI generates better code]
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
1. **You create Specs** - Write requirements, design, and tasks in structured markdown files
|
|
28
|
+
2. **kse organizes context** - Exports formatted context optimized for AI tools
|
|
29
|
+
3. **AI tool reads context** - Your AI assistant understands your project structure
|
|
30
|
+
4. **AI generates better code** - Code that matches your design and requirements
|
|
19
31
|
|
|
20
|
-
|
|
21
|
-
- **Steering rules** guide how AI assistants should help you build it
|
|
22
|
-
- **Ultrawork spirit** ensures professional-grade quality at every stage
|
|
32
|
+
### What kse is NOT
|
|
23
33
|
|
|
24
|
-
|
|
34
|
+
- ❌ **Not a code generator** - kse doesn't write code; your AI tool does
|
|
35
|
+
- ❌ **Not an IDE** - kse works alongside your existing development tools
|
|
36
|
+
- ❌ **Not AI-specific** - Works with Claude, Cursor, Windsurf, Copilot, and any AI tool
|
|
37
|
+
- ❌ **Not a replacement for documentation** - It's a structured way to organize project context
|
|
25
38
|
|
|
26
|
-
|
|
27
|
-
- ✅ **Steering Rules System**: Control AI behavior with project-specific rules
|
|
28
|
-
- ✅ **Quality Assessment**: Automatic document quality scoring (0-10 scale)
|
|
29
|
-
- ✅ **Intelligent Enhancement**: Auto-identify and apply improvements with Ultrawork
|
|
30
|
-
- ✅ **Professional Standards**: Ensure production-ready documentation
|
|
31
|
-
- ✅ **Multi-language Support**: English and Chinese interfaces
|
|
32
|
-
- ✅ **CLI Interface**: Easy-to-use command-line tools
|
|
39
|
+
### Who Should Use kse?
|
|
33
40
|
|
|
34
|
-
|
|
41
|
+
- ✅ Developers using AI coding assistants (Claude, Cursor, Copilot, etc.)
|
|
42
|
+
- ✅ Teams wanting structured project documentation
|
|
43
|
+
- ✅ Anyone building features that need clear requirements and design
|
|
44
|
+
- ✅ Projects that benefit from spec-driven development
|
|
45
|
+
|
|
46
|
+
---
|
|
35
47
|
|
|
36
|
-
|
|
48
|
+
## Quick Start (5 Minutes)
|
|
37
49
|
|
|
38
|
-
Install
|
|
50
|
+
### Step 1: Install kse (30 seconds)
|
|
39
51
|
|
|
40
52
|
```bash
|
|
41
53
|
npm install -g kiro-spec-engine
|
|
42
54
|
```
|
|
43
55
|
|
|
44
|
-
|
|
45
|
-
|
|
56
|
+
Verify installation:
|
|
46
57
|
```bash
|
|
47
|
-
|
|
48
|
-
# Creates both 'kiro-spec-engine' and 'kse' commands
|
|
58
|
+
kse --version
|
|
49
59
|
```
|
|
50
60
|
|
|
51
|
-
###
|
|
61
|
+
### Step 2: Adopt kse in Your Project (1 minute)
|
|
62
|
+
|
|
63
|
+
Navigate to your project directory and run:
|
|
52
64
|
|
|
53
65
|
```bash
|
|
54
|
-
|
|
55
|
-
|
|
66
|
+
cd your-project
|
|
67
|
+
kse adopt
|
|
68
|
+
```
|
|
56
69
|
|
|
57
|
-
|
|
58
|
-
|
|
70
|
+
This creates a `.kiro/` directory with:
|
|
71
|
+
- `specs/` - Where your Specs live
|
|
72
|
+
- `steering/` - Rules for AI behavior (optional)
|
|
59
73
|
|
|
60
|
-
|
|
61
|
-
kiro-spec-engine --lang zh init
|
|
74
|
+
### Step 3: Create Your First Spec (2 minutes)
|
|
62
75
|
|
|
63
|
-
|
|
64
|
-
kse
|
|
76
|
+
```bash
|
|
77
|
+
kse create-spec 01-00-user-login
|
|
65
78
|
```
|
|
66
79
|
|
|
67
|
-
|
|
80
|
+
This creates three files in `.kiro/specs/01-00-user-login/`:
|
|
68
81
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
82
|
+
**requirements.md** - What you're building:
|
|
83
|
+
```markdown
|
|
84
|
+
# User Login Feature
|
|
72
85
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
86
|
+
## User Stories
|
|
87
|
+
- As a user, I want to log in with email and password
|
|
88
|
+
- As a user, I want to see an error if credentials are wrong
|
|
89
|
+
|
|
90
|
+
## Acceptance Criteria
|
|
91
|
+
- WHEN user enters valid credentials THEN they are logged in
|
|
92
|
+
- WHEN user enters invalid credentials THEN they see an error message
|
|
76
93
|
```
|
|
77
94
|
|
|
78
|
-
|
|
95
|
+
**design.md** - How you'll build it:
|
|
96
|
+
```markdown
|
|
97
|
+
# Design
|
|
79
98
|
|
|
80
|
-
|
|
99
|
+
## API Design
|
|
100
|
+
- POST /api/auth/login
|
|
101
|
+
- Request: { email: string, password: string }
|
|
102
|
+
- Response: { token: string } or { error: string }
|
|
81
103
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
kse upgrade --dry-run # Show upgrade plan
|
|
96
|
-
kse upgrade --to 1.2.0 # Upgrade to specific version
|
|
97
|
-
|
|
98
|
-
# Rollback to previous state
|
|
99
|
-
kse rollback # Interactive rollback
|
|
100
|
-
kse rollback --auto # Skip confirmations
|
|
101
|
-
kse rollback --backup <id> # Restore specific backup
|
|
102
|
-
|
|
103
|
-
# Check project status
|
|
104
|
-
kse status
|
|
105
|
-
|
|
106
|
-
# Create new spec
|
|
107
|
-
kse create-spec <spec-name>
|
|
108
|
-
|
|
109
|
-
# System diagnostics
|
|
110
|
-
kse doctor
|
|
111
|
-
|
|
112
|
-
# Set language
|
|
113
|
-
kse --lang zh <command> # Chinese
|
|
114
|
-
kse --lang en <command> # English (default)
|
|
104
|
+
## Components
|
|
105
|
+
- AuthController - handles login logic
|
|
106
|
+
- validateEmail() - validates email format
|
|
107
|
+
- validatePassword() - checks password requirements
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
**tasks.md** - Step-by-step implementation:
|
|
111
|
+
```markdown
|
|
112
|
+
- [ ] 1.1 Create AuthController class
|
|
113
|
+
- [ ] 1.2 Implement email validation
|
|
114
|
+
- [ ] 1.3 Implement password validation
|
|
115
|
+
- [ ] 1.4 Implement login endpoint
|
|
116
|
+
- [ ] 1.5 Write unit tests
|
|
115
117
|
```
|
|
116
118
|
|
|
117
|
-
###
|
|
119
|
+
### Step 4: Export Context for Your AI Tool (1 minute)
|
|
118
120
|
|
|
119
121
|
```bash
|
|
120
|
-
|
|
121
|
-
|
|
122
|
+
kse context export 01-00-user-login
|
|
123
|
+
```
|
|
122
124
|
|
|
123
|
-
|
|
124
|
-
kse enhance design <design-file> --requirements <requirements-file>
|
|
125
|
+
This generates `.kiro/specs/01-00-user-login/context-export.md` with all your Spec information formatted for AI tools.
|
|
125
126
|
|
|
126
|
-
|
|
127
|
-
kse enhance tasks <tasks-file>
|
|
128
|
-
```
|
|
127
|
+
**Using with different AI tools:**
|
|
129
128
|
|
|
130
|
-
|
|
129
|
+
**Claude Code / ChatGPT:**
|
|
130
|
+
1. Open `context-export.md`
|
|
131
|
+
2. Copy the entire content
|
|
132
|
+
3. Paste into your AI conversation
|
|
133
|
+
4. Say: "Please implement task 1.1"
|
|
131
134
|
|
|
135
|
+
**Cursor:**
|
|
132
136
|
```bash
|
|
133
|
-
|
|
134
|
-
kse init "E-commerce Platform"
|
|
135
|
-
kse create-spec 01-00-user-auth
|
|
136
|
-
# Edit .kiro/specs/01-00-user-auth/requirements.md
|
|
137
|
-
kse enhance requirements .kiro/specs/01-00-user-auth/requirements.md
|
|
138
|
-
# Edit .kiro/specs/01-00-user-auth/design.md
|
|
139
|
-
kse enhance design .kiro/specs/01-00-user-auth/design.md --requirements .kiro/specs/01-00-user-auth/requirements.md
|
|
137
|
+
kse prompt generate 01-00-user-login 1.1
|
|
140
138
|
```
|
|
139
|
+
Copy the generated prompt into Cursor Composer (Cmd+K)
|
|
141
140
|
|
|
142
|
-
|
|
141
|
+
**Windsurf / Cline:**
|
|
142
|
+
Just tell the AI: "Use kse to check the spec for user-login and implement task 1.1"
|
|
143
|
+
(These tools can execute kse commands directly!)
|
|
143
144
|
|
|
144
|
-
###
|
|
145
|
-
- **Basic Structure** (2pts): Overview, user stories, functional requirements, non-functional requirements
|
|
146
|
-
- **EARS Format** (2pts): WHEN...THEN acceptance criteria
|
|
147
|
-
- **User Stories** (2pts): "As a...I want...So that" format
|
|
148
|
-
- **Acceptance Criteria** (2pts): Complete acceptance criteria definitions
|
|
149
|
-
- **Non-functional Requirements** (1pt): Performance, security, usability, etc.
|
|
150
|
-
- **Constraints** (1pt): Technical constraints, resource constraints, etc.
|
|
145
|
+
### Step 5: Next Steps (30 seconds)
|
|
151
146
|
|
|
152
|
-
|
|
153
|
-
-
|
|
154
|
-
-
|
|
155
|
-
- **Architecture Diagrams** (1.5pts): Mermaid diagrams or other design diagrams
|
|
156
|
-
- **Technology Selection** (1.5pts): Technology stack choices and rationale
|
|
157
|
-
- **Non-functional Design** (1.5pts): Performance design, security design, scalability
|
|
158
|
-
- **Interface Definition** (1.5pts): API design, data structure definitions
|
|
147
|
+
- 📖 Read the [Quick Start Guide](docs/quick-start.md) for detailed examples
|
|
148
|
+
- 🔧 Check your tool's integration guide: [Cursor](docs/tools/cursor-guide.md) | [Claude](docs/tools/claude-guide.md) | [Windsurf](docs/tools/windsurf-guide.md)
|
|
149
|
+
- 💡 Learn about [Integration Modes](docs/integration-modes.md)
|
|
159
150
|
|
|
160
|
-
|
|
161
|
-
- **Completion Analysis**: Statistics on completed, in-progress, not-started tasks
|
|
162
|
-
- **Priority Identification**: Identify priorities based on keywords and task numbers
|
|
163
|
-
- **Ultrawork Motivation**: Provide Sisyphus spirit motivation and suggestions
|
|
164
|
-
- **Next Steps Guidance**: Suggest specific execution strategies
|
|
151
|
+
---
|
|
165
152
|
|
|
166
|
-
##
|
|
153
|
+
## Core Concepts
|
|
167
154
|
|
|
168
|
-
###
|
|
155
|
+
### Specs
|
|
169
156
|
|
|
170
|
-
|
|
157
|
+
A **Spec** is a structured description of a feature or project component. Each Spec contains:
|
|
171
158
|
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
# Creates complete .kiro/ structure from scratch
|
|
176
|
-
```
|
|
159
|
+
- **Requirements** (`requirements.md`) - What you're building and why
|
|
160
|
+
- **Design** (`design.md`) - How you'll build it (architecture, APIs, components)
|
|
161
|
+
- **Tasks** (`tasks.md`) - Step-by-step implementation checklist
|
|
177
162
|
|
|
178
|
-
|
|
179
|
-
```bash
|
|
180
|
-
kse adopt
|
|
181
|
-
# Preserves existing specs/ and steering/
|
|
182
|
-
# Adds missing components
|
|
183
|
-
```
|
|
163
|
+
### Context Export
|
|
184
164
|
|
|
185
|
-
**
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
# Preserves all user content
|
|
190
|
-
# Creates backup before changes
|
|
191
|
-
```
|
|
165
|
+
**Context export** transforms your Spec into a format optimized for AI tools. It includes:
|
|
166
|
+
- All requirements, design decisions, and tasks
|
|
167
|
+
- Project structure and conventions
|
|
168
|
+
- Steering rules (optional) for AI behavior
|
|
192
169
|
|
|
193
|
-
###
|
|
170
|
+
### Integration Modes
|
|
194
171
|
|
|
195
|
-
|
|
172
|
+
kse supports three ways to work with AI tools:
|
|
196
173
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
174
|
+
1. **Native Integration** - AI tool directly accesses kse (Kiro IDE)
|
|
175
|
+
2. **Manual Export** - You export and paste context (Claude, ChatGPT, Cursor)
|
|
176
|
+
3. **Watch Mode** - Automatic context updates on file changes (all tools)
|
|
177
|
+
|
|
178
|
+
Learn more: [Integration Modes Guide](docs/integration-modes.md)
|
|
179
|
+
|
|
180
|
+
---
|
|
181
|
+
|
|
182
|
+
## Integration with Your AI Tool
|
|
200
183
|
|
|
201
|
-
|
|
202
|
-
kse upgrade
|
|
184
|
+
kse works with any AI coding assistant. Choose your tool for specific guidance:
|
|
203
185
|
|
|
204
|
-
|
|
205
|
-
kse upgrade --to 1.2.0
|
|
186
|
+
### Popular AI Tools
|
|
206
187
|
|
|
207
|
-
|
|
208
|
-
|
|
188
|
+
- **[Cursor](docs/tools/cursor-guide.md)** - IDE with AI pair programming
|
|
189
|
+
- **[Claude Code](docs/tools/claude-guide.md)** - Anthropic's coding assistant
|
|
190
|
+
- **[Windsurf](docs/tools/windsurf-guide.md)** - AI agent with command execution
|
|
191
|
+
- **[Kiro](docs/tools/kiro-guide.md)** - Native integration, no manual export needed
|
|
192
|
+
- **[VS Code + Copilot](docs/tools/vscode-guide.md)** - GitHub Copilot integration
|
|
193
|
+
- **[Generic AI Tools](docs/tools/generic-guide.md)** - Works with any AI assistant
|
|
194
|
+
|
|
195
|
+
### Integration Workflow
|
|
196
|
+
|
|
197
|
+
```mermaid
|
|
198
|
+
sequenceDiagram
|
|
199
|
+
participant You
|
|
200
|
+
participant kse
|
|
201
|
+
participant AI Tool
|
|
202
|
+
You->>kse: Create Spec (requirements, design, tasks)
|
|
203
|
+
You->>kse: Export context
|
|
204
|
+
kse->>You: context-export.md
|
|
205
|
+
You->>AI Tool: Provide context
|
|
206
|
+
AI Tool->>You: Generate code based on Spec
|
|
207
|
+
You->>kse: Update task status
|
|
209
208
|
```
|
|
210
209
|
|
|
211
|
-
|
|
210
|
+
---
|
|
212
211
|
|
|
213
|
-
|
|
212
|
+
## Documentation
|
|
214
213
|
|
|
215
|
-
|
|
214
|
+
### Getting Started
|
|
215
|
+
- 📖 **[Quick Start Guide](docs/quick-start.md)** - Detailed 5-minute tutorial
|
|
216
|
+
- 🤔 **[FAQ](docs/faq.md)** - Frequently asked questions
|
|
217
|
+
- 🔧 **[Troubleshooting](docs/troubleshooting.md)** - Common issues and solutions
|
|
216
218
|
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
kse
|
|
219
|
+
### Core Guides
|
|
220
|
+
- 📋 **[Spec Workflow](docs/spec-workflow.md)** - Understanding Specs in depth
|
|
221
|
+
- 🔌 **[Integration Modes](docs/integration-modes.md)** - Three ways to integrate kse
|
|
222
|
+
- 📝 **[Command Reference](docs/command-reference.md)** - All kse commands
|
|
220
223
|
|
|
221
|
-
|
|
222
|
-
|
|
224
|
+
### Tool-Specific Guides
|
|
225
|
+
- [Cursor Integration](docs/tools/cursor-guide.md)
|
|
226
|
+
- [Claude Code Integration](docs/tools/claude-guide.md)
|
|
227
|
+
- [Windsurf Integration](docs/tools/windsurf-guide.md)
|
|
228
|
+
- [Kiro Integration](docs/tools/kiro-guide.md)
|
|
229
|
+
- [VS Code + Copilot Integration](docs/tools/vscode-guide.md)
|
|
230
|
+
- [Generic AI Tools](docs/tools/generic-guide.md)
|
|
223
231
|
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
232
|
+
### Examples
|
|
233
|
+
- [API Feature Example](docs/examples/add-rest-api/) - RESTful API Spec
|
|
234
|
+
- [UI Feature Example](docs/examples/add-user-dashboard/) - React dashboard Spec
|
|
235
|
+
- [CLI Feature Example](docs/examples/add-export-command/) - CLI command Spec
|
|
227
236
|
|
|
228
|
-
|
|
229
|
-
-
|
|
230
|
-
-
|
|
231
|
-
-
|
|
232
|
-
-
|
|
237
|
+
### Advanced Topics
|
|
238
|
+
- [Adoption Guide](docs/adoption-guide.md) - Adopting kse in existing projects
|
|
239
|
+
- [Upgrade Guide](docs/upgrade-guide.md) - Version upgrade instructions
|
|
240
|
+
- [Manual Workflows](docs/manual-workflows-guide.md) - Step-by-step workflows
|
|
241
|
+
- [Developer Guide](docs/developer-guide.md) - Contributing and extending kse
|
|
233
242
|
|
|
234
|
-
|
|
243
|
+
### Complete Documentation
|
|
244
|
+
- 📚 **[Documentation Index](docs/README.md)** - All documentation in one place
|
|
235
245
|
|
|
236
|
-
|
|
246
|
+
---
|
|
237
247
|
|
|
238
|
-
|
|
239
|
-
your-project/
|
|
240
|
-
├── .kiro/ # Kiro core directory
|
|
241
|
-
│ ├── specs/ # Spec storage
|
|
242
|
-
│ │ └── SPEC_WORKFLOW_GUIDE.md
|
|
243
|
-
│ ├── steering/ # AI behavior rules (the "rules engine")
|
|
244
|
-
│ │ ├── CORE_PRINCIPLES.md # Core principles + Ultrawork spirit
|
|
245
|
-
│ │ ├── ENVIRONMENT.md # Environment configuration
|
|
246
|
-
│ │ ├── CURRENT_CONTEXT.md # Current context
|
|
247
|
-
│ │ └── RULES_GUIDE.md # Rules index
|
|
248
|
-
│ ├── tools/ # Ultrawork tools
|
|
249
|
-
│ │ └── ultrawork_enhancer.py # Core enhancement tool
|
|
250
|
-
│ └── README.md # Kiro system documentation
|
|
251
|
-
└── README.md # Project documentation
|
|
252
|
-
```
|
|
248
|
+
## Key Features
|
|
253
249
|
|
|
254
|
-
|
|
250
|
+
### Spec-Driven Development
|
|
251
|
+
Structure your work with Requirements → Design → Tasks workflow
|
|
255
252
|
|
|
256
|
-
|
|
253
|
+
### Multi-User Collaboration
|
|
254
|
+
- Personal workspaces for team members
|
|
255
|
+
- Task claiming and tracking
|
|
256
|
+
- Workspace synchronization
|
|
257
257
|
|
|
258
|
-
|
|
258
|
+
### Cross-Tool Compatibility
|
|
259
|
+
Export context for Claude Code, Cursor, Windsurf, Copilot, and more
|
|
259
260
|
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
- **Professional Standards**: Pursue excellence in every detail (9.0/10 target)
|
|
263
|
-
- **Persistent Execution**: Keep pushing forward until completion
|
|
261
|
+
### Watch Mode Automation
|
|
262
|
+
Automatic file monitoring and context updates
|
|
264
263
|
|
|
265
|
-
|
|
264
|
+
### Quality Enhancement
|
|
265
|
+
- Document quality scoring (0-10 scale)
|
|
266
|
+
- Intelligent improvement suggestions
|
|
267
|
+
- Professional standards enforcement
|
|
266
268
|
|
|
267
|
-
|
|
269
|
+
### Multi-Language Support
|
|
270
|
+
English and Chinese interfaces
|
|
268
271
|
|
|
269
|
-
|
|
272
|
+
---
|
|
270
273
|
|
|
271
|
-
|
|
274
|
+
## Command Overview
|
|
272
275
|
|
|
273
276
|
```bash
|
|
274
|
-
#
|
|
275
|
-
kse
|
|
277
|
+
# Project setup
|
|
278
|
+
kse adopt # Adopt kse in existing project
|
|
279
|
+
kse create-spec <name> # Create new Spec
|
|
280
|
+
|
|
281
|
+
# Context management
|
|
282
|
+
kse context export <spec-name> # Export context for AI tools
|
|
283
|
+
kse prompt generate <spec> <task> # Generate task-specific prompt
|
|
284
|
+
|
|
285
|
+
# Task management
|
|
286
|
+
kse task claim <spec> <task-id> # Claim a task
|
|
287
|
+
kse task list <spec> # List claimed tasks
|
|
276
288
|
|
|
277
|
-
#
|
|
278
|
-
|
|
279
|
-
kse
|
|
289
|
+
# Automation
|
|
290
|
+
kse watch start # Start watch mode
|
|
291
|
+
kse watch status # Check watch status
|
|
280
292
|
|
|
281
|
-
#
|
|
282
|
-
|
|
283
|
-
kse
|
|
293
|
+
# Project info
|
|
294
|
+
kse status # Project status
|
|
295
|
+
kse workflows # List available workflows
|
|
284
296
|
```
|
|
285
297
|
|
|
286
|
-
|
|
298
|
+
See [Command Reference](docs/command-reference.md) for complete documentation.
|
|
287
299
|
|
|
288
|
-
|
|
289
|
-
|
|
300
|
+
---
|
|
301
|
+
|
|
302
|
+
## Contributing & Support
|
|
290
303
|
|
|
291
|
-
|
|
304
|
+
### Getting Help
|
|
292
305
|
|
|
293
|
-
|
|
306
|
+
- 📖 **Documentation**: Start with the [Quick Start Guide](docs/quick-start.md)
|
|
307
|
+
- 🐛 **Bug Reports**: [GitHub Issues](https://github.com/yourusername/kiro-spec-engine/issues)
|
|
308
|
+
- 💬 **Discussions**: [GitHub Discussions](https://github.com/yourusername/kiro-spec-engine/discussions)
|
|
309
|
+
- 📧 **Email**: support@example.com
|
|
294
310
|
|
|
295
|
-
|
|
311
|
+
### Contributing
|
|
312
|
+
|
|
313
|
+
We welcome contributions! See our [Contributing Guide](CONTRIBUTING.md) for:
|
|
314
|
+
- Code contributions
|
|
315
|
+
- Documentation improvements
|
|
316
|
+
- Bug reports and feature requests
|
|
317
|
+
- Translation help
|
|
296
318
|
|
|
297
319
|
### Development Setup
|
|
298
320
|
|
|
@@ -301,20 +323,18 @@ git clone https://github.com/yourusername/kiro-spec-engine.git
|
|
|
301
323
|
cd kiro-spec-engine
|
|
302
324
|
npm install
|
|
303
325
|
npm link # For local development
|
|
326
|
+
npm test # Run tests
|
|
304
327
|
```
|
|
305
328
|
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
1. Create a new language file in `locales/` (e.g., `ja.json`)
|
|
309
|
-
2. Copy the structure from `en.json` and translate all text
|
|
310
|
-
3. Add language detection logic in `lib/i18n.js`
|
|
311
|
-
4. Update README documentation
|
|
329
|
+
---
|
|
312
330
|
|
|
313
|
-
##
|
|
331
|
+
## License
|
|
314
332
|
|
|
315
333
|
MIT License - see [LICENSE](LICENSE) file for details.
|
|
316
334
|
|
|
317
|
-
|
|
335
|
+
---
|
|
336
|
+
|
|
337
|
+
## Acknowledgments
|
|
318
338
|
|
|
319
339
|
- Inspired by the **Sisyphus** myth and the concept of noble struggle
|
|
320
340
|
- Built on the foundation of **Kiro** spec-driven development
|
|
@@ -322,9 +342,15 @@ MIT License - see [LICENSE](LICENSE) file for details.
|
|
|
322
342
|
|
|
323
343
|
---
|
|
324
344
|
|
|
325
|
-
**
|
|
345
|
+
**Ready to enhance your AI-assisted development?** 🚀
|
|
326
346
|
|
|
327
347
|
```bash
|
|
328
348
|
npm install -g kiro-spec-engine
|
|
329
|
-
kse
|
|
349
|
+
kse adopt
|
|
350
|
+
kse create-spec 01-00-my-first-feature
|
|
330
351
|
```
|
|
352
|
+
|
|
353
|
+
---
|
|
354
|
+
|
|
355
|
+
**Version**: 1.4.0
|
|
356
|
+
**Last Updated**: 2026-01-23
|