@autocode-cli/autocode 0.1.13 → 0.1.15

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 (97) hide show
  1. package/dist/server/api.d.ts.map +1 -1
  2. package/dist/server/api.js +95 -1
  3. package/dist/server/api.js.map +1 -1
  4. package/dist/server/dashboard/pages/autocreate.d.ts +9 -0
  5. package/dist/server/dashboard/pages/autocreate.d.ts.map +1 -0
  6. package/dist/server/dashboard/pages/autocreate.js +847 -0
  7. package/dist/server/dashboard/pages/autocreate.js.map +1 -0
  8. package/dist/server/dashboard/pages/index.d.ts +1 -0
  9. package/dist/server/dashboard/pages/index.d.ts.map +1 -1
  10. package/dist/server/dashboard/pages/index.js +1 -0
  11. package/dist/server/dashboard/pages/index.js.map +1 -1
  12. package/dist/server/dashboard/pages/pipeline-configurator.d.ts.map +1 -1
  13. package/dist/server/dashboard/pages/pipeline-configurator.js +22 -0
  14. package/dist/server/dashboard/pages/pipeline-configurator.js.map +1 -1
  15. package/dist/server/dashboard.d.ts +1 -1
  16. package/dist/server/dashboard.d.ts.map +1 -1
  17. package/dist/server/dashboard.js +1 -1
  18. package/dist/server/dashboard.js.map +1 -1
  19. package/dist/server/index.d.ts.map +1 -1
  20. package/dist/server/index.js +9 -1
  21. package/dist/server/index.js.map +1 -1
  22. package/dist/services/autocreate.d.ts +34 -0
  23. package/dist/services/autocreate.d.ts.map +1 -0
  24. package/dist/services/autocreate.js +503 -0
  25. package/dist/services/autocreate.js.map +1 -0
  26. package/dist/types/index.d.ts +49 -0
  27. package/dist/types/index.d.ts.map +1 -1
  28. package/package.json +1 -1
  29. package/templates/catalog.yaml +102 -0
  30. package/templates/prompts/accessibility-check.en.md +25 -0
  31. package/templates/prompts/accessibility-check.fr.md +25 -0
  32. package/templates/prompts/api-endpoints-test.en.md +26 -0
  33. package/templates/prompts/api-endpoints-test.fr.md +26 -0
  34. package/templates/prompts/build-dist.en.md +20 -0
  35. package/templates/prompts/build-dist.fr.md +20 -0
  36. package/templates/prompts/ci-gitlab-validate.en.md +22 -0
  37. package/templates/prompts/ci-gitlab-validate.fr.md +22 -0
  38. package/templates/prompts/claude-integration-test.en.md +22 -0
  39. package/templates/prompts/claude-integration-test.fr.md +22 -0
  40. package/templates/prompts/cli-smoke-test.en.md +30 -0
  41. package/templates/prompts/cli-smoke-test.fr.md +30 -0
  42. package/templates/prompts/dashboard-responsive.en.md +27 -0
  43. package/templates/prompts/dashboard-responsive.fr.md +27 -0
  44. package/templates/prompts/dead-code-check.en.md +25 -0
  45. package/templates/prompts/dead-code-check.fr.md +25 -0
  46. package/templates/prompts/deps-licenses.en.md +23 -0
  47. package/templates/prompts/deps-licenses.fr.md +23 -0
  48. package/templates/prompts/deps-outdated.en.md +23 -0
  49. package/templates/prompts/deps-outdated.fr.md +23 -0
  50. package/templates/prompts/docs-readme-validate.en.md +22 -0
  51. package/templates/prompts/docs-readme-validate.fr.md +22 -0
  52. package/templates/prompts/error-handling-review.en.md +24 -0
  53. package/templates/prompts/error-handling-review.fr.md +24 -0
  54. package/templates/prompts/esm-compatibility.en.md +24 -0
  55. package/templates/prompts/esm-compatibility.fr.md +24 -0
  56. package/templates/prompts/file-watcher-test.en.md +20 -0
  57. package/templates/prompts/file-watcher-test.fr.md +20 -0
  58. package/templates/prompts/format-prettier-setup.en.md +21 -0
  59. package/templates/prompts/format-prettier-setup.fr.md +21 -0
  60. package/templates/prompts/git-conventional-commits.en.md +21 -0
  61. package/templates/prompts/git-conventional-commits.fr.md +21 -0
  62. package/templates/prompts/git-hooks-setup.en.md +27 -0
  63. package/templates/prompts/git-hooks-setup.fr.md +27 -0
  64. package/templates/prompts/graceful-shutdown.en.md +25 -0
  65. package/templates/prompts/graceful-shutdown.fr.md +25 -0
  66. package/templates/prompts/i18n-completeness.en.md +21 -0
  67. package/templates/prompts/i18n-completeness.fr.md +21 -0
  68. package/templates/prompts/landing-html-validate.en.md +23 -0
  69. package/templates/prompts/landing-html-validate.fr.md +23 -0
  70. package/templates/prompts/lint-eslint-setup.en.md +20 -0
  71. package/templates/prompts/lint-eslint-setup.fr.md +20 -0
  72. package/templates/prompts/node-version-check.en.md +21 -0
  73. package/templates/prompts/node-version-check.fr.md +21 -0
  74. package/templates/prompts/npm-publish-dry-run.en.md +25 -0
  75. package/templates/prompts/npm-publish-dry-run.fr.md +25 -0
  76. package/templates/prompts/pkg-exports-validate.en.md +23 -0
  77. package/templates/prompts/pkg-exports-validate.fr.md +23 -0
  78. package/templates/prompts/port-conflict-handling.en.md +22 -0
  79. package/templates/prompts/port-conflict-handling.fr.md +22 -0
  80. package/templates/prompts/security-audit.en.md +20 -0
  81. package/templates/prompts/security-audit.fr.md +20 -0
  82. package/templates/prompts/security-secrets.en.md +26 -0
  83. package/templates/prompts/security-secrets.fr.md +26 -0
  84. package/templates/prompts/template-validation.en.md +23 -0
  85. package/templates/prompts/template-validation.fr.md +23 -0
  86. package/templates/prompts/testing-coverage.en.md +20 -0
  87. package/templates/prompts/testing-coverage.fr.md +20 -0
  88. package/templates/prompts/testing-vitest.en.md +17 -0
  89. package/templates/prompts/testing-vitest.fr.md +17 -0
  90. package/templates/prompts/typecheck.en.md +17 -0
  91. package/templates/prompts/typecheck.fr.md +17 -0
  92. package/templates/prompts/version-semver.en.md +20 -0
  93. package/templates/prompts/version-semver.fr.md +20 -0
  94. package/templates/prompts/websocket-test.en.md +19 -0
  95. package/templates/prompts/websocket-test.fr.md +19 -0
  96. package/templates/prompts/yaml-validate.en.md +24 -0
  97. package/templates/prompts/yaml-validate.fr.md +24 -0
@@ -69,6 +69,105 @@ segments:
69
69
  - slug: retest
70
70
  name: Retest
71
71
  description: General retest after corrections
72
+ - slug: typecheck
73
+ name: Type checking
74
+ description: Strict TypeScript validation
75
+ - slug: lint-eslint-setup
76
+ name: ESLint Setup
77
+ description: ESLint linting setup
78
+ - slug: format-prettier-setup
79
+ name: Prettier Setup
80
+ description: Automatic code formatting
81
+ - slug: testing-vitest
82
+ name: Vitest Unit Tests
83
+ description: Run Vitest tests
84
+ - slug: testing-coverage
85
+ name: Code Coverage
86
+ description: Test coverage analysis
87
+ - slug: security-audit
88
+ name: npm Security Audit
89
+ description: Vulnerability check
90
+ - slug: deps-outdated
91
+ name: Outdated Dependencies
92
+ description: Check for updates
93
+ - slug: build-dist
94
+ name: Distribution Build
95
+ description: TypeScript compilation to dist/
96
+ - slug: cli-smoke-test
97
+ name: CLI Smoke Test
98
+ description: CLI commands verification
99
+ - slug: api-endpoints-test
100
+ name: API Endpoints Test
101
+ description: Verify 30+ REST endpoints
102
+ - slug: websocket-test
103
+ name: WebSocket Test
104
+ description: Real-time verification
105
+ - slug: pkg-exports-validate
106
+ name: Package Exports Validation
107
+ description: npm exports verification
108
+ - slug: git-conventional-commits
109
+ name: Conventional Commits
110
+ description: Commit format validation
111
+ - slug: version-semver
112
+ name: Semantic Versioning
113
+ description: Semver version validation
114
+ - slug: ci-gitlab-validate
115
+ name: GitLab CI Validation
116
+ description: GitLab pipeline verification
117
+ - slug: docs-readme-validate
118
+ name: README Validation
119
+ description: README documentation check
120
+ - slug: landing-html-validate
121
+ name: Landing Page Validation
122
+ description: Verify public/ HTML/CSS
123
+ - slug: i18n-completeness
124
+ name: i18n Completeness
125
+ description: FR/EN translations check
126
+ - slug: dead-code-check
127
+ name: Dead Code Detection
128
+ description: Unused code identification
129
+ - slug: deps-licenses
130
+ name: License Check
131
+ description: Dependencies license audit
132
+ - slug: security-secrets
133
+ name: Secrets Detection
134
+ description: Secrets scan in code
135
+ - slug: node-version-check
136
+ name: Node Version Check
137
+ description: Node.js compatibility validation
138
+ - slug: file-watcher-test
139
+ name: File Watcher Test
140
+ description: File monitoring verification
141
+ - slug: template-validation
142
+ name: Template Validation
143
+ description: Project templates verification
144
+ - slug: yaml-validate
145
+ name: YAML Files Validation
146
+ description: YAML syntax verification
147
+ - slug: claude-integration-test
148
+ name: Claude Integration Test
149
+ description: Claude AI service verification
150
+ - slug: error-handling-review
151
+ name: Error Handling Review
152
+ description: Try/catch and error verification
153
+ - slug: esm-compatibility
154
+ name: ESM Compatibility
155
+ description: ES modules verification
156
+ - slug: dashboard-responsive
157
+ name: Dashboard Responsive Test
158
+ description: Mobile/tablet display check
159
+ - slug: accessibility-check
160
+ name: Accessibility Check
161
+ description: Dashboard a11y audit
162
+ - slug: git-hooks-setup
163
+ name: Git Hooks Setup
164
+ description: Husky/lefthook setup
165
+ - slug: port-conflict-handling
166
+ name: Port Conflict Handling
167
+ description: Port occupation test
168
+ - slug: graceful-shutdown
169
+ name: Graceful Server Shutdown
170
+ description: SIGTERM/SIGINT test
72
171
  finish:
73
172
  description: Columns for finalization and deployment
74
173
  columns:
@@ -99,3 +198,6 @@ segments:
99
198
  - slug: done
100
199
  name: Done
101
200
  description: Completed
201
+ - slug: npm-publish-dry-run
202
+ name: npm Publish Dry Run
203
+ description: Publish test without publishing
@@ -0,0 +1,25 @@
1
+ # Accessibility Check
2
+
3
+ ## Role
4
+ Verify dashboard is accessible to users with disabilities.
5
+
6
+ ## Actions
7
+ 1. Install axe-core for Playwright:
8
+ ```bash
9
+ npm install -D @axe-core/playwright
10
+ ```
11
+ 2. Run axe audit on dashboard
12
+ 3. Check WCAG 2.1 AA criteria:
13
+ - Color contrast
14
+ - Form labels
15
+ - Keyboard navigation
16
+ - ARIA attributes
17
+ 4. Test with screen reader (VoiceOver/NVDA)
18
+ 5. Check visible focus
19
+
20
+ ## Validation Criteria
21
+ - [ ] No critical axe-core violations
22
+ - [ ] Contrast >= 4.5:1 for text
23
+ - [ ] Complete keyboard navigation
24
+ - [ ] Alt attributes on images
25
+ - [ ] Visible focus on all interactive elements
@@ -0,0 +1,25 @@
1
+ # Vérification de l'accessibilité
2
+
3
+ ## Rôle
4
+ Vérifier que le dashboard est accessible aux utilisateurs avec handicaps.
5
+
6
+ ## Actions
7
+ 1. Installer axe-core pour Playwright:
8
+ ```bash
9
+ npm install -D @axe-core/playwright
10
+ ```
11
+ 2. Exécuter un audit axe sur le dashboard
12
+ 3. Vérifier les critères WCAG 2.1 AA:
13
+ - Contraste des couleurs
14
+ - Labels des formulaires
15
+ - Navigation clavier
16
+ - Attributs ARIA
17
+ 4. Tester avec un lecteur d'écran (VoiceOver/NVDA)
18
+ 5. Vérifier le focus visible
19
+
20
+ ## Critères de validation
21
+ - [ ] Aucune violation critique axe-core
22
+ - [ ] Contraste >= 4.5:1 pour le texte
23
+ - [ ] Navigation clavier complète
24
+ - [ ] Attributs alt sur les images
25
+ - [ ] Focus visible sur tous les éléments interactifs
@@ -0,0 +1,26 @@
1
+ # API Endpoints Test
2
+
3
+ ## Role
4
+ Verify all REST endpoints of the server work correctly.
5
+
6
+ ## Actions
7
+ 1. Start server: `node dist/index.js serve --port 3456`
8
+ 2. Test main endpoints with curl:
9
+ ```bash
10
+ curl http://localhost:3456/api/tickets
11
+ curl http://localhost:3456/api/columns
12
+ curl http://localhost:3456/api/workflow/summary
13
+ curl http://localhost:3456/api/config
14
+ curl http://localhost:3456/api/stats
15
+ ```
16
+ 3. Verify HTTP return codes (200, 404, etc.)
17
+ 4. Validate JSON response format
18
+ 5. Test CRUD endpoints (POST, PUT, DELETE)
19
+ 6. Stop server cleanly
20
+
21
+ ## Validation Criteria
22
+ - [ ] Server starts on specified port
23
+ - [ ] GET /api/tickets returns 200 + JSON
24
+ - [ ] GET /api/columns returns column list
25
+ - [ ] Error endpoints return appropriate 4xx
26
+ - [ ] WebSocket /ws accessible
@@ -0,0 +1,26 @@
1
+ # Test des endpoints API
2
+
3
+ ## Rôle
4
+ Vérifier que tous les endpoints REST du serveur fonctionnent correctement.
5
+
6
+ ## Actions
7
+ 1. Démarrer le serveur: `node dist/index.js serve --port 3456`
8
+ 2. Tester les endpoints principaux avec curl:
9
+ ```bash
10
+ curl http://localhost:3456/api/tickets
11
+ curl http://localhost:3456/api/columns
12
+ curl http://localhost:3456/api/workflow/summary
13
+ curl http://localhost:3456/api/config
14
+ curl http://localhost:3456/api/stats
15
+ ```
16
+ 3. Vérifier les codes de retour HTTP (200, 404, etc.)
17
+ 4. Valider le format JSON des réponses
18
+ 5. Tester les endpoints CRUD (POST, PUT, DELETE)
19
+ 6. Arrêter le serveur proprement
20
+
21
+ ## Critères de validation
22
+ - [ ] Serveur démarre sur le port spécifié
23
+ - [ ] GET /api/tickets retourne 200 + JSON
24
+ - [ ] GET /api/columns retourne la liste des colonnes
25
+ - [ ] Endpoints d'erreur retournent 4xx appropriés
26
+ - [ ] WebSocket /ws accessible
@@ -0,0 +1,20 @@
1
+ # Distribution Build
2
+
3
+ ## Role
4
+ Compile TypeScript code and generate distribution files.
5
+
6
+ ## Actions
7
+ 1. Clean existing dist/ directory: `rm -rf dist/`
8
+ 2. Run `npm run build` (tsc)
9
+ 3. Verify file generation:
10
+ - dist/*.js (compiled files)
11
+ - dist/*.d.ts (type declarations)
12
+ - dist/*.js.map (source maps)
13
+ 4. Verify bin/autocode points to dist/index.js
14
+ 5. Test execution: `node dist/index.js --version`
15
+
16
+ ## Validation Criteria
17
+ - [ ] `npm run build` runs without errors
18
+ - [ ] dist/ contains all compiled files
19
+ - [ ] .d.ts files generated for types
20
+ - [ ] `node dist/index.js --version` works
@@ -0,0 +1,20 @@
1
+ # Build de distribution
2
+
3
+ ## Rôle
4
+ Compiler le code TypeScript et générer les fichiers de distribution.
5
+
6
+ ## Actions
7
+ 1. Nettoyer le répertoire dist/ existant: `rm -rf dist/`
8
+ 2. Exécuter `npm run build` (tsc)
9
+ 3. Vérifier la génération des fichiers:
10
+ - dist/*.js (fichiers compilés)
11
+ - dist/*.d.ts (déclarations de types)
12
+ - dist/*.js.map (source maps)
13
+ 4. Vérifier que bin/autocode pointe vers dist/index.js
14
+ 5. Tester l'exécution: `node dist/index.js --version`
15
+
16
+ ## Critères de validation
17
+ - [ ] `npm run build` s'exécute sans erreur
18
+ - [ ] dist/ contient tous les fichiers compilés
19
+ - [ ] Fichiers .d.ts générés pour les types
20
+ - [ ] `node dist/index.js --version` fonctionne
@@ -0,0 +1,22 @@
1
+ # GitLab CI Validation
2
+
3
+ ## Role
4
+ Verify GitLab CI configuration is valid and optimized.
5
+
6
+ ## Actions
7
+ 1. Validate .gitlab-ci.yml syntax:
8
+ - Use GitLab CI linter (API or local)
9
+ 2. Check defined stages: build, test, publish, deploy
10
+ 3. Analyze each job:
11
+ - npm:build → TypeScript compilation
12
+ - npm:test → tests (allow_failure: true)
13
+ - npm:publish → npm publish on tags
14
+ - pages → GitLab Pages deployment
15
+ 4. Check trigger rules (rules)
16
+ 5. Optimize cache (node_modules)
17
+
18
+ ## Validation Criteria
19
+ - [ ] .gitlab-ci.yml syntactically valid
20
+ - [ ] Jobs run in correct order
21
+ - [ ] Cache configured correctly
22
+ - [ ] Publishing only on semver tags
@@ -0,0 +1,22 @@
1
+ # Validation GitLab CI
2
+
3
+ ## Rôle
4
+ Vérifier que la configuration GitLab CI est valide et optimisée.
5
+
6
+ ## Actions
7
+ 1. Valider la syntaxe de .gitlab-ci.yml:
8
+ - Utiliser le linter GitLab CI (API ou local)
9
+ 2. Vérifier les stages définis: build, test, publish, deploy
10
+ 3. Analyser chaque job:
11
+ - npm:build → compilation TypeScript
12
+ - npm:test → tests (allow_failure: true)
13
+ - npm:publish → publication npm sur tags
14
+ - pages → déploiement GitLab Pages
15
+ 4. Vérifier les règles de déclenchement (rules)
16
+ 5. Optimiser le cache (node_modules)
17
+
18
+ ## Critères de validation
19
+ - [ ] .gitlab-ci.yml syntaxiquement valide
20
+ - [ ] Jobs s'exécutent dans le bon ordre
21
+ - [ ] Cache configuré correctement
22
+ - [ ] Publication uniquement sur tags semver
@@ -0,0 +1,22 @@
1
+ # Claude Integration Test
2
+
3
+ ## Role
4
+ Verify Claude CLI integration works correctly.
5
+
6
+ ## Actions
7
+ 1. Verify claude.ts service is correctly implemented
8
+ 2. Test Claude CLI detection:
9
+ ```bash
10
+ which claude || echo "Claude CLI not installed"
11
+ ```
12
+ 3. Verify error handling if Claude missing
13
+ 4. Test Claude call via /api/claude API
14
+ 5. Verify generated prompts format
15
+ 6. Test autocreate with Claude
16
+
17
+ ## Validation Criteria
18
+ - [ ] claude.ts service compiles without errors
19
+ - [ ] Graceful handling if Claude CLI missing
20
+ - [ ] /api/claude API responds correctly
21
+ - [ ] Generated prompts are valid
22
+ - [ ] Timeouts configured correctly
@@ -0,0 +1,22 @@
1
+ # Test d'intégration Claude
2
+
3
+ ## Rôle
4
+ Vérifier que l'intégration avec Claude CLI fonctionne correctement.
5
+
6
+ ## Actions
7
+ 1. Vérifier que le service claude.ts est correctement implémenté
8
+ 2. Tester la détection de Claude CLI:
9
+ ```bash
10
+ which claude || echo "Claude CLI non installé"
11
+ ```
12
+ 3. Vérifier la gestion des erreurs si Claude absent
13
+ 4. Tester l'appel à Claude via l'API /api/claude
14
+ 5. Vérifier le format des prompts générés
15
+ 6. Tester l'autocreate avec Claude
16
+
17
+ ## Critères de validation
18
+ - [ ] Service claude.ts sans erreur de compilation
19
+ - [ ] Gestion gracieuse si Claude CLI absent
20
+ - [ ] API /api/claude répond correctement
21
+ - [ ] Prompts générés sont valides
22
+ - [ ] Timeouts configurés correctement
@@ -0,0 +1,30 @@
1
+ # CLI Smoke Test
2
+
3
+ ## Role
4
+ Verify all CLI commands work correctly after build.
5
+
6
+ ## Actions
7
+ 1. Test basic commands:
8
+ ```bash
9
+ node dist/index.js --version
10
+ node dist/index.js --help
11
+ ```
12
+ 2. Test each subcommand (help):
13
+ ```bash
14
+ node dist/index.js init --help
15
+ node dist/index.js new --help
16
+ node dist/index.js list --help
17
+ node dist/index.js show --help
18
+ node dist/index.js move --help
19
+ node dist/index.js next --help
20
+ node dist/index.js serve --help
21
+ node dist/index.js stats --help
22
+ ```
23
+ 3. Verify Commander.js parses arguments correctly
24
+ 4. Test in temporary directory: `init`, `new`, `list`
25
+
26
+ ## Validation Criteria
27
+ - [ ] `--version` displays correct version (0.1.x)
28
+ - [ ] `--help` displays complete help
29
+ - [ ] All subcommands have their help
30
+ - [ ] `init` creates .autocode/ structure
@@ -0,0 +1,30 @@
1
+ # Test smoke CLI
2
+
3
+ ## Rôle
4
+ Vérifier que toutes les commandes CLI fonctionnent correctement après le build.
5
+
6
+ ## Actions
7
+ 1. Tester les commandes de base:
8
+ ```bash
9
+ node dist/index.js --version
10
+ node dist/index.js --help
11
+ ```
12
+ 2. Tester chaque sous-commande (help):
13
+ ```bash
14
+ node dist/index.js init --help
15
+ node dist/index.js new --help
16
+ node dist/index.js list --help
17
+ node dist/index.js show --help
18
+ node dist/index.js move --help
19
+ node dist/index.js next --help
20
+ node dist/index.js serve --help
21
+ node dist/index.js stats --help
22
+ ```
23
+ 3. Vérifier que Commander.js parse correctement les arguments
24
+ 4. Tester dans un répertoire temporaire: `init`, `new`, `list`
25
+
26
+ ## Critères de validation
27
+ - [ ] `--version` affiche la version correcte (0.1.x)
28
+ - [ ] `--help` affiche l'aide complète
29
+ - [ ] Toutes les sous-commandes ont leur aide
30
+ - [ ] `init` crée la structure .autocode/
@@ -0,0 +1,27 @@
1
+ # Dashboard Responsive Test
2
+
3
+ ## Role
4
+ Verify dashboard displays correctly on all screens.
5
+
6
+ ## Actions
7
+ 1. Start server: `node dist/index.js serve`
8
+ 2. Test on different sizes:
9
+ - Mobile: 375x667 (iPhone)
10
+ - Tablet: 768x1024 (iPad)
11
+ - Desktop: 1920x1080
12
+ 3. Check components:
13
+ - Scrollable Kanban board
14
+ - Adaptive ticket modals
15
+ - Responsive navigation menu
16
+ 4. Use Playwright for screenshots:
17
+ ```bash
18
+ npx playwright test screenshots.spec.ts
19
+ ```
20
+ 5. Check dark/light mode on each size
21
+
22
+ ## Validation Criteria
23
+ - [ ] Dashboard usable on mobile
24
+ - [ ] Kanban columns horizontally scrollable
25
+ - [ ] Modals adapt to screen
26
+ - [ ] No cut content
27
+ - [ ] Playwright screenshot tests pass
@@ -0,0 +1,27 @@
1
+ # Test responsive du dashboard
2
+
3
+ ## Rôle
4
+ Vérifier que le dashboard s'affiche correctement sur tous les écrans.
5
+
6
+ ## Actions
7
+ 1. Démarrer le serveur: `node dist/index.js serve`
8
+ 2. Tester sur différentes tailles:
9
+ - Mobile: 375x667 (iPhone)
10
+ - Tablet: 768x1024 (iPad)
11
+ - Desktop: 1920x1080
12
+ 3. Vérifier les composants:
13
+ - Kanban board scrollable
14
+ - Modal tickets adaptatifs
15
+ - Menu navigation responsive
16
+ 4. Utiliser Playwright pour screenshots:
17
+ ```bash
18
+ npx playwright test screenshots.spec.ts
19
+ ```
20
+ 5. Vérifier le dark/light mode sur chaque taille
21
+
22
+ ## Critères de validation
23
+ - [ ] Dashboard utilisable sur mobile
24
+ - [ ] Colonnes Kanban scrollables horizontalement
25
+ - [ ] Modals s'adaptent à l'écran
26
+ - [ ] Pas de contenu coupé
27
+ - [ ] Tests Playwright screenshots passent
@@ -0,0 +1,25 @@
1
+ # Dead Code Detection
2
+
3
+ ## Role
4
+ Identify and remove unused code in the project.
5
+
6
+ ## Actions
7
+ 1. Install knip if missing: `npm install -D knip`
8
+ 2. Run analysis: `npx knip`
9
+ 3. Identify:
10
+ - Unused exports
11
+ - Orphan files
12
+ - Unused dependencies
13
+ - Unreferenced types
14
+ 4. Analyze results by module:
15
+ - src/core/
16
+ - src/server/
17
+ - src/services/
18
+ - src/utils/
19
+ 5. Remove or fix dead code
20
+
21
+ ## Validation Criteria
22
+ - [ ] knip runs without errors
23
+ - [ ] Unused exports identified
24
+ - [ ] Orphan files removed
25
+ - [ ] No unjustified false positives
@@ -0,0 +1,25 @@
1
+ # Détection de code mort
2
+
3
+ ## Rôle
4
+ Identifier et supprimer le code non utilisé dans le projet.
5
+
6
+ ## Actions
7
+ 1. Installer knip si absent: `npm install -D knip`
8
+ 2. Exécuter l'analyse: `npx knip`
9
+ 3. Identifier:
10
+ - Exports non utilisés
11
+ - Fichiers orphelins
12
+ - Dépendances non utilisées
13
+ - Types non référencés
14
+ 4. Analyser les résultats par module:
15
+ - src/core/
16
+ - src/server/
17
+ - src/services/
18
+ - src/utils/
19
+ 5. Supprimer ou corriger le code mort
20
+
21
+ ## Critères de validation
22
+ - [ ] knip s'exécute sans erreur
23
+ - [ ] Exports non utilisés identifiés
24
+ - [ ] Fichiers orphelins supprimés
25
+ - [ ] Aucun false positive non justifié
@@ -0,0 +1,23 @@
1
+ # License Check
2
+
3
+ ## Role
4
+ Verify all dependencies have compatible licenses.
5
+
6
+ ## Actions
7
+ 1. Install license-checker: `npx license-checker`
8
+ 2. List all licenses:
9
+ ```bash
10
+ npx license-checker --summary
11
+ ```
12
+ 3. Identify licenses:
13
+ - Permissive (MIT, Apache-2.0, BSD) ✓
14
+ - Copyleft (GPL, LGPL) ⚠️
15
+ - Unknown ❌
16
+ 4. Check compatibility with project license
17
+ 5. Document exceptions if needed
18
+
19
+ ## Validation Criteria
20
+ - [ ] All dependencies have identified license
21
+ - [ ] No incompatible licenses (strict GPL)
22
+ - [ ] LICENSE file present in package
23
+ - [ ] Required attributions documented
@@ -0,0 +1,23 @@
1
+ # Vérification des licences
2
+
3
+ ## Rôle
4
+ Vérifier que toutes les dépendances ont des licences compatibles.
5
+
6
+ ## Actions
7
+ 1. Installer license-checker: `npx license-checker`
8
+ 2. Lister toutes les licences:
9
+ ```bash
10
+ npx license-checker --summary
11
+ ```
12
+ 3. Identifier les licences:
13
+ - Permissives (MIT, Apache-2.0, BSD) ✓
14
+ - Copyleft (GPL, LGPL) ⚠️
15
+ - Inconnues ❌
16
+ 4. Vérifier la compatibilité avec la licence du projet
17
+ 5. Documenter les exceptions si nécessaire
18
+
19
+ ## Critères de validation
20
+ - [ ] Toutes les dépendances ont une licence identifiée
21
+ - [ ] Pas de licence incompatible (GPL strict)
22
+ - [ ] Fichier LICENSE présent dans le package
23
+ - [ ] Attributions requises documentées
@@ -0,0 +1,23 @@
1
+ # Outdated Dependencies Check
2
+
3
+ ## Role
4
+ Identify dependencies that have newer versions available.
5
+
6
+ ## Actions
7
+ 1. Run `npm outdated` to list updates
8
+ 2. Analyze available updates:
9
+ - Current: installed version
10
+ - Wanted: semver compatible version
11
+ - Latest: latest version
12
+ 3. For each outdated dependency, evaluate:
13
+ - Potential breaking changes
14
+ - Release notes
15
+ - Impact on project
16
+ 4. Update with `npm update` or modify package.json
17
+ 5. Test after update
18
+
19
+ ## Validation Criteria
20
+ - [ ] `npm outdated` executed
21
+ - [ ] Critical dependencies up to date (typescript, vitest, playwright)
22
+ - [ ] No dependencies with known vulnerabilities
23
+ - [ ] Tests pass after update
@@ -0,0 +1,23 @@
1
+ # Vérification des dépendances obsolètes
2
+
3
+ ## Rôle
4
+ Identifier les dépendances qui ont des versions plus récentes disponibles.
5
+
6
+ ## Actions
7
+ 1. Exécuter `npm outdated` pour lister les mises à jour
8
+ 2. Analyser les mises à jour disponibles:
9
+ - Current: version installée
10
+ - Wanted: version compatible semver
11
+ - Latest: dernière version
12
+ 3. Pour chaque dépendance obsolète, évaluer:
13
+ - Breaking changes potentiels
14
+ - Notes de version
15
+ - Impact sur le projet
16
+ 4. Mettre à jour avec `npm update` ou modifier package.json
17
+ 5. Tester après mise à jour
18
+
19
+ ## Critères de validation
20
+ - [ ] `npm outdated` exécuté
21
+ - [ ] Dépendances critiques à jour (typescript, vitest, playwright)
22
+ - [ ] Aucune dépendance avec vulnérabilité connue
23
+ - [ ] Tests passent après mise à jour
@@ -0,0 +1,22 @@
1
+ # README Validation
2
+
3
+ ## Role
4
+ Verify README.md is complete, up-to-date and well-structured.
5
+
6
+ ## Actions
7
+ 1. Check essential sections:
8
+ - Installation (`npm install -g @autocode-cli/autocode`)
9
+ - Quick Start
10
+ - CLI commands list
11
+ - API documentation
12
+ - Configuration
13
+ 2. Verify code examples work
14
+ 3. Validate links (no broken links)
15
+ 4. Check consistency with current version
16
+ 5. Ensure new features are documented
17
+
18
+ ## Validation Criteria
19
+ - [ ] All CLI commands documented
20
+ - [ ] Code examples up to date
21
+ - [ ] Links functional
22
+ - [ ] Mentioned version correct
@@ -0,0 +1,22 @@
1
+ # Validation README
2
+
3
+ ## Rôle
4
+ Vérifier que le README.md est complet, à jour et bien structuré.
5
+
6
+ ## Actions
7
+ 1. Vérifier les sections essentielles:
8
+ - Installation (`npm install -g @autocode-cli/autocode`)
9
+ - Quick Start
10
+ - Liste des commandes CLI
11
+ - Documentation API
12
+ - Configuration
13
+ 2. Vérifier que les exemples de code fonctionnent
14
+ 3. Valider les liens (pas de liens cassés)
15
+ 4. Vérifier la cohérence avec la version actuelle
16
+ 5. S'assurer que les nouvelles fonctionnalités sont documentées
17
+
18
+ ## Critères de validation
19
+ - [ ] Toutes les commandes CLI documentées
20
+ - [ ] Exemples de code à jour
21
+ - [ ] Liens fonctionnels
22
+ - [ ] Version mentionnée correcte