AWS Kiro
AWS Kiro ist eine von Claude betriebene, spezifikationsgetriebene, agentische IDE, die Softwareentwicklung von zeitnahen auf strukturierte, spekulative Entwicklungs-Workflows umwandelt.
Installation und Inbetriebnahme
| | Command | Description | |
| --- | --- |
| | curl -fsSL https://kiro.aws.dev/install.sh \ | sh
| Install Kiro CLI | |
| | kiro --version
| Check installed version | |
| | kiro auth login
| Authenticate with AWS/Google/GitHub | |
| | kiro auth status
| Check authentication status | |
| | kiro config init
| Initialize configuration | |
| | kiro update
| Update to latest version | |
Projekt Initialisierung
| | Command | Description | |
| --- | --- |
| | kiro init
| Initialize new Kiro project | |
| | kiro init --template react
| Initialize with React template | |
| | kiro init --template node-api
| Initialize with Node.js API template | |
| | kiro init --template python-flask
| Initialize with Flask template | |
| | kiro init --template nextjs
| Initialize with Next.js template | |
| | kiro workspace create "project-name"
| Create new workspace | |
Spezifikation Management
| | Command | Description | |
| --- | --- |
| | kiro spec create "feature-name"
| Create new feature specification | |
| | kiro spec edit "feature-name"
| Edit existing specification | |
| | kiro spec validate
| Validate current specifications | |
| | kiro spec list
| List all specifications | |
| | kiro spec export spec.json
| Export specifications | |
| | kiro spec import spec.json
| Import specifications | |
Code Generation
| | Command | Description | |
| --- | --- |
| | kiro generate
| Generate code from specifications | |
| | kiro generate --component Button
| Generate specific component | |
| | kiro generate --api user-service
| Generate API service | |
| | kiro generate --test
| Generate test files | |
| | kiro generate --docs
| Generate documentation | |
| | kiro generate --force
| Force regeneration | |
Entwicklungs-Workflow
| | Command | Description | |
| --- | --- |
| | kiro dev start
| Start development server | |
| | kiro dev build
| Build project | |
| | kiro dev test
| Run tests | |
| | kiro dev lint
| Run linting | |
| | kiro dev format
| Format code | |
| | kiro dev watch
| Watch for changes | |
KI Agent Commands
| | Command | Description | |
| --- | --- |
| | kiro agent task "implement user authentication"
| Assign task to AI agent | |
| | kiro agent status
| Check agent status | |
| | kiro agent history
| View agent task history | |
| | kiro agent feedback "task-id" "feedback"
| Provide feedback on task | |
| | kiro agent retry "task-id"
| Retry failed task | |
| | kiro agent cancel "task-id"
| Cancel running task | |
Architektur und Design
| | Command | Description | |
| --- | --- |
| | kiro arch diagram
| Generate architecture diagram | |
| | kiro arch analyze
| Analyze current architecture | |
| | kiro arch suggest
| Get architecture suggestions | |
| | kiro design system create
| Create design system | |
| | kiro design components list
| List design components | |
| | kiro design tokens export
| Export design tokens | |
Regeldateien & Konfiguration
| | Command | Description | |
| --- | --- |
| | kiro rules create
| Create new rule file | |
| | kiro rules apply
| Apply rule file to project | |
| | kiro rules validate
| Validate rule file | |
| | kiro rules list
| List available rules | |
| | kiro config set key value
| Set configuration value | |
| | kiro config get key
| Get configuration value | |
Modellkontextprotokoll (MCP)
| | Command | Description | |
| --- | --- |
| | kiro mcp list
| List available MCP servers | |
| | kiro mcp connect server-name
| Connect to MCP server | |
| | kiro mcp disconnect server-name
| Disconnect from MCP server | |
| | kiro mcp status
| Show MCP connection status | |
| | kiro mcp tools
| List available MCP tools | |
Dateioperationen
| | Command | Description | |
| --- | --- |
| | kiro file create "path/file.js"
| Create new file | |
| | kiro file edit "path/file.js"
| Edit existing file | |
| | kiro file analyze "path/file.js"
| Analyze file | |
| | kiro file refactor "path/file.js"
| Refactor file | |
| | kiro file optimize "path/file.js"
| Optimize file | |
| | kiro file template "component"
| Create from template | |
Prüfung und Qualität
| | Command | Description | |
| --- | --- |
| | kiro test generate
| Generate test files | |
| | kiro test run
| Run all tests | |
| | kiro test coverage
| Generate coverage report | |
| | kiro test e2e
| Run end-to-end tests | |
| | kiro quality check
| Run quality checks | |
| | kiro security scan
| Run security scan | |
Bereitstellung & CI/CD
| | Command | Description | |
| --- | --- |
| | kiro deploy preview
| Deploy preview environment | |
| | kiro deploy staging
| Deploy to staging | |
| | kiro deploy production
| Deploy to production | |
| | kiro ci generate
| Generate CI/CD configuration | |
| | kiro ci validate
| Validate CI/CD setup | |
| | kiro env create "environment-name"
| Create environment | |
Dokumentation
| | Command | Description | |
| --- | --- |
| | kiro docs generate
| Generate project documentation | |
| | kiro docs api
| Generate API documentation | |
| | kiro docs components
| Generate component docs | |
| | kiro docs serve
| Serve documentation locally | |
| | kiro docs deploy
| Deploy documentation | |
| | kiro readme generate
| Generate README file | |
Gier Integration
| | Command | Description | |
| --- | --- |
| | kiro git commit
| AI-generated commit messages | |
| | kiro git branch "feature-description"
| Create feature branch | |
| | kiro git pr create
| Create pull request | |
| | kiro git review
| Review code changes | |
| | kiro git merge-check
| Check merge conflicts | |
| | kiro git changelog
| Generate changelog | |
Datenbank und Schema
| | Command | Description | |
| --- | --- |
| | kiro db schema generate
| Generate database schema | |
| | kiro db migrate create "migration-name"
| Create migration | |
| | kiro db migrate run
| Run migrations | |
| | kiro db seed generate
| Generate seed data | |
| | kiro db analyze
| Analyze database structure | |
API Entwicklung
| | Command | Description | |
| --- | --- |
| | kiro api generate
| Generate API endpoints | |
| | kiro api spec create
| Create API specification | |
| | kiro api test generate
| Generate API tests | |
| | kiro api docs
| Generate API documentation | |
| | kiro api validate
| Validate API specification | |
| | kiro api mock
| Create API mock server | |
Frontend Entwicklung
| | Command | Description | |
| --- | --- |
| | kiro ui component create "ComponentName"
| Create UI component | |
| | kiro ui page create "PageName"
| Create new page | |
| | kiro ui theme generate
| Generate theme configuration | |
| | kiro ui icons optimize
| Optimize icon assets | |
| | kiro ui responsive check
| Check responsive design | |
Backend Entwicklung
| | Command | Description | |
| --- | --- |
| | kiro backend service create "ServiceName"
| Create backend service | |
| | kiro backend middleware create "MiddlewareName"
| Create middleware | |
| | kiro backend auth setup
| Setup authentication | |
| | kiro backend cache configure
| Configure caching | |
| | kiro backend logging setup
| Setup logging | |
Überwachung und Analyse
| | Command | Description | |
| --- | --- |
| | kiro monitor setup
| Setup monitoring | |
| | kiro analytics configure
| Configure analytics | |
| | kiro logs analyze
| Analyze application logs | |
| | kiro performance check
| Check performance metrics | |
| | kiro errors track
| Track error patterns | |
Zusammenarbeit
| | Command | Description | |
| --- | --- |
| | kiro team invite "email@domain.com"
| Invite team member | |
| | kiro team permissions set "user" "role"
| Set user permissions | |
| | kiro team activity
| View team activity | |
| | kiro share workspace
| Share workspace | |
| | kiro review request "feature"
| Request code review | |
Erweiterte Funktionen
Hooks & Automation
| | Command | Description | |
| --- | --- |
| | kiro hooks list
| List available hooks | |
| | kiro hooks create "hook-name"
| Create custom hook | |
| | kiro hooks enable "hook-name"
| Enable hook | |
| | kiro hooks disable "hook-name"
| Disable hook | |
| | kiro automation create "workflow"
| Create automation workflow | |
Benutzerdefinierte Vorlagen
| | Command | Description | |
| --- | --- |
| | kiro template create "template-name"
| Create custom template | |
| | kiro template list
| List available templates | |
| | kiro template share "template-name"
| Share template | |
| | kiro template import "template-url"
| Import template | |
Erweiterungen
| | Command | Description | |
| --- | --- |
| | kiro extension list
| List installed extensions | |
| | kiro extension install "extension-name"
| Install extension | |
| | kiro extension uninstall "extension-name"
| Uninstall extension | |
| | kiro extension create "extension-name"
| Create custom extension | |
Konfigurationsdateien
kiro.config.json
json
{
"project": {
"name": "my-app",
"type": "fullstack",
"framework": "react"
},
"ai": {
"model": "claude-3.5-sonnet",
"temperature": 0.7,
"maxTokens": 4000
},
"rules": {
"codeStyle": "prettier",
"testing": "jest",
"linting": "eslint"
}
}
_
.kiro/rules.yaml
```yaml coding_standards: - use_typescript: true - prefer_functional_components: true - max_function_length: 50 - require_tests: true
architecture: - follow_mvc_pattern: true - use_dependency_injection: true - implement_error_handling: true
security: - validate_inputs: true - use_https: true - implement_auth: true ```_
Umweltvariablen
| | Variable | Description | |
| --- | --- |
| | KIRO_API_KEY
| Kiro API key | |
| | KIRO_PROJECT_ID
| Project identifier | |
| | KIRO_WORKSPACE
| Workspace path | |
| | KIRO_MODEL
| Default AI model | |
| | KIRO_TEMPERATURE
| AI temperature setting | |
Fehlerbehebung
| | Command | Description | |
| --- | --- |
| | kiro doctor
| Diagnose installation issues | |
| | kiro logs show
| Show application logs | |
| | kiro debug enable
| Enable debug mode | |
| | kiro cache clear
| Clear application cache | |
| | kiro reset workspace
| Reset workspace state | |
Best Practices
- Beginnen Sie mit klaren, detaillierten Spezifikationen
- Verwenden Sie Regeldateien, um Konsistenz zu erhalten
- Leverage MCP für externe Werkzeugintegration
- Umsetzung richtiger Teststrategien
- Verwendung der Versionssteuerung für Spezifikationen
- Regelmäßige Codebewertungen und Qualitätsprüfungen
- Überwachung der Leistung und Sicherheit
- Entscheidungen der Architektur
- effektiv mit Teammitgliedern zusammenarbeiten
- Halten Sie Abhängigkeiten aktualisiert
Integrationsbeispiele
Full-Stack-Entwicklung
bash
kiro init --template fullstack
kiro spec create "user-management"
kiro generate --api --frontend
kiro test generate
kiro deploy preview
_
Mikroservices Architektur
bash
kiro arch diagram --type microservices
kiro service create "user-service"
kiro service create "payment-service"
kiro api generate --service user-service
kiro deploy staging
_
CI/CD Pipeline
bash
kiro ci generate --platform github
kiro test coverage --threshold 80
kiro security scan
kiro deploy production --auto
_