skills/pr-go/SKILL.md
Validates Go code quality and creates a pull request. Triggered by "create a Go PR", "Go PR pipeline", "run Go validation and PR", or "validate and push Go code".
npx skillsauth add raphi011/skills pr-goInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Validate code quality, run all tests, and create a PR only if everything passes.
STOP immediately if any step fails and attempt to fix the issue before retrying.
Run the validation script from the Go module root:
./scripts/go-validate.sh
The script runs all quality checks, tests, and static analysis in one pass.
Parse the === SUMMARY === line:
git add.See validate-reference.md for detailed failure interpretation and fix guidance.
Run git diff main...HEAD (or master...HEAD) to review all changes against the plan/task.
Check for:
Fix any issues before proceeding.
CLAUDE.md exists and reflects current project stateREADME.md needs updates for new features/changesUpdate stale docs before proceeding.
If git status shows uncommitted changes (e.g., from formatting fixes):
Only after ALL checks pass.
gh pr view --json number 2>/dev/nullls .github/pull_request_template.md .github/PULL_REQUEST_TEMPLATE.md 2>/dev/nullgit push -u origin HEADpr-summary.mdReport status after each step:
After PR creation/update, generate summary per pr-summary.md.
!`git log main...HEAD --oneline 2>/dev/null || git log master...HEAD --oneline 2>/dev/null || echo "(could not detect base branch)"`
Changed files:
!`git diff main...HEAD --stat 2>/dev/null || git diff master...HEAD --stat 2>/dev/null || echo "(could not detect base branch)"`
development
Create polished, professional reveal.js presentations. Use when the user asks to create slides, a presentation, a deck, or a slideshow. Supports themes, multi-column layouts, code highlighting, animations, speaker notes, and custom styling. Generates HTML + CSS with no build step required.
tools
Use when writing Tailwind CSS v4 code, configuring Tailwind v4 with @theme or @variant directives, migrating from Tailwind v3 to v4, setting up CSS-native config (no tailwind.config.js), defining semantic color tokens, implementing dark mode with class-based @variant, creating design system tokens, or styling components with utility classes. Covers @import "tailwindcss", @theme blocks, @variant, @layer, CSS custom properties for colors, and common layout/component patterns.
development
Use whenever working with SurrealDB — writing queries, defining schemas, configuring indexes, debugging errors, handling record IDs, using the Go SDK, or discussing SurrealDB architecture. Activate on any mention of SurrealDB, SurrealQL, HNSW indexes, or surreal-related Go SDK code.
development
Use when visually verifying terminal UI rendering, testing TUI interactions, debugging Bubbletea display issues, or when asked to "test the TUI", "screenshot the terminal", "check what the TUI looks like", or "visually verify". Requires Kitty terminal with allow_remote_control and macOS for screencapture.