claude-autopm 1.26.0 → 1.28.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 (49) hide show
  1. package/README.md +40 -0
  2. package/autopm/.claude/agents/frameworks/e2e-test-engineer.md +1 -18
  3. package/autopm/.claude/agents/frameworks/nats-messaging-expert.md +1 -18
  4. package/autopm/.claude/agents/frameworks/react-frontend-engineer.md +1 -18
  5. package/autopm/.claude/agents/frameworks/react-ui-expert.md +1 -18
  6. package/autopm/.claude/agents/frameworks/tailwindcss-expert.md +1 -18
  7. package/autopm/.claude/agents/frameworks/ux-design-expert.md +1 -18
  8. package/autopm/.claude/agents/languages/bash-scripting-expert.md +1 -18
  9. package/autopm/.claude/agents/languages/javascript-frontend-engineer.md +1 -18
  10. package/autopm/.claude/agents/languages/nodejs-backend-engineer.md +1 -18
  11. package/autopm/.claude/agents/languages/python-backend-engineer.md +1 -18
  12. package/autopm/.claude/agents/languages/python-backend-expert.md +1 -18
  13. package/autopm/.claude/commands/pm/epic-decompose.md +19 -5
  14. package/autopm/.claude/commands/pm/prd-new.md +14 -1
  15. package/autopm/.claude/includes/task-creation-excellence.md +18 -0
  16. package/autopm/.claude/lib/ai-task-generator.js +84 -0
  17. package/autopm/.claude/lib/cli-parser.js +148 -0
  18. package/autopm/.claude/lib/dependency-analyzer.js +157 -0
  19. package/autopm/.claude/lib/frontmatter.js +224 -0
  20. package/autopm/.claude/lib/task-utils.js +64 -0
  21. package/autopm/.claude/scripts/pm/prd-new.js +292 -2
  22. package/autopm/.claude/scripts/pm/template-list.js +119 -0
  23. package/autopm/.claude/scripts/pm/template-new.js +344 -0
  24. package/autopm/.claude/scripts/pm-epic-decompose-local.js +158 -0
  25. package/autopm/.claude/scripts/pm-epic-list-local.js +103 -0
  26. package/autopm/.claude/scripts/pm-epic-show-local.js +70 -0
  27. package/autopm/.claude/scripts/pm-epic-update-local.js +56 -0
  28. package/autopm/.claude/scripts/pm-prd-list-local.js +111 -0
  29. package/autopm/.claude/scripts/pm-prd-new-local.js +196 -0
  30. package/autopm/.claude/scripts/pm-prd-parse-local.js +360 -0
  31. package/autopm/.claude/scripts/pm-prd-show-local.js +101 -0
  32. package/autopm/.claude/scripts/pm-prd-update-local.js +153 -0
  33. package/autopm/.claude/scripts/pm-sync-download-local.js +424 -0
  34. package/autopm/.claude/scripts/pm-sync-upload-local.js +473 -0
  35. package/autopm/.claude/scripts/pm-task-list-local.js +86 -0
  36. package/autopm/.claude/scripts/pm-task-show-local.js +92 -0
  37. package/autopm/.claude/scripts/pm-task-update-local.js +109 -0
  38. package/autopm/.claude/scripts/setup-local-mode.js +127 -0
  39. package/autopm/.claude/templates/prds/README.md +334 -0
  40. package/autopm/.claude/templates/prds/api-feature.md +306 -0
  41. package/autopm/.claude/templates/prds/bug-fix.md +413 -0
  42. package/autopm/.claude/templates/prds/data-migration.md +483 -0
  43. package/autopm/.claude/templates/prds/documentation.md +439 -0
  44. package/autopm/.claude/templates/prds/ui-feature.md +365 -0
  45. package/lib/template-engine.js +347 -0
  46. package/package.json +5 -3
  47. package/scripts/create-task-issues.sh +26 -0
  48. package/scripts/fix-invalid-command-refs.sh +4 -3
  49. package/scripts/fix-invalid-refs-simple.sh +8 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-autopm",
3
- "version": "1.26.0",
3
+ "version": "1.28.0",
4
4
  "description": "Autonomous Project Management Framework for Claude Code - Advanced AI-powered development automation",
5
5
  "main": "bin/autopm.js",
6
6
  "bin": {
@@ -123,11 +123,13 @@
123
123
  "glob": "^11.0.3",
124
124
  "inquirer": "^12.9.6",
125
125
  "js-yaml": "^4.1.0",
126
+ "markdown-it": "^14.1.0",
126
127
  "moment": "^2.29.4",
127
128
  "ora": "^5.4.1",
128
129
  "simple-git": "^3.20.0",
129
130
  "table": "^6.8.1",
130
131
  "which": "^4.0.0",
132
+ "yaml": "^2.8.1",
131
133
  "yargs": "^17.7.2"
132
134
  },
133
135
  "devDependencies": {
@@ -149,8 +151,8 @@
149
151
  "sinon": "^21.0.0"
150
152
  },
151
153
  "optionalDependencies": {
152
- "@upstash/context7-mcp": "^1.0.0",
153
- "@playwright/mcp": "^0.0.40"
154
+ "@playwright/mcp": "^0.0.40",
155
+ "@upstash/context7-mcp": "^1.0.0"
154
156
  },
155
157
  "publishConfig": {
156
158
  "access": "public",
@@ -0,0 +1,26 @@
1
+ #!/bin/bash
2
+ # Create GitHub issues for all tasks in epic
3
+
4
+ cd .claude/epics/ccpm-001-features-integration/
5
+
6
+ echo "Creating GitHub issues for all tasks..."
7
+ echo ""
8
+
9
+ for task_file in task-*.md; do
10
+ if [ "$task_file" != "task-*.md" ]; then
11
+ task_num=$(echo "$task_file" | grep -o '[0-9]\+' | head -1)
12
+ task_title=$(grep "^title:" "$task_file" | head -1 | sed 's/title: //')
13
+
14
+ echo "Creating issue for TASK-$task_num: $task_title"
15
+
16
+ issue_url=$(gh issue create \
17
+ --title "[TASK-$task_num] $task_title" \
18
+ --body-file "$task_file" \
19
+ --label "task" --label "enhancement")
20
+
21
+ echo " ✅ Created: $issue_url"
22
+ echo ""
23
+ fi
24
+ done
25
+
26
+ echo "✅ All task issues created!"
@@ -71,11 +71,12 @@ remove_from_file() {
71
71
  local cmd="$2"
72
72
 
73
73
  if grep -q "$cmd" "$file" 2>/dev/null; then
74
- # Remove lines containing the command
74
+ # Remove lines containing the command (with word boundary)
75
+ # Match only whole command tokens, not substrings
75
76
  if [[ "$OSTYPE" == "darwin"* ]]; then
76
- sed -i '' "/$cmd/d" "$file"
77
+ sed -i '' -E "/([[:space:]]|^)${cmd}([[:space:]]|\$|[[:punct:]])/d" "$file"
77
78
  else
78
- sed -i "/$cmd/d" "$file"
79
+ sed -i -E "/([[:space:]]|^)${cmd}([[:space:]]|\$|[[:punct:]])/d" "$file"
79
80
  fi
80
81
  echo " ✗ $file: removed $cmd"
81
82
  ((total_changes++))
@@ -13,19 +13,23 @@ safe_replace() {
13
13
  local old="$1"
14
14
  local new="$2"
15
15
  local desc="$3"
16
+ local count=0
16
17
 
17
18
  echo "Replacing: $old → $new ($desc)"
18
19
 
19
20
  # Find and replace (exclude our analysis docs)
20
- find . -name "*.md" -type f ! -path "*/MISSING-COMMANDS-ANALYSIS.md" ! -path "*/node_modules/*" -exec grep -l "$old" {} \; 2>/dev/null | while read file; do
21
+ while IFS= read -r file; do
21
22
  if [[ "$OSTYPE" == "darwin"* ]]; then
22
23
  sed -i '' "s|$old|$new|g" "$file"
23
24
  else
24
25
  sed -i "s|$old|$new|g" "$file"
25
26
  fi
26
27
  echo " ✓ $file"
27
- ((total++)) || true
28
- done
28
+ ((count++))
29
+ done < <(find . -name "*.md" -type f ! -path "*/MISSING-COMMANDS-ANALYSIS.md" ! -path "*/node_modules/*" -exec grep -l "$old" {} \; 2>/dev/null)
30
+
31
+ ((total += count))
32
+ echo " Updated: $count file(s)"
29
33
  }
30
34
 
31
35
  # Replacements
@@ -39,6 +43,7 @@ safe_replace "/pm:prd-split" "/pm:epic-split" "split after parse"
39
43
 
40
44
  echo ""
41
45
  echo "✅ Replacements complete!"
46
+ echo "📊 Total files updated: $total"
42
47
  echo ""
43
48
  echo "📝 Note: The following invalid commands still exist in docs:"
44
49
  echo " - Azure commands (/pm:azure-*)"