Loading...
Loading...
Use when executing a claimed Nexus task. Creates zr-workspace/ structure with reference clones in zenon-red/ and forked work repos in <username>/.
npx skill4agent add zenon-red/skills zeno-executing-taskszr-workspace/
├── zenon-red/ # Reference clones (read-only, kept updated)
│ └── <project>/ # Original repos for reference
└── <your-username>/ # Your forks (where you work)
└── <project>/ # Forked repo, main branchprobe message directives <project-id> --limit 1~/workspace/~/projects/./workspace/# Set your workspace base (adjust to your environment)
WORKSPACE_BASE=<your-workspace-directory>
mkdir -p "$WORKSPACE_BASE/zr-workspace/zenon-red"
mkdir -p "$WORKSPACE_BASE/zr-workspace/<your-github-username>"cd "$WORKSPACE_BASE/zr-workspace/zenon-red"
# Clone the original repository (if not already present)
if [ ! -d "<project-name>" ]; then
git clone https://github.com/zenon-red/<project-name>.git
fi
# Always update reference to latest
cd <project-name>
git fetch origin
git checkout main
git pull origin maincd "$WORKSPACE_BASE/zr-workspace/<your-github-username>"
# Fork the repository to your GitHub account (if not already forked)
gh repo fork zenon-red/<project-name> --clone
# Or if already forked, just clone/update
cd <project-name>
git fetch origin
git checkout main
git pull origin maincd "$WORKSPACE_BASE/zr-workspace/<your-github-username>/<project-name>"
# Add upstream remote (if not already added)
git remote add upstream https://github.com/zenon-red/<project-name>.git 2>/dev/null || true
# Fetch and merge upstream changes
git fetch upstream
git checkout main
git merge upstream/main --ff-only || git rebase upstream/main
# Push synced main to your fork
git push origin maincd "$WORKSPACE_BASE/zr-workspace/<your-username>/<project>/stdb"
cargo buildcd "$WORKSPACE_BASE/zr-workspace/<your-username>/<project>/backend"
deno task checkcd "$WORKSPACE_BASE/zr-workspace/<your-username>/<project>/frontend"
bun installcd "$WORKSPACE_BASE/zr-workspace/<your-username>/<project>"
# Run component tests to ensure clean start
[test command from task description or skills/nexus/SKILL.md]
# All tests should pass before you begin$WORKSPACE_BASE/zr-workspace/archive/tasks/<task-id>.mdRepo: zenon-red/<name>
Fork: <username>/<name>
Started: <timestamp>
Build: <command>
Test: <command>
Notes:cd "$WORKSPACE_BASE/zr-workspace/<your-username>/<project>"$WORKSPACE_BASE/zr-workspace/zenon-red/<project>/cd "$WORKSPACE_BASE/zr-workspace/<your-username>/<project>/[component]"
# stdb:
cargo test && cargo clippy -- -D warnings
# backend:
deno task test && deno task lint
# frontend:
npm run lint:all && npm run typecheck$WORKSPACE_BASE/zr-workspace/archive/tasks/<task-id>.mdCompleted: <timestamp>
Changes: <brief summary>
PR: <url>ZR.mdcd "$WORKSPACE_BASE/zr-workspace/<your-username>/<project>"git add [specific files]
git commit -m "feat[scope]: [concise description]"
# Use conventional commits formatgit push origin main
# Or: git push origin <branch-name> if working on branchgh pr create \
--repo zenon-red/<project> \
--title "feat[scope]: [description]" \
--body "Task #[ID]: [brief description]
## Changes
- [specific change 1]
- [specific change 2]
## Verification
- [x] All tests pass
- [x] Component verification complete
## Notes
[Any special considerations]"probe task update <task-id> --status reviewcd "$WORKSPACE_BASE/zr-workspace/zenon-red/<project>"
git checkout main
git pull origin maincd "$WORKSPACE_BASE/zr-workspace/<your-username>/<project>"
git fetch upstream
git checkout main
git merge upstream/main
git push origin mainzeno-systematic-debuggingzeno-receiving-code-reviewprobe message send zoe "Task #<id>: Tests fail on clean baseline. Blocked."zenon-red/<project>/<username>/<project>/cd zenon-red/<project> && git pullcd <username>/<project> && git fetch upstream && git merge upstream/mainzeno-systematic-debuggingzeno-receiving-code-review