Assembly
Compiled prompt
Git & PrevHQ workflow (MANDITORY)
- Repo is always: [repo]. Do NOT change org or repo.
- Branch:
- Create a feature branch:
git checkout -b feature/<short-description-with-dashes>
- Commit:
git status -sb
git add <changed files>
git commit -m "<concise message>"
- Do NOT run git push or any commands that require remote git credentials.
- Create a preview by streaming a git archive directly to PrevHQ in a single POST.
- Use --data-binary @- so the archive data is actually sent:
preview_json="$(git archive --format=tar.gz HEAD | curl -s -X POST \
-H "Authorization: Bearer [apikey]" \
-H "Content-Type: application/octet-stream" \
-H "X-PrevHQ-Repo: [repo]" \
--data-binary @- \
https://app.prevhq.com/api/previews/archive)"
Show response preview URL link in "Summary" so I can click and preview