codeforge-dev 1.7.0 → 1.9.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 (158) hide show
  1. package/.devcontainer/.env +4 -6
  2. package/.devcontainer/.env.example +29 -0
  3. package/.devcontainer/.gitignore +8 -0
  4. package/.devcontainer/.secrets.example +12 -0
  5. package/.devcontainer/CHANGELOG.md +181 -0
  6. package/.devcontainer/CLAUDE.md +57 -20
  7. package/.devcontainer/README.md +111 -56
  8. package/.devcontainer/config/{main-system-prompt.md → defaults/main-system-prompt.md} +72 -0
  9. package/.devcontainer/config/defaults/rules/spec-workflow.md +67 -0
  10. package/.devcontainer/config/defaults/rules/workspace-scope.md +7 -0
  11. package/.devcontainer/config/defaults/settings.json +67 -0
  12. package/.devcontainer/config/file-manifest.json +32 -0
  13. package/.devcontainer/devcontainer.json +20 -0
  14. package/.devcontainer/docs/configuration-reference.md +90 -0
  15. package/.devcontainer/docs/keybindings.md +100 -0
  16. package/.devcontainer/docs/optional-features.md +129 -0
  17. package/.devcontainer/docs/plugins.md +154 -0
  18. package/.devcontainer/docs/troubleshooting.md +128 -0
  19. package/.devcontainer/features/agent-browser/install.sh +6 -0
  20. package/.devcontainer/features/ast-grep/install.sh +6 -0
  21. package/.devcontainer/features/biome/README.md +27 -0
  22. package/.devcontainer/features/biome/install.sh +6 -0
  23. package/.devcontainer/features/ccburn/install.sh +6 -0
  24. package/.devcontainer/features/ccstatusline/devcontainer-feature.json +5 -0
  25. package/.devcontainer/features/ccstatusline/install.sh +7 -0
  26. package/.devcontainer/features/ccusage/install.sh +6 -0
  27. package/.devcontainer/features/claude-monitor/install.sh +6 -0
  28. package/.devcontainer/features/dprint/README.md +30 -0
  29. package/.devcontainer/features/dprint/devcontainer-feature.json +18 -0
  30. package/.devcontainer/features/dprint/install.sh +131 -0
  31. package/.devcontainer/features/hadolint/README.md +35 -0
  32. package/.devcontainer/features/hadolint/devcontainer-feature.json +13 -0
  33. package/.devcontainer/features/hadolint/install.sh +86 -0
  34. package/.devcontainer/features/lsp-servers/devcontainer-feature.json +5 -0
  35. package/.devcontainer/features/lsp-servers/install.sh +7 -0
  36. package/.devcontainer/features/mcp-qdrant/devcontainer-feature.json +5 -0
  37. package/.devcontainer/features/mcp-qdrant/install.sh +13 -6
  38. package/.devcontainer/features/mcp-reasoner/devcontainer-feature.json +5 -0
  39. package/.devcontainer/features/mcp-reasoner/install.sh +8 -1
  40. package/.devcontainer/features/notify-hook/devcontainer-feature.json +5 -0
  41. package/.devcontainer/features/notify-hook/install.sh +7 -0
  42. package/.devcontainer/features/ruff/README.md +26 -0
  43. package/.devcontainer/features/ruff/devcontainer-feature.json +21 -0
  44. package/.devcontainer/features/ruff/install.sh +74 -0
  45. package/.devcontainer/features/shellcheck/README.md +38 -0
  46. package/.devcontainer/features/shellcheck/devcontainer-feature.json +13 -0
  47. package/.devcontainer/features/shellcheck/install.sh +24 -0
  48. package/.devcontainer/features/shfmt/README.md +37 -0
  49. package/.devcontainer/features/shfmt/devcontainer-feature.json +13 -0
  50. package/.devcontainer/features/shfmt/install.sh +85 -0
  51. package/.devcontainer/features/splitrail/devcontainer-feature.json +5 -0
  52. package/.devcontainer/features/splitrail/install.sh +7 -0
  53. package/.devcontainer/features/tmux/install.sh +8 -0
  54. package/.devcontainer/features/tree-sitter/install.sh +6 -0
  55. package/.devcontainer/plugins/devs-marketplace/.claude-plugin/marketplace.json +104 -104
  56. package/.devcontainer/plugins/devs-marketplace/plugins/auto-code-quality/.claude-plugin/plugin.json +7 -0
  57. package/.devcontainer/plugins/devs-marketplace/plugins/auto-code-quality/README.md +158 -0
  58. package/.devcontainer/plugins/devs-marketplace/plugins/auto-code-quality/hooks/hooks.json +39 -0
  59. package/.devcontainer/plugins/devs-marketplace/plugins/auto-code-quality/scripts/collect-edited-files.py +47 -0
  60. package/.devcontainer/plugins/devs-marketplace/plugins/auto-code-quality/scripts/format-on-stop.py +297 -0
  61. package/.devcontainer/plugins/devs-marketplace/plugins/auto-code-quality/scripts/lint-file.py +536 -0
  62. package/.devcontainer/plugins/devs-marketplace/plugins/auto-code-quality/scripts/syntax-validator.py +146 -0
  63. package/.devcontainer/plugins/devs-marketplace/plugins/auto-formatter/.claude-plugin/plugin.json +1 -1
  64. package/.devcontainer/plugins/devs-marketplace/plugins/auto-formatter/scripts/__pycache__/format-on-stop.cpython-314.pyc +0 -0
  65. package/.devcontainer/plugins/devs-marketplace/plugins/auto-formatter/scripts/format-on-stop.py +114 -9
  66. package/.devcontainer/plugins/devs-marketplace/plugins/auto-linter/.claude-plugin/plugin.json +1 -1
  67. package/.devcontainer/plugins/devs-marketplace/plugins/auto-linter/hooks/hooks.json +4 -5
  68. package/.devcontainer/plugins/devs-marketplace/plugins/auto-linter/scripts/__pycache__/lint-file.cpython-314.pyc +0 -0
  69. package/.devcontainer/plugins/devs-marketplace/plugins/auto-linter/scripts/lint-file.py +478 -76
  70. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/.claude-plugin/plugin.json +1 -1
  71. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/AGENT-REDIRECTION.md +226 -0
  72. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/agents/architect.md +94 -1
  73. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/agents/bash-exec.md +4 -4
  74. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/agents/claude-guide.md +14 -23
  75. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/agents/debug-logs.md +20 -0
  76. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/agents/dependency-analyst.md +20 -0
  77. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/agents/doc-writer.md +99 -1
  78. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/agents/explorer.md +20 -0
  79. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/agents/generalist.md +152 -9
  80. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/agents/git-archaeologist.md +18 -0
  81. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/agents/migrator.md +114 -1
  82. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/agents/perf-profiler.md +24 -0
  83. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/agents/refactorer.md +101 -1
  84. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/agents/researcher.md +33 -1
  85. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/agents/security-auditor.md +24 -0
  86. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/agents/spec-writer.md +65 -24
  87. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/agents/statusline-config.md +3 -3
  88. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/agents/test-writer.md +99 -1
  89. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/hooks/hooks.json +100 -56
  90. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/scripts/__pycache__/advisory-test-runner.cpython-314.pyc +0 -0
  91. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/scripts/__pycache__/collect-edited-files.cpython-314.pyc +0 -0
  92. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/scripts/__pycache__/commit-reminder.cpython-314.pyc +0 -0
  93. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/scripts/__pycache__/git-state-injector.cpython-314.pyc +0 -0
  94. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/scripts/__pycache__/redirect-builtin-agents.cpython-314.pyc +0 -0
  95. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/scripts/__pycache__/ticket-linker.cpython-314.pyc +0 -0
  96. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/scripts/__pycache__/todo-harvester.cpython-314.pyc +0 -0
  97. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/scripts/advisory-test-runner.py +174 -0
  98. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/scripts/collect-edited-files.py +8 -6
  99. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/scripts/commit-reminder.py +90 -0
  100. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/scripts/git-state-injector.py +114 -0
  101. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/scripts/skill-suggester.py +61 -0
  102. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/scripts/spec-reminder.py +121 -0
  103. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/scripts/ticket-linker.py +137 -0
  104. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/scripts/todo-harvester.py +130 -0
  105. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/skills/api-design/SKILL.md +224 -0
  106. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/skills/api-design/references/error-handling.md +166 -0
  107. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/skills/api-design/references/rest-conventions.md +215 -0
  108. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/skills/ast-grep-patterns/SKILL.md +211 -0
  109. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/skills/ast-grep-patterns/references/language-patterns.md +327 -0
  110. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/skills/dependency-management/SKILL.md +134 -0
  111. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/skills/dependency-management/references/ecosystem-commands.md +264 -0
  112. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/skills/dependency-management/references/license-compliance.md +80 -0
  113. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/skills/documentation-patterns/SKILL.md +153 -0
  114. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/skills/documentation-patterns/references/api-doc-templates.md +221 -0
  115. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/skills/documentation-patterns/references/docstring-formats.md +296 -0
  116. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/skills/migration-patterns/SKILL.md +150 -0
  117. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/skills/migration-patterns/references/javascript-migrations.md +179 -0
  118. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/skills/migration-patterns/references/python-migrations.md +141 -0
  119. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/skills/spec-check/SKILL.md +86 -0
  120. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/skills/spec-init/SKILL.md +97 -0
  121. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/skills/spec-init/references/backlog-template.md +7 -0
  122. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/skills/spec-init/references/roadmap-template.md +13 -0
  123. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/skills/spec-new/SKILL.md +101 -0
  124. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/skills/spec-new/references/template.md +110 -0
  125. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/skills/spec-update/SKILL.md +124 -0
  126. package/.devcontainer/plugins/devs-marketplace/plugins/code-directive/skills/specification-writing/SKILL.md +32 -0
  127. package/.devcontainer/plugins/devs-marketplace/plugins/dangerous-command-blocker/scripts/__pycache__/block-dangerous.cpython-314.pyc +0 -0
  128. package/.devcontainer/plugins/devs-marketplace/plugins/notify-hook/hooks/hooks.json +1 -1
  129. package/.devcontainer/plugins/devs-marketplace/plugins/protected-files-guard/scripts/__pycache__/guard-protected.cpython-314.pyc +0 -0
  130. package/.devcontainer/scripts/check-setup.sh +72 -0
  131. package/.devcontainer/scripts/setup-aliases.sh +43 -3
  132. package/.devcontainer/scripts/setup-auth.sh +74 -0
  133. package/.devcontainer/scripts/setup-config.sh +117 -24
  134. package/.devcontainer/scripts/setup-update-claude.sh +8 -0
  135. package/.devcontainer/scripts/setup.sh +46 -13
  136. package/README.md +23 -190
  137. package/package.json +42 -42
  138. package/setup.js +245 -71
  139. package/.devcontainer/config/settings.json +0 -70
  140. package/.devcontainer/features/claude-code/README.md +0 -498
  141. package/.devcontainer/features/claude-code/config/settings.json +0 -72
  142. package/.devcontainer/features/claude-code/config/system-prompt.md +0 -118
  143. package/.devcontainer/features/claude-code/config/world-building-sp.md +0 -1432
  144. package/.devcontainer/features/claude-code/devcontainer-feature.json +0 -42
  145. package/.devcontainer/features/claude-code/install.sh +0 -466
  146. package/.devcontainer/plugins/devs-marketplace/plugins/planning-reminder/.claude-plugin/plugin.json +0 -7
  147. package/.devcontainer/plugins/devs-marketplace/plugins/planning-reminder/hooks/hooks.json +0 -17
  148. package/.devcontainer/plugins/devs-marketplace/plugins/workflow-enhancer/.claude-plugin/plugin.json +0 -6
  149. package/.devcontainer/plugins/devs-marketplace/plugins/workflow-enhancer/config/planning-instructions.md +0 -14
  150. package/.devcontainer/plugins/devs-marketplace/plugins/workflow-enhancer/functional-conjuring-map.md +0 -989
  151. package/.devcontainer/plugins/devs-marketplace/plugins/workflow-enhancer/hooks/hooks.json +0 -33
  152. package/.devcontainer/plugins/devs-marketplace/plugins/workflow-enhancer/scripts/__pycache__/post-enhance-task.cpython-314.pyc +0 -0
  153. package/.devcontainer/plugins/devs-marketplace/plugins/workflow-enhancer/scripts/enhance-planning.py +0 -71
  154. package/.devcontainer/plugins/devs-marketplace/plugins/workflow-enhancer/scripts/enhancers/enhance-plan.sh +0 -68
  155. package/.devcontainer/plugins/devs-marketplace/plugins/workflow-enhancer/scripts/enhancers/enhance-task.sh +0 -120
  156. package/.devcontainer/plugins/devs-marketplace/plugins/workflow-enhancer/scripts/post-enhance-plan.py +0 -133
  157. package/.devcontainer/plugins/devs-marketplace/plugins/workflow-enhancer/scripts/post-enhance-task.py +0 -253
  158. /package/.devcontainer/config/{keybindings.json → defaults/keybindings.json} +0 -0
@@ -1,8 +1,6 @@
1
1
  #!/bin/bash
2
2
  # Master setup script for CodeForge devcontainer
3
3
 
4
- set -e
5
-
6
4
  SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
7
5
  DEVCONTAINER_DIR="$(dirname "$SCRIPT_DIR")"
8
6
  ENV_FILE="$DEVCONTAINER_DIR/.env"
@@ -19,13 +17,15 @@ fi
19
17
  : "${CONFIG_SOURCE_DIR:=$DEVCONTAINER_DIR/config}"
20
18
  : "${SETUP_CONFIG:=true}"
21
19
  : "${SETUP_ALIASES:=true}"
22
- : "${OVERWRITE_CONFIG:=false}"
20
+ : "${SETUP_AUTH:=true}"
23
21
  : "${SETUP_PLUGINS:=true}"
24
22
  : "${SETUP_UPDATE_CLAUDE:=true}"
25
23
  : "${SETUP_PROJECTS:=true}"
26
24
 
27
- export CLAUDE_CONFIG_DIR CONFIG_SOURCE_DIR SETUP_CONFIG SETUP_ALIASES OVERWRITE_CONFIG SETUP_PLUGINS SETUP_UPDATE_CLAUDE SETUP_PROJECTS
25
+ export CLAUDE_CONFIG_DIR CONFIG_SOURCE_DIR SETUP_CONFIG SETUP_ALIASES SETUP_AUTH SETUP_PLUGINS SETUP_UPDATE_CLAUDE SETUP_PROJECTS
28
26
 
27
+ SETUP_START=$(date +%s)
28
+ SETUP_RESULTS=()
29
29
 
30
30
  echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
31
31
  echo " CodeForge Setup"
@@ -35,22 +35,31 @@ echo ""
35
35
  run_script() {
36
36
  local script="$1"
37
37
  local enabled="$2"
38
- local name="$(basename $script .sh)"
38
+ local name
39
+ name="$(basename "$script" .sh)"
39
40
 
40
41
  if [ "$enabled" = "true" ]; then
41
42
  if [ -f "$script" ]; then
42
- echo "Running $name..."
43
- bash "$script"
44
- echo ""
43
+ printf " %-30s" "$name..."
44
+ if bash "$script" 2>&1; then
45
+ echo "done"
46
+ SETUP_RESULTS+=("$name:ok")
47
+ else
48
+ echo "FAILED (exit $?)"
49
+ SETUP_RESULTS+=("$name:failed")
50
+ fi
45
51
  else
46
- echo "WARNING: $script not found, skipping"
52
+ echo " $name... not found, skipping"
53
+ SETUP_RESULTS+=("$name:missing")
47
54
  fi
48
55
  else
49
- echo "Skipping $name (disabled)"
56
+ echo " $name... skipped (disabled)"
57
+ SETUP_RESULTS+=("$name:disabled")
50
58
  fi
51
59
  }
52
60
 
53
61
  run_script "$SCRIPT_DIR/setup-symlink-claude.sh" "true"
62
+ run_script "$SCRIPT_DIR/setup-auth.sh" "$SETUP_AUTH"
54
63
  run_script "$SCRIPT_DIR/setup-config.sh" "$SETUP_CONFIG"
55
64
  run_script "$SCRIPT_DIR/setup-aliases.sh" "$SETUP_ALIASES"
56
65
  run_script "$SCRIPT_DIR/setup-plugins.sh" "$SETUP_PLUGINS"
@@ -59,14 +68,38 @@ run_script "$SCRIPT_DIR/setup-projects.sh" "$SETUP_PROJECTS"
59
68
  # Non-blocking: check for Claude Code updates in background
60
69
  if [ "$SETUP_UPDATE_CLAUDE" = "true" ]; then
61
70
  if [ -f "$SCRIPT_DIR/setup-update-claude.sh" ]; then
62
- echo "Running setup-update-claude (background)..."
71
+ echo " Claude Code update checking in background..."
72
+ echo " (If 'claude' fails, wait a moment and retry)"
63
73
  bash "$SCRIPT_DIR/setup-update-claude.sh" &
64
74
  disown
75
+ SETUP_RESULTS+=("setup-update-claude:ok")
76
+ else
77
+ SETUP_RESULTS+=("setup-update-claude:missing")
65
78
  fi
66
79
  else
67
- echo "Skipping setup-update-claude (disabled)"
80
+ echo " setup-update-claude... skipped (disabled)"
81
+ SETUP_RESULTS+=("setup-update-claude:disabled")
68
82
  fi
69
83
 
84
+ echo ""
70
85
  echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
71
- echo " Setup Complete"
86
+ echo " Setup Summary"
87
+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
88
+ FAILURES=0
89
+ for result in "${SETUP_RESULTS[@]}"; do
90
+ name="${result%%:*}"
91
+ status="${result##*:}"
92
+ case "$status" in
93
+ ok) printf " ✓ %s\n" "$name" ;;
94
+ failed) printf " ✗ %s (FAILED)\n" "$name"; FAILURES=$((FAILURES + 1)) ;;
95
+ disabled) printf " - %s (disabled)\n" "$name" ;;
96
+ missing) printf " ? %s (not found)\n" "$name" ;;
97
+ esac
98
+ done
99
+ ELAPSED=$(( $(date +%s) - SETUP_START ))
100
+ echo ""
101
+ if [ $FAILURES -gt 0 ]; then
102
+ echo " $FAILURES step(s) failed. Check output above for details."
103
+ fi
104
+ echo " Completed in ${ELAPSED}s"
72
105
  echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
package/README.md CHANGED
@@ -37,215 +37,46 @@ npx codeforge-dev@1.2.3
37
37
 
38
38
  - **Docker Desktop** (or compatible container runtime like Podman)
39
39
  - **VS Code** with the [Dev Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers), or **GitHub Codespaces**
40
- - **Claude Code authentication** - see [Authentication](#authentication) section
40
+ - **Claude Code authentication** run `claude` on first start to authenticate
41
41
 
42
- ## Quick Start
43
-
44
- 1. **Open in Container**
45
- - VS Code: Open the folder, then select "Reopen in Container" from the command palette
46
- - Codespaces: Create a new codespace from this repository
47
-
48
- 2. **Authenticate** (first time only)
49
- ```bash
50
- claude
51
- ```
52
- Follow the prompts to authenticate via browser or API key.
53
-
54
- 3. **Start Claude Code**
55
- ```bash
56
- cc
57
- ```
58
-
59
- ## Authentication
60
-
61
- Claude Code supports multiple authentication methods. On first run, you'll be prompted to choose:
62
-
63
- ### Browser Login (Recommended)
64
-
65
- ```bash
66
- claude
67
- ```
68
-
69
- Select "Login with browser" and complete authentication in your browser. This uses your Claude.ai account.
70
-
71
- ### API Key
72
-
73
- For programmatic access or environments without browsers:
74
-
75
- ```bash
76
- export ANTHROPIC_API_KEY="sk-ant-..."
77
- claude
78
- ```
79
-
80
- Get an API key from [console.anthropic.com](https://console.anthropic.com/).
81
-
82
- ### Credential Persistence
83
-
84
- Authentication credentials are stored in `/workspaces/.claude/` and persist across container rebuilds.
85
-
86
- For more options, see the [Claude Code documentation](https://docs.anthropic.com/en/docs/claude-code).
87
-
88
- ## GitHub CLI Authentication
89
-
90
- GitHub CLI (`gh`) is pre-installed for repository operations like pushing code, creating pull requests, and accessing private repositories.
91
-
92
- ### Interactive Login (Recommended)
93
-
94
- ```bash
95
- gh auth login
96
- ```
97
-
98
- Follow the prompts:
99
- 1. Select **GitHub.com** (or your enterprise server)
100
- 2. Choose your preferred protocol: **HTTPS** (recommended) or **SSH**
101
- 3. Authenticate via **browser** (easiest) or paste a personal access token
102
-
103
- ### Token-Based Login
104
-
105
- For automated setups or environments without browser access:
106
-
107
- ```bash
108
- # From a file
109
- gh auth login --with-token < ~/github-token.txt
110
-
111
- # From environment variable
112
- echo "$GITHUB_TOKEN" | gh auth login --with-token
113
- ```
114
-
115
- Generate a token at [github.com/settings/tokens](https://github.com/settings/tokens) with appropriate scopes (typically `repo`, `read:org`).
116
-
117
- ### Verifying Authentication
118
-
119
- ```bash
120
- gh auth status
121
- ```
122
-
123
- Expected output shows your authenticated account and token scopes.
124
-
125
- ### Credential Persistence
126
-
127
- GitHub CLI credentials are automatically persisted across container rebuilds. The container is configured to store credentials in `/workspaces/.gh/` (via `GH_CONFIG_DIR`), which is part of the bind-mounted workspace.
128
-
129
- **You only need to authenticate once.** After running `gh auth login`, your credentials will survive container rebuilds and be available in future sessions.
130
-
131
- ## Available Tools
42
+ ## What's Included
132
43
 
133
44
  ### Languages & Runtimes
134
- | Tool | Description |
135
- |------|-------------|
136
- | Python 3.14 | Base language runtime |
137
- | Node.js LTS | JavaScript runtime |
138
- | TypeScript | Via Node.js |
139
-
140
- ### Package Managers
141
- | Tool | Description |
142
- |------|-------------|
143
- | `uv` | Fast Python package manager (pip alternative) |
144
- | `npm` | Node.js package manager |
145
- | `pip` / `pipx` | Python package installers |
146
-
147
- ### Development Tools
148
- | Tool | Description |
149
- |------|-------------|
150
- | `gh` | GitHub CLI for repository operations |
151
- | `docker` | Container CLI (connects to host Docker) |
152
- | `git` | Version control |
153
- | `jq` | JSON processor |
154
- | `curl` | HTTP client |
155
- | `tmux` | Terminal multiplexer for Agent Teams split-pane sessions |
156
- | `biome` | Fast JS/TS/JSON/CSS formatter |
157
- | `agent-browser` | Headless browser automation for AI agents |
158
-
159
- ### Code Intelligence
160
- | Tool | Description |
161
- |------|-------------|
162
- | tree-sitter | AST parsing for JavaScript, TypeScript, Python |
163
- | ast-grep | Structural code search and rewriting |
164
- | Pyright | Python language server |
165
- | TypeScript LSP | TypeScript/JavaScript language server |
166
45
 
167
- ### Claude Code Tools
168
- | Tool | Description |
169
- |------|-------------|
170
- | `claude` | Claude Code CLI |
171
- | `cc` | Wrapper with auto-configuration |
172
- | `ccusage` | Token usage analyzer |
173
- | `ccstatusline` | Status line for sessions |
174
- | `claude-monitor` | Real-time usage tracking |
175
-
176
- ## Using Claude Code
177
-
178
- ### The `cc` Command
179
-
180
- The `cc` command is a wrapper that:
181
- - Creates a project-local `.claude/` directory if missing
182
- - Copies default configuration files
183
- - Launches Claude Code with the project's system prompt
184
-
185
- ```bash
186
- cc # Start Claude Code in current directory
187
- cc "explain this" # Start with an initial prompt
188
- ```
189
-
190
- ### Direct CLI
46
+ Python 3.14, Node.js LTS, TypeScript, Go
191
47
 
192
- For more control, use the `claude` command directly:
193
-
194
- ```bash
195
- claude # Basic invocation
196
- claude --help # View all options
197
- claude --resume # Resume previous session
198
- ```
48
+ ### Package Managers
199
49
 
200
- ## Configuration
50
+ `uv`, `npm`, `pip` / `pipx`
201
51
 
202
- ### Environment Variables
52
+ ### Development Tools
203
53
 
204
- Edit `.devcontainer/.env` to customize behavior:
54
+ `gh` (GitHub CLI), `docker`, `git`, `jq`, `curl`, `tmux`, `biome`, `agent-browser`
205
55
 
206
- | Variable | Default | Description |
207
- |----------|---------|-------------|
208
- | `CLAUDE_CONFIG_DIR` | `/workspaces/.claude` | Claude configuration directory |
209
- | `SETUP_CONFIG` | `true` | Copy config files during setup |
210
- | `OVERWRITE_CONFIG` | `true` | Overwrite existing configs |
211
- | `SETUP_ALIASES` | `true` | Add `cc` alias to shell |
212
- | `SETUP_PLUGINS` | `true` | Install official plugins |
56
+ ### Code Intelligence
213
57
 
214
- ### Claude Code Settings
58
+ tree-sitter (JS/TS/Python), ast-grep, Pyright, TypeScript LSP
215
59
 
216
- Default settings are in `.devcontainer/config/settings.json`. These are copied to `/workspaces/.claude/settings.json` on first run.
60
+ ### Claude Code Tools
217
61
 
218
- Key defaults:
219
- - **Model**: Claude Opus 4-6
220
- - **Default mode**: Plan (prompts before executing)
221
- - **Max output tokens**: 128,000
62
+ `claude`, `cc` (wrapper), `ccusage`, `ccburn`, `ccstatusline`, `claude-monitor`
222
63
 
223
- ### System Prompt
64
+ ### Custom Features (14)
224
65
 
225
- The default system prompt is in `.devcontainer/config/main-system-prompt.md`. Override it by creating a `.claude/system-prompt.md` in your project directory.
66
+ tmux, agent-browser, claude-monitor, ccusage, ccburn, ccstatusline, ast-grep, tree-sitter, lsp-servers, biome, notify-hook, mcp-qdrant, mcp-reasoner, splitrail
226
67
 
227
- ## Custom Features
68
+ ### Agents (17) & Skills (16)
228
69
 
229
- CodeForge includes several custom devcontainer features:
70
+ The `code-directive` plugin includes specialized agents (architect, explorer, test-writer, security-auditor, etc.) and domain-specific coding reference skills (fastapi, svelte5, docker, testing, etc.).
230
71
 
231
- | Feature | Description |
232
- |---------|-------------|
233
- | `claude-monitor` | Real-time token usage monitoring with ML predictions |
234
- | `ccusage` | Usage analytics CLI |
235
- | `ccstatusline` | Compact powerline status display |
236
- | `ast-grep` | Structural code search using AST patterns |
237
- | `tree-sitter` | Parser with JS/TS/Python grammars |
238
- | `lsp-servers` | Pyright and TypeScript language servers |
239
- | `agent-browser` | Browser automation with accessibility snapshots and screenshots |
240
- | `tmux` | Terminal multiplexer with Catppuccin theme for Agent Teams |
241
- | `biome` | Fast JS/TS/JSON/CSS formatter (global install) |
72
+ ## Quick Start
242
73
 
243
- ## Essential Gotchas
74
+ 1. **Install**: `npx codeforge-dev`
75
+ 2. **Open in Container**: "Reopen in Container" in VS Code, or create a Codespace
76
+ 3. **Authenticate**: Run `claude` and follow prompts
77
+ 4. **Start coding**: Run `cc`
244
78
 
245
- - **Authentication required**: Run `claude` once to authenticate before using `cc`
246
- - **Plan mode default**: The container starts in "plan" mode, which prompts for approval before making changes
247
- - **Project-local config**: The `cc` command creates `.claude/` in your current directory for project-specific settings
248
- - **GitHub auth persists**: Run `gh auth login` once; credentials survive container rebuilds (stored in `/workspaces/.gh/`)
79
+ For full usage documentation authentication, configuration, tools, agents, and keybindings — see [`.devcontainer/README.md`](.devcontainer/README.md).
249
80
 
250
81
  ## Development
251
82
 
@@ -266,6 +97,8 @@ npm publish
266
97
 
267
98
  ## Further Reading
268
99
 
100
+ - [Full Usage Guide](.devcontainer/README.md)
101
+ - [Changelog](.devcontainer/CHANGELOG.md)
269
102
  - [Claude Code Documentation](https://docs.anthropic.com/en/docs/claude-code)
270
103
  - [Dev Containers Specification](https://containers.dev/)
271
104
  - [GitHub CLI Manual](https://cli.github.com/manual/)
package/package.json CHANGED
@@ -1,44 +1,44 @@
1
1
  {
2
- "name": "codeforge-dev",
3
- "version": "1.7.0",
4
- "description": "Complete development container that sets up Claude Code with modular devcontainer features, modern dev tools, and persistent configurations. Drop it into any project and get a production-ready AI development environment in minutes.",
5
- "main": "setup.js",
6
- "bin": {
7
- "codeforge": "setup.js"
8
- },
9
- "scripts": {
10
- "test": "node test.js"
11
- },
12
- "keywords": [
13
- "devcontainer",
14
- "claude",
15
- "claude-code",
16
- "mcp",
17
- "mcp-server",
18
- "ai",
19
- "development-environment",
20
- "vscode",
21
- "container",
22
- "qdrant",
23
- "reasoner",
24
- "ai-development"
25
- ],
26
- "author": "AnExiledDev",
27
- "license": "GPL-3.0",
28
- "files": [
29
- ".devcontainer/**/*",
30
- "setup.js",
31
- "README.md"
32
- ],
33
- "engines": {
34
- "node": ">=14.0.0"
35
- },
36
- "repository": {
37
- "type": "git",
38
- "url": "git+https://github.com/AnExiledDev/CodeForge.git"
39
- },
40
- "homepage": "https://github.com/AnExiledDev/CodeForge#readme",
41
- "bugs": {
42
- "url": "https://github.com/AnExiledDev/CodeForge/issues"
43
- }
2
+ "name": "codeforge-dev",
3
+ "version": "1.9.0",
4
+ "description": "Complete development container that sets up Claude Code with modular devcontainer features, modern dev tools, and persistent configurations. Drop it into any project and get a production-ready AI development environment in minutes.",
5
+ "main": "setup.js",
6
+ "bin": {
7
+ "codeforge": "setup.js"
8
+ },
9
+ "scripts": {
10
+ "test": "node test.js"
11
+ },
12
+ "keywords": [
13
+ "devcontainer",
14
+ "claude",
15
+ "claude-code",
16
+ "mcp",
17
+ "mcp-server",
18
+ "ai",
19
+ "development-environment",
20
+ "vscode",
21
+ "container",
22
+ "qdrant",
23
+ "reasoner",
24
+ "ai-development"
25
+ ],
26
+ "author": "AnExiledDev",
27
+ "license": "GPL-3.0",
28
+ "files": [
29
+ ".devcontainer/**/*",
30
+ "setup.js",
31
+ "README.md"
32
+ ],
33
+ "engines": {
34
+ "node": ">=14.0.0"
35
+ },
36
+ "repository": {
37
+ "type": "git",
38
+ "url": "git+https://github.com/AnExiledDev/CodeForge.git"
39
+ },
40
+ "homepage": "https://github.com/AnExiledDev/CodeForge#readme",
41
+ "bugs": {
42
+ "url": "https://github.com/AnExiledDev/CodeForge/issues"
43
+ }
44
44
  }