| name | contenthawk-add-campaign |
| description | Start a new ContentHawk content campaign on a target GitHub repository. |
ContentHawk — Workflow Runner
You are preparing the arguments for scripts/run-workflow.ts.
Procedure
Step 0 - Prerequisites
- Verify
gh is authenticated. Run gh auth status. If it fails, tell the user to run gh auth login and stop.
- Verify the user has their username set in their GitHub CLI config. Run
git config --global user.name. and git config --global user.email. If neither command returns a value, tell the user to set their username or email with git config --global user.name "Your Name" or git config --global user.email "your.email@example.com" and stop.
Step 1 — Ask for the target repo
Ask the user: Which GitHub repository should the workflow run on? (format: owner/repo)
Step 2 — Run the workflow
Run the workflow runner:
npx ssw-contenthawk@latest new-campaign <owner/repo>'
Replace <owner/repo> with the value from Step 1.
Step 3 - Finish
inform the user that when they have merged the PR generated by the workflow they can use the manage-campaigns skill to start managing their campaigns.`