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.
Files changed (78) hide show
  1. package/CHANGELOG.md +135 -0
  2. package/README.md +239 -213
  3. package/README.zh.md +0 -330
  4. package/bin/kiro-spec-engine.js +62 -0
  5. package/docs/README.md +223 -0
  6. package/docs/agent-hooks-analysis.md +815 -0
  7. package/docs/command-reference.md +252 -0
  8. package/docs/cross-tool-guide.md +554 -0
  9. package/docs/examples/add-export-command/design.md +194 -0
  10. package/docs/examples/add-export-command/requirements.md +110 -0
  11. package/docs/examples/add-export-command/tasks.md +88 -0
  12. package/docs/examples/add-rest-api/design.md +855 -0
  13. package/docs/examples/add-rest-api/requirements.md +323 -0
  14. package/docs/examples/add-rest-api/tasks.md +355 -0
  15. package/docs/examples/add-user-dashboard/design.md +192 -0
  16. package/docs/examples/add-user-dashboard/requirements.md +143 -0
  17. package/docs/examples/add-user-dashboard/tasks.md +91 -0
  18. package/docs/faq.md +696 -0
  19. package/docs/integration-modes.md +525 -0
  20. package/docs/integration-philosophy.md +313 -0
  21. package/docs/manual-workflows-guide.md +417 -0
  22. package/docs/quick-start-with-ai-tools.md +374 -0
  23. package/docs/quick-start.md +711 -0
  24. package/docs/spec-workflow.md +453 -0
  25. package/docs/steering-strategy-guide.md +196 -0
  26. package/docs/tools/claude-guide.md +653 -0
  27. package/docs/tools/cursor-guide.md +705 -0
  28. package/docs/tools/generic-guide.md +445 -0
  29. package/docs/tools/kiro-guide.md +308 -0
  30. package/docs/tools/vscode-guide.md +444 -0
  31. package/docs/tools/windsurf-guide.md +390 -0
  32. package/docs/troubleshooting.md +795 -0
  33. package/docs/zh/README.md +275 -0
  34. package/docs/zh/quick-start.md +711 -0
  35. package/docs/zh/tools/claude-guide.md +348 -0
  36. package/docs/zh/tools/cursor-guide.md +280 -0
  37. package/docs/zh/tools/generic-guide.md +498 -0
  38. package/docs/zh/tools/kiro-guide.md +342 -0
  39. package/docs/zh/tools/vscode-guide.md +448 -0
  40. package/docs/zh/tools/windsurf-guide.md +377 -0
  41. package/lib/adoption/detection-engine.js +14 -4
  42. package/lib/commands/adopt.js +117 -3
  43. package/lib/commands/context.js +99 -0
  44. package/lib/commands/prompt.js +105 -0
  45. package/lib/commands/status.js +225 -0
  46. package/lib/commands/task.js +199 -0
  47. package/lib/commands/watch.js +569 -0
  48. package/lib/commands/workflows.js +240 -0
  49. package/lib/commands/workspace.js +189 -0
  50. package/lib/context/context-exporter.js +378 -0
  51. package/lib/context/prompt-generator.js +482 -0
  52. package/lib/steering/adoption-config.js +164 -0
  53. package/lib/steering/steering-manager.js +289 -0
  54. package/lib/task/task-claimer.js +430 -0
  55. package/lib/utils/tool-detector.js +383 -0
  56. package/lib/watch/action-executor.js +458 -0
  57. package/lib/watch/event-debouncer.js +323 -0
  58. package/lib/watch/execution-logger.js +550 -0
  59. package/lib/watch/file-watcher.js +499 -0
  60. package/lib/watch/presets.js +266 -0
  61. package/lib/watch/watch-manager.js +533 -0
  62. package/lib/workspace/workspace-manager.js +370 -0
  63. package/lib/workspace/workspace-sync.js +356 -0
  64. package/package.json +3 -1
  65. package/template/.kiro/tools/backup_manager.py +295 -0
  66. package/template/.kiro/tools/configuration_manager.py +218 -0
  67. package/template/.kiro/tools/document_evaluator.py +550 -0
  68. package/template/.kiro/tools/enhancement_logger.py +168 -0
  69. package/template/.kiro/tools/error_handler.py +335 -0
  70. package/template/.kiro/tools/improvement_identifier.py +444 -0
  71. package/template/.kiro/tools/modification_applicator.py +737 -0
  72. package/template/.kiro/tools/quality_gate_enforcer.py +207 -0
  73. package/template/.kiro/tools/quality_scorer.py +305 -0
  74. package/template/.kiro/tools/report_generator.py +154 -0
  75. package/template/.kiro/tools/ultrawork_enhancer_refactored.py +0 -0
  76. package/template/.kiro/tools/ultrawork_enhancer_v2.py +463 -0
  77. package/template/.kiro/tools/ultrawork_enhancer_v3.py +606 -0
  78. package/template/.kiro/tools/workflow_quality_gate.py +100 -0
package/README.md CHANGED
@@ -1,298 +1,320 @@
1
- # kiro-spec-engine
1
+ # kse - Kiro Spec Engine
2
2
 
3
3
  [![npm version](https://badge.fury.io/js/kiro-spec-engine.svg)](https://badge.fury.io/js/kiro-spec-engine)
4
4
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
5
 
6
- **Kiro Spec Engine** - A spec-driven rules engine with quality enhancement powered by Ultrawork spirit.
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
- ## 🎯 What is Kiro Spec Engine?
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
- Kiro Spec Engine (KSE) is a **spec-driven rules engine** that brings structure, quality, and the **Ultrawork spirit** to your development process. It's not just a tool—it's a methodology for building software with clarity and excellence.
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
- ### Core Concept: Spec-Driven Rules Engine
18
+ ### How it Works
17
19
 
18
- At its heart, KSE is a **rules engine** that operates on **specs**:
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
- - **Specs** define what you want to build (Requirements → Design → Tasks)
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
- ### Key Features
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
- - **Spec-Driven Development**: Structured Requirements → Design → Tasks workflow
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
- ## 🚀 Quick Start
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
- ### Installation
48
+ ## Quick Start (5 Minutes)
37
49
 
38
- Install globally via npm:
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
- Or use the short alias:
45
-
56
+ Verify installation:
46
57
  ```bash
47
- npm install -g kiro-spec-engine
48
- # Creates both 'kiro-spec-engine' and 'kse' commands
58
+ kse --version
49
59
  ```
50
60
 
51
- ### Initialize a Project
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
- # Initialize in current directory
55
- kiro-spec-engine init
66
+ cd your-project
67
+ kse adopt
68
+ ```
56
69
 
57
- # Or specify project name
58
- kiro-spec-engine init "My Awesome Project"
70
+ This creates a `.kiro/` directory with:
71
+ - `specs/` - Where your Specs live
72
+ - `steering/` - Rules for AI behavior (optional)
59
73
 
60
- # Use Chinese interface
61
- kiro-spec-engine --lang zh init
74
+ ### Step 3: Create Your First Spec (2 minutes)
62
75
 
63
- # Use short alias
64
- kse init
76
+ ```bash
77
+ kse create-spec 01-00-user-login
65
78
  ```
66
79
 
67
- ### Create and Enhance Your First Spec
80
+ This creates three files in `.kiro/specs/01-00-user-login/`:
68
81
 
69
- ```bash
70
- # Create a new spec
71
- kse create-spec 01-00-user-authentication
82
+ **requirements.md** - What you're building:
83
+ ```markdown
84
+ # User Login Feature
72
85
 
73
- # Write your basic requirements.md file
74
- # Then enhance it with Ultrawork
75
- kse enhance requirements .kiro/specs/01-00-user-authentication/requirements.md
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
- ## 📋 Commands
95
+ **design.md** - How you'll build it:
96
+ ```markdown
97
+ # Design
79
98
 
80
- ### Project Management
99
+ ## API Design
100
+ - POST /api/auth/login
101
+ - Request: { email: string, password: string }
102
+ - Response: { token: string } or { error: string }
81
103
 
82
- ```bash
83
- # Initialize project
84
- kse init [project-name]
85
-
86
- # Adopt existing project
87
- kse adopt # Interactive adoption
88
- kse adopt --auto # Skip confirmations
89
- kse adopt --dry-run # Show what would change
90
- kse adopt --mode fresh # Force specific mode
91
-
92
- # Upgrade project version
93
- kse upgrade # Interactive upgrade
94
- kse upgrade --auto # Skip confirmations
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
- ### Document Enhancement
119
+ ### Step 4: Export Context for Your AI Tool (1 minute)
118
120
 
119
121
  ```bash
120
- # Enhance requirements document
121
- kse enhance requirements <file>
122
+ kse context export 01-00-user-login
123
+ ```
122
124
 
123
- # Enhance design document (requires requirements file)
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
- # Check tasks completion
127
- kse enhance tasks <tasks-file>
128
- ```
127
+ **Using with different AI tools:**
129
128
 
130
- ### Examples
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
- # Full workflow example
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
- ## 📊 Quality Standards
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
- ### Requirements Stage (0-10 scoring)
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
- ### Design Stage (0-10 scoring)
153
- - **Basic Structure** (2pts): System overview, architecture design, component design, interface design
154
- - **Requirements Traceability** (2pts): Bidirectional traceability from requirements to design
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
- ### Tasks Stage
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
- ## 🔄 Project Adoption and Upgrade
153
+ ## Core Concepts
167
154
 
168
- ### Adopting Existing Projects
155
+ ### Specs
169
156
 
170
- KSE can intelligently adopt existing projects with three modes:
157
+ A **Spec** is a structured description of a feature or project component. Each Spec contains:
171
158
 
172
- **Fresh Adoption** (no `.kiro/` directory):
173
- ```bash
174
- kse adopt
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
- **Partial Adoption** (`.kiro/` exists but incomplete):
179
- ```bash
180
- kse adopt
181
- # Preserves existing specs/ and steering/
182
- # Adds missing components
183
- ```
163
+ ### Context Export
184
164
 
185
- **Full Adoption** (complete `.kiro/` from older version):
186
- ```bash
187
- kse adopt
188
- # Upgrades components to current version
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
- ### Upgrading to New Versions
170
+ ### Integration Modes
194
171
 
195
- When a new version of KSE is released:
172
+ kse supports three ways to work with AI tools:
196
173
 
197
- ```bash
198
- # Check current version
199
- kse --version
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
- # Upgrade to latest version
202
- kse upgrade
184
+ kse works with any AI coding assistant. Choose your tool for specific guidance:
203
185
 
204
- # Upgrade to specific version
205
- kse upgrade --to 1.2.0
186
+ ### Popular AI Tools
206
187
 
207
- # Preview upgrade plan
208
- kse upgrade --dry-run
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
- **Incremental Upgrades**: KSE automatically handles version gaps by upgrading through intermediate versions (e.g., 1.0.0 → 1.1.0 → 1.2.0).
210
+ ---
212
211
 
213
- ### Rollback and Safety
212
+ ## Documentation
214
213
 
215
- All destructive operations create automatic backups:
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
- ```bash
218
- # List available backups
219
- kse rollback
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
- # Restore from specific backup
222
- kse rollback --backup adopt-2026-01-23-100000
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
- # Quick rollback (interactive)
225
- kse rollback
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
- **Safety Features**:
229
- - Automatic backup before adoption/upgrade
230
- - Backup validation and integrity checking
231
- - Easy rollback to previous states
232
- - Dry-run mode to preview changes
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
- ## 🛠️ Project Structure
243
+ ### Complete Documentation
244
+ - 📚 **[Documentation Index](docs/README.md)** - All documentation in one place
235
245
 
236
- After initialization, your project will have:
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
- ## 🔥 The Ultrawork Spirit
250
+ ### Spec-Driven Development
251
+ Structure your work with Requirements → Design → Tasks workflow
255
252
 
256
- > Inspired by Sisyphus from Greek mythology, who was condemned to push a boulder up a mountain for eternity, only to watch it roll back down each time.
253
+ ### Multi-User Collaboration
254
+ - Personal workspaces for team members
255
+ - Task claiming and tracking
256
+ - Workspace synchronization
257
257
 
258
- The Ultrawork spirit embodies:
258
+ ### Cross-Tool Compatibility
259
+ Export context for Claude Code, Cursor, Windsurf, Copilot, and more
259
260
 
260
- - **Relentless Effort**: Never give up when facing challenges
261
- - **Continuous Improvement**: Always strive for better quality
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
- Ultrawork is the **quality enhancement philosophy** within Kiro Spec Engine—it's what drives the engine to produce professional-grade results.
264
+ ### Quality Enhancement
265
+ - Document quality scoring (0-10 scale)
266
+ - Intelligent improvement suggestions
267
+ - Professional standards enforcement
266
268
 
267
- ## 🌍 Multi-language Support
269
+ ### Multi-Language Support
270
+ English and Chinese interfaces
268
271
 
269
- Kiro Spec Engine supports multiple languages out of the box.
272
+ ---
270
273
 
271
- ### Setting Language
274
+ ## Command Overview
272
275
 
273
276
  ```bash
274
- # Using command line option
275
- kse --lang zh init
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
- # Using environment variable
278
- export KIRO_LANG=zh
279
- kse init
289
+ # Automation
290
+ kse watch start # Start watch mode
291
+ kse watch status # Check watch status
280
292
 
281
- # Windows
282
- set KIRO_LANG=zh
283
- kse init
293
+ # Project info
294
+ kse status # Project status
295
+ kse workflows # List available workflows
284
296
  ```
285
297
 
286
- ### Supported Languages
298
+ See [Command Reference](docs/command-reference.md) for complete documentation.
287
299
 
288
- - 🇺🇸 English (en) - Default
289
- - 🇨🇳 Simplified Chinese (zh)
300
+ ---
301
+
302
+ ## Contributing & Support
290
303
 
291
- The tool automatically detects your system language and uses it by default. You can override this with the `--lang` option or `KIRO_LANG` environment variable.
304
+ ### Getting Help
292
305
 
293
- ## 🤝 Contributing
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
- We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details.
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
- ### Adding New Languages
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
- ## 📄 License
331
+ ## License
314
332
 
315
333
  MIT License - see [LICENSE](LICENSE) file for details.
316
334
 
317
- ## 🙏 Acknowledgments
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
- **Start your spec-driven journey today! 🔥**
345
+ **Ready to enhance your AI-assisted development?** 🚀
326
346
 
327
347
  ```bash
328
348
  npm install -g kiro-spec-engine
329
- kse init
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