kiro-agent-team 1.0.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/.kiro/README.md +228 -0
- package/.kiro/agents/backend-engineer.json +6 -0
- package/.kiro/agents/backend-engineer.md +643 -0
- package/.kiro/agents/database-specialist.json +6 -0
- package/.kiro/agents/database-specialist.md +390 -0
- package/.kiro/agents/development-logger.json +6 -0
- package/.kiro/agents/development-logger.md +265 -0
- package/.kiro/agents/devops-engineer.json +6 -0
- package/.kiro/agents/devops-engineer.md +287 -0
- package/.kiro/agents/frontend-architect.json +6 -0
- package/.kiro/agents/frontend-architect.md +1032 -0
- package/.kiro/agents/hooks/backend-engineer-hooks.yaml +540 -0
- package/.kiro/agents/hooks/database-specialist-hooks.yaml +488 -0
- package/.kiro/agents/hooks/development-logger-hooks.yaml +361 -0
- package/.kiro/agents/hooks/devops-engineer-hooks.yaml +345 -0
- package/.kiro/agents/hooks/frontend-architect-hooks.yaml +521 -0
- package/.kiro/agents/hooks/project-manager-hooks.yaml +513 -0
- package/.kiro/agents/hooks/security-specialist-hooks.yaml +358 -0
- package/.kiro/agents/hooks/test-orchestrator-hooks.yaml +380 -0
- package/.kiro/agents/hooks/ui-ux-designer-hooks.yaml +353 -0
- package/.kiro/agents/project-manager.json +6 -0
- package/.kiro/agents/project-manager.md +344 -0
- package/.kiro/agents/prompts/backend-engineer-system.md +815 -0
- package/.kiro/agents/prompts/database-specialist-system.md +332 -0
- package/.kiro/agents/prompts/development-logger-system.md +232 -0
- package/.kiro/agents/prompts/devops-engineer-system.md +260 -0
- package/.kiro/agents/prompts/frontend-architect-system.md +305 -0
- package/.kiro/agents/prompts/project-manager-system.md +285 -0
- package/.kiro/agents/prompts/security-specialist-system.md +231 -0
- package/.kiro/agents/prompts/test-orchestrator-system.md +214 -0
- package/.kiro/agents/prompts/ui-ux-designer-system.md +270 -0
- package/.kiro/agents/security-specialist.json +6 -0
- package/.kiro/agents/security-specialist.md +277 -0
- package/.kiro/agents/test-orchestrator.json +6 -0
- package/.kiro/agents/test-orchestrator.md +266 -0
- package/.kiro/agents/ui-ux-designer.json +6 -0
- package/.kiro/agents/ui-ux-designer.md +284 -0
- package/.kiro/devlog/00-START-HERE.md +444 -0
- package/.kiro/devlog/COMPLETE-WORKFLOW.md +553 -0
- package/.kiro/devlog/DEVLOG-INTEGRATION.md +413 -0
- package/.kiro/devlog/DEVLOG-PROCESS-FLOWS.md +484 -0
- package/.kiro/devlog/DEVLOG-QUICK-REF.md +299 -0
- package/.kiro/devlog/DEVLOG.md +22 -0
- package/.kiro/devlog/IMPLEMENTATION-COMPLETE.txt +434 -0
- package/.kiro/devlog/IMPLEMENTATION-SUMMARY.md +358 -0
- package/.kiro/devlog/README.md +363 -0
- package/.kiro/devlog/devlog-update.bat +136 -0
- package/.kiro/devlog/devlog-update.sh +275 -0
- package/.kiro/devlog/feature-completion-hook.bat +78 -0
- package/.kiro/devlog/feature-completion-hook.sh +84 -0
- package/.kiro/documentation/cli.md +31 -0
- package/.kiro/documentation/docs_cli.md +41 -0
- package/.kiro/documentation/docs_cli_authentication.md +43 -0
- package/.kiro/documentation/docs_cli_autocomplete.md +132 -0
- package/.kiro/documentation/docs_cli_billing.md +31 -0
- package/.kiro/documentation/docs_cli_billing_contact-support.md +43 -0
- package/.kiro/documentation/docs_cli_billing_managing-taxes.md +67 -0
- package/.kiro/documentation/docs_cli_billing_related-questions.md +49 -0
- package/.kiro/documentation/docs_cli_billing_subscription-portal.md +31 -0
- package/.kiro/documentation/docs_cli_chat.md +84 -0
- package/.kiro/documentation/docs_cli_chat_configuration.md +40 -0
- package/.kiro/documentation/docs_cli_chat_context.md +258 -0
- package/.kiro/documentation/docs_cli_chat_git-aware-selection.md +41 -0
- package/.kiro/documentation/docs_cli_chat_images.md +53 -0
- package/.kiro/documentation/docs_cli_chat_manage-prompts.md +216 -0
- package/.kiro/documentation/docs_cli_chat_model-selection.md +153 -0
- package/.kiro/documentation/docs_cli_chat_permissions.md +68 -0
- package/.kiro/documentation/docs_cli_chat_planning-agent.md +230 -0
- package/.kiro/documentation/docs_cli_chat_responding.md +123 -0
- package/.kiro/documentation/docs_cli_chat_security.md +87 -0
- package/.kiro/documentation/docs_cli_chat_subagents.md +77 -0
- package/.kiro/documentation/docs_cli_code-intelligence.md +251 -0
- package/.kiro/documentation/docs_cli_custom-agents.md +37 -0
- package/.kiro/documentation/docs_cli_custom-agents_configuration-reference.md +941 -0
- package/.kiro/documentation/docs_cli_custom-agents_creating.md +93 -0
- package/.kiro/documentation/docs_cli_custom-agents_examples.md +360 -0
- package/.kiro/documentation/docs_cli_custom-agents_troubleshooting.md +180 -0
- package/.kiro/documentation/docs_cli_enterprise_billing.md +33 -0
- package/.kiro/documentation/docs_cli_enterprise_concepts.md +34 -0
- package/.kiro/documentation/docs_cli_enterprise_getting-started.md +19 -0
- package/.kiro/documentation/docs_cli_enterprise_iam.md +251 -0
- package/.kiro/documentation/docs_cli_enterprise_monitor-and-track.md +15 -0
- package/.kiro/documentation/docs_cli_enterprise_monitor-and-track_dashboard.md +62 -0
- package/.kiro/documentation/docs_cli_enterprise_monitor-and-track_prompt-logging.md +165 -0
- package/.kiro/documentation/docs_cli_enterprise_monitor-and-track_user-activity.md +123 -0
- package/.kiro/documentation/docs_cli_enterprise_settings.md +15 -0
- package/.kiro/documentation/docs_cli_enterprise_subscribe.md +36 -0
- package/.kiro/documentation/docs_cli_enterprise_subscription-management.md +55 -0
- package/.kiro/documentation/docs_cli_enterprise_supported-regions.md +39 -0
- package/.kiro/documentation/docs_cli_experimental.md +282 -0
- package/.kiro/documentation/docs_cli_experimental_checkpointing.md +439 -0
- package/.kiro/documentation/docs_cli_experimental_delegate.md +422 -0
- package/.kiro/documentation/docs_cli_experimental_knowledge-management.md +449 -0
- package/.kiro/documentation/docs_cli_experimental_tangent-mode.md +357 -0
- package/.kiro/documentation/docs_cli_experimental_thinking.md +331 -0
- package/.kiro/documentation/docs_cli_experimental_todo-lists.md +385 -0
- package/.kiro/documentation/docs_cli_hooks.md +207 -0
- package/.kiro/documentation/docs_cli_installation.md +235 -0
- package/.kiro/documentation/docs_cli_mcp.md +106 -0
- package/.kiro/documentation/docs_cli_mcp_configuration.md +294 -0
- package/.kiro/documentation/docs_cli_mcp_examples.md +273 -0
- package/.kiro/documentation/docs_cli_mcp_governance.md +436 -0
- package/.kiro/documentation/docs_cli_mcp_security.md +77 -0
- package/.kiro/documentation/docs_cli_migrating-from-q.md +129 -0
- package/.kiro/documentation/docs_cli_privacy-and-security.md +83 -0
- package/.kiro/documentation/docs_cli_privacy-and-security_compliance-validation.md +17 -0
- package/.kiro/documentation/docs_cli_privacy-and-security_data-protection.md +104 -0
- package/.kiro/documentation/docs_cli_privacy-and-security_firewalls.md +26 -0
- package/.kiro/documentation/docs_cli_privacy-and-security_infrastructure-security.md +10 -0
- package/.kiro/documentation/docs_cli_privacy-and-security_vpc-endpoints.md +41 -0
- package/.kiro/documentation/docs_cli_reference_built-in-tools.md +624 -0
- package/.kiro/documentation/docs_cli_reference_cli-commands.md +689 -0
- package/.kiro/documentation/docs_cli_reference_settings.md +294 -0
- package/.kiro/documentation/docs_cli_reference_slash-commands.md +559 -0
- package/.kiro/documentation/docs_cli_steering.md +84 -0
- package/.kiro/guides/AGENT_WORKFLOW_GUIDE.md +294 -0
- package/.kiro/guides/DEVLOG.md +882 -0
- package/.kiro/guides/IMPLEMENTATION_EXAMPLES.md +611 -0
- package/.kiro/guides/PIV Loop.md +122 -0
- package/.kiro/guides/PIV Loop.png +0 -0
- package/.kiro/guides/PIVLoop.png +0 -0
- package/.kiro/guides/QUICK_REFERENCE.md +202 -0
- package/.kiro/guides/README.md +149 -0
- package/.kiro/guides/advanced-patterns.md +514 -0
- package/.kiro/guides/agent-coordination.md +434 -0
- package/.kiro/guides/core-workflows.md +409 -0
- package/.kiro/guides/emergency-procedures.md +414 -0
- package/.kiro/guides/project-evaluation.md +534 -0
- package/.kiro/guides/quality-assurance.md +431 -0
- package/.kiro/guides/quick-start.md +235 -0
- package/.kiro/guides/troubleshooting.md +575 -0
- package/.kiro/guides/walkthroughs.md +711 -0
- package/.kiro/prompts/add-to-devlog.md +263 -0
- package/.kiro/prompts/code-review-fix.md +18 -0
- package/.kiro/prompts/code-review-hackathon.md +167 -0
- package/.kiro/prompts/code-review-security.md +454 -0
- package/.kiro/prompts/code-review.md +113 -0
- package/.kiro/prompts/create-prd.md +151 -0
- package/.kiro/prompts/execute-backend.md +257 -0
- package/.kiro/prompts/execute-frontend.md +438 -0
- package/.kiro/prompts/execute-logging.md +491 -0
- package/.kiro/prompts/execute-security.md +482 -0
- package/.kiro/prompts/execute-testing.md +528 -0
- package/.kiro/prompts/execute.md +101 -0
- package/.kiro/prompts/execution-report.md +72 -0
- package/.kiro/prompts/implement-fix.md +228 -0
- package/.kiro/prompts/plan-feature.md +433 -0
- package/.kiro/prompts/prime.md +73 -0
- package/.kiro/prompts/quality-metrics.md +622 -0
- package/.kiro/prompts/quickstart.md +318 -0
- package/.kiro/prompts/rca.md +220 -0
- package/.kiro/prompts/system-review.md +189 -0
- package/README.md +32 -0
- package/bin/cli.js +97 -0
- package/package.json +33 -0
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Analyze implementation against plan for process improvements
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# System Review
|
|
6
|
+
|
|
7
|
+
Perform a meta-level analysis of how well the implementation followed the plan and identify process improvements.
|
|
8
|
+
|
|
9
|
+
## Purpose
|
|
10
|
+
|
|
11
|
+
**System review is NOT code review.** You're not looking for bugs in the code - you're looking for bugs in the process.
|
|
12
|
+
|
|
13
|
+
**Your job:**
|
|
14
|
+
|
|
15
|
+
- Analyze plan adherence and divergence patterns
|
|
16
|
+
- Identify which divergences were justified vs problematic
|
|
17
|
+
- Surface process improvements that prevent future issues
|
|
18
|
+
- Suggest updates to steering documents, plan templates, commands
|
|
19
|
+
|
|
20
|
+
**Philosophy:**
|
|
21
|
+
|
|
22
|
+
- Good divergence reveals plan limitations → improve planning
|
|
23
|
+
- Bad divergence reveals unclear requirements → improve communication
|
|
24
|
+
- Repeated issues reveal missing automation → create commands
|
|
25
|
+
|
|
26
|
+
## Context & Inputs
|
|
27
|
+
|
|
28
|
+
You will analyze four key artifacts:
|
|
29
|
+
|
|
30
|
+
**Plan Command:**
|
|
31
|
+
Read this to understand the planning process and what instructions guide plan creation.
|
|
32
|
+
.kiro/prompts/plan-feature.md
|
|
33
|
+
|
|
34
|
+
**Generated Plan:**
|
|
35
|
+
Read this to understand what the agent was SUPPOSED to do.
|
|
36
|
+
Plan file: $1
|
|
37
|
+
|
|
38
|
+
**Execute Command:**
|
|
39
|
+
Read this to understand the execution process and what instructions guide implementation.
|
|
40
|
+
.kiro/prompts/execute.md
|
|
41
|
+
|
|
42
|
+
**Execution Report:**
|
|
43
|
+
Read this to understand what the agent ACTUALLY did and why.
|
|
44
|
+
Execution report: $2
|
|
45
|
+
|
|
46
|
+
## Analysis Workflow
|
|
47
|
+
|
|
48
|
+
### Step 1: Understand the Planned Approach
|
|
49
|
+
|
|
50
|
+
Read the generated plan ($1) and extract:
|
|
51
|
+
|
|
52
|
+
- What features were planned?
|
|
53
|
+
- What architecture was specified?
|
|
54
|
+
- What validation steps were defined?
|
|
55
|
+
- What patterns were referenced?
|
|
56
|
+
|
|
57
|
+
### Step 2: Understand the Actual Implementation
|
|
58
|
+
|
|
59
|
+
Read the execution report ($2) and extract:
|
|
60
|
+
|
|
61
|
+
- What was implemented?
|
|
62
|
+
- What diverged from the plan?
|
|
63
|
+
- What challenges were encountered?
|
|
64
|
+
- What was skipped and why?
|
|
65
|
+
|
|
66
|
+
### Step 3: Classify Each Divergence
|
|
67
|
+
|
|
68
|
+
For each divergence identified in the execution report, classify as:
|
|
69
|
+
|
|
70
|
+
**Good Divergence ✅** (Justified):
|
|
71
|
+
|
|
72
|
+
- Plan assumed something that didn't exist in the codebase
|
|
73
|
+
- Better pattern discovered during implementation
|
|
74
|
+
- Performance optimization needed
|
|
75
|
+
- Security issue discovered that required different approach
|
|
76
|
+
|
|
77
|
+
**Bad Divergence ❌** (Problematic):
|
|
78
|
+
|
|
79
|
+
- Ignored explicit constraints in plan
|
|
80
|
+
- Created new architecture instead of following existing patterns
|
|
81
|
+
- Took shortcuts that introduce tech debt
|
|
82
|
+
- Misunderstood requirements
|
|
83
|
+
|
|
84
|
+
### Step 4: Trace Root Causes
|
|
85
|
+
|
|
86
|
+
For each problematic divergence, identify the root cause:
|
|
87
|
+
|
|
88
|
+
- Was the plan unclear, where, why?
|
|
89
|
+
- Was context missing, where, why?
|
|
90
|
+
- Was validation missing, where, why?
|
|
91
|
+
- Was manual step repeated, where, why?
|
|
92
|
+
|
|
93
|
+
### Step 5: Generate Process Improvements
|
|
94
|
+
|
|
95
|
+
Based on patterns across divergences, suggest:
|
|
96
|
+
|
|
97
|
+
- **Steering document updates:** Universal patterns or anti-patterns to document
|
|
98
|
+
- **Plan command updates:** Instructions that need clarification or missing steps
|
|
99
|
+
- **New commands:** Manual processes that should be automated
|
|
100
|
+
- **Validation additions:** Checks that would catch issues earlier
|
|
101
|
+
|
|
102
|
+
## Output Format
|
|
103
|
+
|
|
104
|
+
Save your analysis to: `.kiro/system-reviews/[feature-name]-review.md`
|
|
105
|
+
|
|
106
|
+
### Report Structure:
|
|
107
|
+
|
|
108
|
+
#### Meta Information
|
|
109
|
+
|
|
110
|
+
- Plan reviewed: [path to $1]
|
|
111
|
+
- Execution report: [path to $2]
|
|
112
|
+
- Date: [current date]
|
|
113
|
+
|
|
114
|
+
#### Overall Alignment Score: \_\_/10
|
|
115
|
+
|
|
116
|
+
Scoring guide:
|
|
117
|
+
|
|
118
|
+
- 10: Perfect adherence, all divergences justified
|
|
119
|
+
- 7-9: Minor justified divergences
|
|
120
|
+
- 4-6: Mix of justified and problematic divergences
|
|
121
|
+
- 1-3: Major problematic divergences
|
|
122
|
+
|
|
123
|
+
#### Divergence Analysis
|
|
124
|
+
|
|
125
|
+
For each divergence from the execution report:
|
|
126
|
+
|
|
127
|
+
```yaml
|
|
128
|
+
divergence: [what changed]
|
|
129
|
+
planned: [what plan specified]
|
|
130
|
+
actual: [what was implemented]
|
|
131
|
+
reason: [agent's stated reason from report]
|
|
132
|
+
classification: good ✅ | bad ❌
|
|
133
|
+
justified: yes/no
|
|
134
|
+
root_cause: [unclear plan | missing context | etc]
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
#### Pattern Compliance
|
|
138
|
+
|
|
139
|
+
Assess adherence to documented patterns:
|
|
140
|
+
|
|
141
|
+
- [ ] Followed codebase architecture
|
|
142
|
+
- [ ] Used documented patterns from steering documents
|
|
143
|
+
- [ ] Applied testing patterns correctly
|
|
144
|
+
- [ ] Met validation requirements
|
|
145
|
+
|
|
146
|
+
#### System Improvement Actions
|
|
147
|
+
|
|
148
|
+
Based on analysis, recommend specific actions:
|
|
149
|
+
|
|
150
|
+
**Update Steering Documents:**
|
|
151
|
+
|
|
152
|
+
- [ ] Document [pattern X] discovered during implementation
|
|
153
|
+
- [ ] Add anti-pattern warning for [Y]
|
|
154
|
+
- [ ] Clarify [technology constraint Z]
|
|
155
|
+
|
|
156
|
+
**Update Plan Command ($1):**
|
|
157
|
+
|
|
158
|
+
- [ ] Add instruction for [missing step]
|
|
159
|
+
- [ ] Clarify [ambiguous instruction]
|
|
160
|
+
- [ ] Add validation requirement for [X]
|
|
161
|
+
|
|
162
|
+
**Create New Command:**
|
|
163
|
+
|
|
164
|
+
- [ ] `/[command-name]` for [manual process repeated 3+ times]
|
|
165
|
+
|
|
166
|
+
**Update Execute Command ($3):**
|
|
167
|
+
|
|
168
|
+
- [ ] Add [validation step] to execution checklist
|
|
169
|
+
|
|
170
|
+
#### Key Learnings
|
|
171
|
+
|
|
172
|
+
**What worked well:**
|
|
173
|
+
|
|
174
|
+
- [specific things that went smoothly]
|
|
175
|
+
|
|
176
|
+
**What needs improvement:**
|
|
177
|
+
|
|
178
|
+
- [specific process gaps identified]
|
|
179
|
+
|
|
180
|
+
**For next implementation:**
|
|
181
|
+
|
|
182
|
+
- [concrete improvements to try]
|
|
183
|
+
|
|
184
|
+
## Important
|
|
185
|
+
|
|
186
|
+
- **Be specific:** Don't say "plan was unclear" - say "plan didn't specify which auth pattern to use"
|
|
187
|
+
- **Focus on patterns:** One-off issues aren't actionable. Look for repeated problems.
|
|
188
|
+
- **Action-oriented:** Every finding should have a concrete asset update suggestion
|
|
189
|
+
- **Suggest improvements:** Don't just analyze - actually suggest specific text to add to steering documents or commands
|
package/README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# kiro-agent-team
|
|
2
|
+
|
|
3
|
+
A comprehensive AI agentic team for Kiro IDE and Kiro-CLI
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
Install the `.kiro` directory into your project using:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npx kiro-agent-team install
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
This command will:
|
|
14
|
+
- Create a `.kiro` directory in your current project
|
|
15
|
+
- Copy all configuration files and templates from the package
|
|
16
|
+
- Preserve any existing files (with warnings)
|
|
17
|
+
|
|
18
|
+
## Usage
|
|
19
|
+
|
|
20
|
+
After installation, the `.kiro` directory will be available in your project root. You can customize the configuration files as needed for your project.
|
|
21
|
+
|
|
22
|
+
## Development
|
|
23
|
+
|
|
24
|
+
To publish this package to npm:
|
|
25
|
+
|
|
26
|
+
1. Update the version in `package.json`
|
|
27
|
+
2. Run `npm publish` (make sure you're logged in to npm)
|
|
28
|
+
|
|
29
|
+
## CLI Commands
|
|
30
|
+
|
|
31
|
+
- `npx kiro-agent-team install` - Install .kiro directory to your project
|
|
32
|
+
- `npx kiro-agent-team --help` - Show help information
|
package/bin/cli.js
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const fs = require('fs');
|
|
4
|
+
const path = require('path');
|
|
5
|
+
const { execSync } = require('child_process');
|
|
6
|
+
|
|
7
|
+
const command = process.argv[2];
|
|
8
|
+
|
|
9
|
+
if (command === 'install') {
|
|
10
|
+
installKiroFiles();
|
|
11
|
+
} else if (command === '--help' || command === '-h' || !command) {
|
|
12
|
+
showHelp();
|
|
13
|
+
} else {
|
|
14
|
+
console.error(`Unknown command: ${command}`);
|
|
15
|
+
console.error('Run "npx kiro-agent-team --help" for usage information.');
|
|
16
|
+
process.exit(1);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
function installKiroFiles() {
|
|
20
|
+
try {
|
|
21
|
+
// Get the directory where this package is installed
|
|
22
|
+
const packagePath = path.dirname(require.resolve('../package.json'));
|
|
23
|
+
const sourceDir = path.join(packagePath, '.kiro');
|
|
24
|
+
const targetDir = path.join(process.cwd(), '.kiro');
|
|
25
|
+
|
|
26
|
+
// Check if source directory exists
|
|
27
|
+
if (!fs.existsSync(sourceDir)) {
|
|
28
|
+
console.error('Error: .kiro directory not found in package.');
|
|
29
|
+
process.exit(1);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// Check if target directory already exists
|
|
33
|
+
if (fs.existsSync(targetDir)) {
|
|
34
|
+
console.warn('Warning: .kiro directory already exists in your project.');
|
|
35
|
+
console.warn('This will merge/overwrite existing files.');
|
|
36
|
+
|
|
37
|
+
// Ask for confirmation (in a non-interactive way, we'll proceed)
|
|
38
|
+
// In a real scenario, you might want to use a library like readline or inquirer
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// Create target directory if it doesn't exist
|
|
42
|
+
if (!fs.existsSync(targetDir)) {
|
|
43
|
+
fs.mkdirSync(targetDir, { recursive: true });
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// Copy all files from source to target
|
|
47
|
+
copyDirectory(sourceDir, targetDir);
|
|
48
|
+
|
|
49
|
+
console.log('✓ Successfully installed .kiro directory to your project!');
|
|
50
|
+
console.log(` Location: ${targetDir}`);
|
|
51
|
+
} catch (error) {
|
|
52
|
+
console.error('Error installing .kiro files:', error.message);
|
|
53
|
+
process.exit(1);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
function copyDirectory(source, target) {
|
|
58
|
+
// Create target directory if it doesn't exist
|
|
59
|
+
if (!fs.existsSync(target)) {
|
|
60
|
+
fs.mkdirSync(target, { recursive: true });
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// Read all items in source directory
|
|
64
|
+
const items = fs.readdirSync(source);
|
|
65
|
+
|
|
66
|
+
for (const item of items) {
|
|
67
|
+
const sourcePath = path.join(source, item);
|
|
68
|
+
const targetPath = path.join(target, item);
|
|
69
|
+
const stat = fs.statSync(sourcePath);
|
|
70
|
+
|
|
71
|
+
if (stat.isDirectory()) {
|
|
72
|
+
// Recursively copy subdirectories
|
|
73
|
+
copyDirectory(sourcePath, targetPath);
|
|
74
|
+
} else {
|
|
75
|
+
// Copy file
|
|
76
|
+
fs.copyFileSync(sourcePath, targetPath);
|
|
77
|
+
console.log(` ✓ Copied: ${item}`);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
function showHelp() {
|
|
83
|
+
console.log(`
|
|
84
|
+
kiro-agent-team CLI
|
|
85
|
+
|
|
86
|
+
Usage:
|
|
87
|
+
npx kiro-agent-team <command>
|
|
88
|
+
|
|
89
|
+
Commands:
|
|
90
|
+
install Install .kiro directory to your project
|
|
91
|
+
|
|
92
|
+
Examples:
|
|
93
|
+
npx kiro-agent-team install
|
|
94
|
+
|
|
95
|
+
For more information, visit: https://github.com/your-org/kiro-agent-team
|
|
96
|
+
`);
|
|
97
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "kiro-agent-team",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "A comprehensive AI agentic team for Kiro IDE and Kiro-CLI",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"kiro-agent-team": "./bin/cli.js"
|
|
8
|
+
},
|
|
9
|
+
"scripts": {
|
|
10
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
11
|
+
},
|
|
12
|
+
"keywords": [
|
|
13
|
+
"kiro",
|
|
14
|
+
"ai",
|
|
15
|
+
"agent",
|
|
16
|
+
"ide",
|
|
17
|
+
"cli"
|
|
18
|
+
],
|
|
19
|
+
"author": "Sean Wright",
|
|
20
|
+
"license": "ISC",
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "https://github.com/seanrobertwright/kiro-agent-team.git"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"bin",
|
|
27
|
+
".kiro",
|
|
28
|
+
"README.md"
|
|
29
|
+
],
|
|
30
|
+
"engines": {
|
|
31
|
+
"node": ">=14.0.0"
|
|
32
|
+
}
|
|
33
|
+
}
|