Write the install.sh script — the curl-able installer that adds the workflow to any project.
File
install.sh at repo root
What
Users run: curl -fsSL https://raw.githubusercontent.com/jdelfino/agent-workflow/main/install.sh | bash
The script:
- Downloads .claude/, .github/, and templates/ from GitHub
- Copies files into the current project:
.claude/skills/* — safe copy (new directories)
.claude/commands/* — safe copy (new files)
.github/workflows/* — safe copy (warn if exists)
.github/agent-workflow/config.yaml — write if absent, warn if exists
.github/ISSUE_TEMPLATE/* — safe copy
AGENTS.md — write if absent, warn if exists
- Merges config files:
.claude/settings.json — merge permissions (add gh:* and git:* if not present)
CLAUDE.md — append workflow section if not present (detect by marker <!-- agent-workflow -->)
- Reports what was installed/skipped/needs attention
Design decisions
- No dependencies (pure bash + curl + jq for JSON merge)
- Never overwrites existing files
- All downloads from raw.githubusercontent.com/jdelfino/agent-workflow/main/
Dependencies
Write the install.sh script — the curl-able installer that adds the workflow to any project.
File
install.shat repo rootWhat
Users run:
curl -fsSL https://raw.githubusercontent.com/jdelfino/agent-workflow/main/install.sh | bashThe script:
.claude/skills/*— safe copy (new directories).claude/commands/*— safe copy (new files).github/workflows/*— safe copy (warn if exists).github/agent-workflow/config.yaml— write if absent, warn if exists.github/ISSUE_TEMPLATE/*— safe copyAGENTS.md— write if absent, warn if exists.claude/settings.json— merge permissions (add gh:* and git:* if not present)CLAUDE.md— append workflow section if not present (detect by marker<!-- agent-workflow -->)Design decisions
Dependencies