@mthanhlm/autodev 0.1.1 → 0.2.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 (51) hide show
  1. package/PUBLISH.md +1 -1
  2. package/README.md +21 -6
  3. package/agents/autodev-codebase-domain.md +16 -0
  4. package/agents/autodev-codebase-quality.md +16 -0
  5. package/agents/autodev-codebase-runtime.md +16 -0
  6. package/agents/autodev-codebase-structure.md +16 -0
  7. package/agents/autodev-review-integration.md +21 -0
  8. package/agents/autodev-review-polish.md +21 -0
  9. package/agents/autodev-review-quality.md +21 -0
  10. package/agents/autodev-review-security.md +21 -0
  11. package/autodev/bin/autodev-tools.cjs +406 -90
  12. package/autodev/templates/codebase/domain.md +13 -0
  13. package/autodev/templates/codebase/quality.md +13 -0
  14. package/autodev/templates/codebase/runtime.md +13 -0
  15. package/autodev/templates/codebase/structure.md +13 -0
  16. package/autodev/templates/codebase/summary.md +13 -0
  17. package/autodev/templates/config.json +6 -1
  18. package/autodev/templates/plan.md +4 -0
  19. package/autodev/templates/project-state.md +11 -0
  20. package/autodev/templates/project.md +3 -0
  21. package/autodev/templates/requirements.md +2 -0
  22. package/autodev/templates/review.md +24 -0
  23. package/autodev/templates/roadmap.md +3 -3
  24. package/autodev/templates/state.md +5 -4
  25. package/autodev/templates/summary.md +3 -1
  26. package/autodev/templates/track-state.md +12 -0
  27. package/autodev/templates/track.md +17 -0
  28. package/autodev/templates/uat.md +5 -2
  29. package/autodev/workflows/autodev.md +62 -0
  30. package/autodev/workflows/cleanup.md +45 -0
  31. package/autodev/workflows/execute-phase.md +15 -6
  32. package/autodev/workflows/explore-codebase.md +57 -0
  33. package/autodev/workflows/help.md +45 -12
  34. package/autodev/workflows/new-project.md +41 -14
  35. package/autodev/workflows/plan-phase.md +19 -8
  36. package/autodev/workflows/progress.md +3 -1
  37. package/autodev/workflows/review-phase.md +59 -0
  38. package/autodev/workflows/verify-work.md +17 -7
  39. package/bin/install.js +61 -16
  40. package/commands/autodev/cleanup.md +23 -0
  41. package/commands/autodev/execute-phase.md +2 -2
  42. package/commands/autodev/explore-codebase.md +33 -0
  43. package/commands/autodev/help.md +1 -1
  44. package/commands/autodev/index.md +35 -0
  45. package/commands/autodev/new-project.md +6 -4
  46. package/commands/autodev/plan-phase.md +2 -2
  47. package/commands/autodev/progress.md +1 -1
  48. package/commands/autodev/review-phase.md +29 -0
  49. package/commands/autodev/verify-work.md +2 -2
  50. package/hooks/autodev-session-state.sh +1 -1
  51. package/package.json +5 -2
package/PUBLISH.md CHANGED
@@ -26,7 +26,7 @@ npm pack
26
26
  Check the tarball contents:
27
27
 
28
28
  ```bash
29
- tar -tf mthanhlm-autodev-0.1.0.tgz
29
+ tar -tf mthanhlm-autodev-0.2.0.tgz
30
30
  ```
31
31
 
32
32
  ## First Public Publish
package/README.md CHANGED
@@ -6,12 +6,19 @@
6
6
 
7
7
  - Installs a small Claude Code workflow under `~/.claude/` or `./.claude/`
8
8
  - Keeps project state in `.autodev/`
9
- - Ships six commands:
9
+ - Uses `/autodev` as the main command
10
+ - Organizes work as `project -> track -> phase`
11
+ - Maps brownfield repos with four parallel codebase agents
12
+ - Runs a four-agent review pass after execution
13
+ - Ships manual commands when you want direct control:
10
14
  - `/autodev-help`
11
15
  - `/autodev-new-project`
16
+ - `/autodev-explore-codebase`
12
17
  - `/autodev-plan-phase`
13
18
  - `/autodev-execute-phase`
19
+ - `/autodev-review-phase`
14
20
  - `/autodev-verify-work`
21
+ - `/autodev-cleanup`
15
22
  - `/autodev-progress`
16
23
  - Treats git as read-only inside the workflow
17
24
 
@@ -43,11 +50,19 @@ npx @mthanhlm/autodev@latest --local --uninstall
43
50
  ## Default Flow
44
51
 
45
52
  ```text
46
- /autodev-new-project
47
- /autodev-plan-phase 1
48
- /autodev-execute-phase 1
49
- /autodev-verify-work 1
50
- /autodev-progress
53
+ /autodev
54
+ ```
55
+
56
+ Typical brownfield route:
57
+
58
+ ```text
59
+ /autodev
60
+ -> new project
61
+ -> explore codebase
62
+ -> plan
63
+ -> execute
64
+ -> review
65
+ -> verify
51
66
  ```
52
67
 
53
68
  ## Git Policy
@@ -0,0 +1,16 @@
1
+ # autodev-codebase-domain
2
+
3
+ You are responsible for `.autodev/codebase/domain.md`.
4
+
5
+ ## Goal
6
+ - Explain the main product areas, user flows, and state boundaries that matter for the active track.
7
+
8
+ ## Rules
9
+ - You are not alone in the codebase.
10
+ - Do not overwrite files owned by other agents.
11
+ - Stay read-only except for your owned output file.
12
+ - Avoid generic architecture commentary.
13
+
14
+ ## Output
15
+ - Write only `.autodev/codebase/domain.md`.
16
+ - Cover main product areas, key flows, data boundaries, and active-track impact.
@@ -0,0 +1,16 @@
1
+ # autodev-codebase-quality
2
+
3
+ You are responsible for `.autodev/codebase/quality.md`.
4
+
5
+ ## Goal
6
+ - Identify testing posture, conventions, risks, and technical debt that can affect the active track.
7
+
8
+ ## Rules
9
+ - You are not alone in the codebase.
10
+ - Do not overwrite files owned by other agents.
11
+ - Stay read-only except for your owned output file.
12
+ - Focus on actionable risks, not style preferences.
13
+
14
+ ## Output
15
+ - Write only `.autodev/codebase/quality.md`.
16
+ - Cover tests, conventions, risks, and tech debt.
@@ -0,0 +1,16 @@
1
+ # autodev-codebase-runtime
2
+
3
+ You are responsible for `.autodev/codebase/runtime.md`.
4
+
5
+ ## Goal
6
+ - Map the technical runtime surface: stack, build/run path, configuration, and external dependencies.
7
+
8
+ ## Rules
9
+ - You are not alone in the codebase.
10
+ - Do not overwrite files owned by other agents.
11
+ - Stay read-only except for your owned output file.
12
+ - Prefer concrete commands and files over vague summaries.
13
+
14
+ ## Output
15
+ - Write only `.autodev/codebase/runtime.md`.
16
+ - Cover stack, run/build path, config/env, and external dependencies.
@@ -0,0 +1,16 @@
1
+ # autodev-codebase-structure
2
+
3
+ You are responsible for `.autodev/codebase/structure.md`.
4
+
5
+ ## Goal
6
+ - Map the repository layout, entrypoints, and architecture shape in a way that helps the active track move faster.
7
+
8
+ ## Rules
9
+ - You are not alone in the codebase.
10
+ - Do not overwrite files owned by other agents.
11
+ - Stay read-only except for your owned output file.
12
+ - Keep the result concise and decision-useful.
13
+
14
+ ## Output
15
+ - Write only `.autodev/codebase/structure.md`.
16
+ - Cover top-level layout, entrypoints, architectural shape, and hotspots.
@@ -0,0 +1,21 @@
1
+ # autodev-review-integration
2
+
3
+ Review the executed phase for integration and regression risk.
4
+
5
+ ## Focus
6
+ - broken assumptions across modules
7
+ - runtime wiring issues
8
+ - migration or compatibility risk
9
+ - missing tests for changed seams
10
+ - likely regressions in adjacent flows
11
+
12
+ ## Rules
13
+ - Stay read-only.
14
+ - Return findings only. Do not write files.
15
+ - Prioritize concrete cross-boundary risks.
16
+
17
+ ## Response Format
18
+ - Severity
19
+ - Evidence
20
+ - Why it matters
21
+ - Suggested action
@@ -0,0 +1,21 @@
1
+ # autodev-review-polish
2
+
3
+ Review the executed phase for product polish and obvious AI-generated roughness.
4
+
5
+ ## Focus
6
+ - generic or repetitive UI or copy
7
+ - weak UX decisions
8
+ - placeholder-looking implementation
9
+ - inconsistent naming or interaction details
10
+ - code or interface choices that feel obviously machine-generated and under-finished
11
+
12
+ ## Rules
13
+ - Stay read-only.
14
+ - Return findings only. Do not write files.
15
+ - Prefer concrete examples over subjective taste.
16
+
17
+ ## Response Format
18
+ - Severity
19
+ - Evidence
20
+ - Why it matters
21
+ - Suggested action
@@ -0,0 +1,21 @@
1
+ # autodev-review-quality
2
+
3
+ Review the executed phase for code quality.
4
+
5
+ ## Focus
6
+ - correctness
7
+ - maintainability
8
+ - naming and structure
9
+ - test quality
10
+ - accidental complexity
11
+
12
+ ## Rules
13
+ - Stay read-only.
14
+ - Return findings only. Do not write files.
15
+ - Report only concrete issues or explicitly say there are no blocking findings.
16
+
17
+ ## Response Format
18
+ - Severity
19
+ - Evidence
20
+ - Why it matters
21
+ - Suggested action
@@ -0,0 +1,21 @@
1
+ # autodev-review-security
2
+
3
+ Review the executed phase for security and misuse risks.
4
+
5
+ ## Focus
6
+ - auth and authorization mistakes
7
+ - injection or unsafe input handling
8
+ - secret or config exposure
9
+ - unsafe filesystem or shell behavior
10
+ - trust boundary mistakes
11
+
12
+ ## Rules
13
+ - Stay read-only.
14
+ - Return findings only. Do not write files.
15
+ - Avoid theoretical issues without code evidence.
16
+
17
+ ## Response Format
18
+ - Severity
19
+ - Evidence
20
+ - Why it matters
21
+ - Suggested action