AWS Kiro
Traduzione: Copia tutti i comandi
Traduzione: Generare PDF
< >
AWS Kiro è un IDE dotato di specifiche alimentato da Claude che trasforma lo sviluppo del software da rapido a flussi di lavoro di sviluppo strutturati, spec-first.
## Installazione e configurazione
| | 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 | |
## Inizializzazione del progetto
| | 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 | |
## Gestione delle specifiche
| | 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 | |
## Generazione di codice
| | 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 | |
## Flusso di lavoro
| | 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 | |
## Comandi dell'agente dell'AI
| | 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 | |
## Architettura e 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 | |
## File di regola e configurazione
| | 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 | |
## Protocollo di contesto modello (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 | |
## Operazioni di file
| | 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 | |
## Test e qualità
| | 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 | |
## Deployment & 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 | |
## Documentazione
| | 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 | |
## Integrazione Git
| | 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 | |
## Database & 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 | |
## Sviluppo API
| | 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 | |
## Sviluppo del Fronte
| | 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 | |
## Sviluppo del back-end
| | 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 | |
## Monitoraggio e analisi
| | 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 | |
## Collaborazione
| | 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 | |
## Caratteristiche avanzate
### Ganci e automazione
| | 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 | |
### Modelli personalizzati
| | 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 | |
### Estensioni
| | 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 | |
## File di configurazione
### kiro.config.json
Traduzione:
### .kiro/rules.yaml
Traduzione:
## Variabili dell'ambiente
| | 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 | |
## Risoluzione dei problemi
| | 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 | |
## Migliori Pratiche
- Avviare con specifiche chiare e dettagliate
- Utilizzare i file di regola per mantenere la coerenza
- Leverage MCP per l'integrazione degli strumenti esterni
- Realizzare strategie di test adeguate
- Utilizzare il controllo della versione per le specifiche
- Regolari recensioni di codice e controlli di qualità
- Monitorare le prestazioni e la sicurezza
- Decisioni di architettura dei documenti
- Collaborare efficacemente con i membri del team
- Tenere aggiornato le dipendenze
## Esempi di integrazione
### Sviluppo a stato completo
Traduzione:
### Microservizi Architettura
Traduzione:
### CI/CD Pipeline
Traduzione: