fix: Remove dependency on .auto-build/scripts - auto-create directories
- Commands now use ${CLAUDE_PLUGIN_ROOT}/scripts/ for worktree scripts
- Directory .auto-build-data/ is created automatically when needed
- No manual setup required - plugin is self-contained
- Updated help.md, status.md, worktree.md, spec.md, build.md
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
"name": "ab",
|
||||
"source": "./plugin",
|
||||
"description": "Spec-driven build orchestration with git worktree isolation and session memory",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"keywords": ["build", "spec", "automation", "worktree", "qa"]
|
||||
}
|
||||
]
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "ab",
|
||||
"description": "Auto-Build: Spec-driven build orchestration with worktree isolation and session memory",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"author": {
|
||||
"name": "ROA2WEB Team"
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ Create an isolated git worktree? (recommended for larger features)
|
||||
```
|
||||
|
||||
If yes:
|
||||
- Run: `bash .auto-build/scripts/worktree-create.sh {feature-name}`
|
||||
- Run: `bash ${CLAUDE_PLUGIN_ROOT}/scripts/worktree-create.sh {feature-name}`
|
||||
- Update status.json with worktree path
|
||||
- Inform user of worktree location
|
||||
|
||||
@@ -43,7 +43,7 @@ If yes:
|
||||
|
||||
If status is `SPEC_COMPLETE`:
|
||||
|
||||
1. Load memory context:
|
||||
1. Load memory context (if exists):
|
||||
- Read `.auto-build-data/memory/patterns.json`
|
||||
- Read `.auto-build-data/memory/gotchas.json`
|
||||
|
||||
|
||||
@@ -63,13 +63,11 @@ Display comprehensive help for the Auto-Build system.
|
||||
- **Memory**: `.auto-build-data/memory/`
|
||||
- **Worktrees**: `../ab-worktrees/{project}-{feature}/`
|
||||
|
||||
## Setup
|
||||
## First Time Setup
|
||||
|
||||
If not already set up:
|
||||
```bash
|
||||
bash .auto-build/scripts/setup.sh
|
||||
```
|
||||
The plugin automatically creates `.auto-build-data/` when you run your first command.
|
||||
No manual setup required!
|
||||
|
||||
## More Information
|
||||
|
||||
See `.auto-build/README.md` for complete documentation.
|
||||
Run `/ab:status` to see current build progress.
|
||||
|
||||
@@ -17,8 +17,12 @@ Create a comprehensive specification for a new feature using the spec-writer age
|
||||
### 1. Initialize
|
||||
|
||||
- Parse feature name from arguments (kebab-case: "User Dashboard" -> "user-dashboard")
|
||||
- Check if `.auto-build-data/` exists
|
||||
- If not: Run `bash .auto-build/scripts/setup.sh` first
|
||||
- Check if `.auto-build-data/` exists in the project root
|
||||
- If not: Create the directory structure:
|
||||
```
|
||||
mkdir -p .auto-build-data/specs
|
||||
mkdir -p .auto-build-data/memory
|
||||
```
|
||||
- Check if spec already exists at `.auto-build-data/specs/{feature-name}/`
|
||||
- If exists: Ask "Update existing spec or create new version?"
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ Display the current status of Auto-Build, including active specs and builds.
|
||||
|
||||
1. **Check Data Directory**
|
||||
- Verify `.auto-build-data/` exists
|
||||
- If not, inform user to run setup: `bash .auto-build/scripts/setup.sh`
|
||||
- If not, create it: `mkdir -p .auto-build-data/specs .auto-build-data/memory`
|
||||
|
||||
2. **List Active Specs**
|
||||
- Read all directories in `.auto-build-data/specs/`
|
||||
@@ -74,4 +74,4 @@ Quick Actions:
|
||||
## Edge Cases
|
||||
|
||||
- If no specs exist: "No active builds. Start with /ab:spec <name>"
|
||||
- If data directory missing: "Run setup first: bash .auto-build/scripts/setup.sh"
|
||||
- If data directory missing: Create it automatically
|
||||
|
||||
@@ -23,7 +23,7 @@ Create a new isolated worktree for a feature.
|
||||
|
||||
**Command:**
|
||||
```bash
|
||||
bash .auto-build/scripts/worktree-create.sh {feature-name}
|
||||
bash ${CLAUDE_PLUGIN_ROOT}/scripts/worktree-create.sh {feature-name}
|
||||
```
|
||||
|
||||
**Output:**
|
||||
@@ -53,7 +53,7 @@ List all active worktrees.
|
||||
|
||||
**Command:**
|
||||
```bash
|
||||
bash .auto-build/scripts/worktree-list.sh
|
||||
bash ${CLAUDE_PLUGIN_ROOT}/scripts/worktree-list.sh
|
||||
```
|
||||
|
||||
### switch <feature-name>
|
||||
@@ -99,7 +99,7 @@ If no feature-name:
|
||||
|
||||
**Command:**
|
||||
```bash
|
||||
bash .auto-build/scripts/worktree-cleanup.sh [feature-name]
|
||||
bash ${CLAUDE_PLUGIN_ROOT}/scripts/worktree-cleanup.sh [feature-name]
|
||||
```
|
||||
|
||||
## Registry Format
|
||||
@@ -131,7 +131,6 @@ Structure:
|
||||
```
|
||||
/projects/
|
||||
├── my-project/ # Main project
|
||||
│ ├── .auto-build/
|
||||
│ └── .auto-build-data/
|
||||
└── ab-worktrees/ # Worktrees directory
|
||||
├── my-project-user-dashboard/
|
||||
|
||||
Reference in New Issue
Block a user