Agent skill
publish
Commit and publish Quarto project to GitHub Pages. Use when the user wants to publish changes to a Quarto book or website.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/quarto-publish
SKILL.md
Publish Quarto Project
When the user invokes /publish, commit and publish the Quarto project to GitHub Pages.
Steps
1. Check for Changes
git status
If no changes, inform the user and stop.
2. Show What Will Be Committed
List the changed files and ask the user for a commit message, or suggest one based on recent work.
3. Commit and Push
git add .
git commit -m "USER_MESSAGE
Co-Authored-By: Claude <[email protected]>"
git push
4. Publish to GitHub Pages
quarto publish gh-pages --no-prompt
If quarto is not in PATH, try /usr/local/bin/quarto.
5. Confirm
Tell the user:
- Commit was created
- Site will be live in 1-3 minutes at the GitHub Pages URL
- Provide the URL if known (check
_quarto.ymlor git remote)
Notes
- This skill assumes the project is already set up for GitHub Pages (has
gh-pagesbranch) - If
quarto publishfails, show the error and suggest troubleshooting steps - The GitHub Pages URL follows the pattern:
https://ORG.github.io/REPO/
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?