branch-pr
Trigger: preparing branches or PRs for Gentleman-Programming/gentle-ai. Apply this repository's issue-first contribution policy.
Trigger: Go tests, go test coverage, Bubbletea teatest, golden files. Apply focused Go testing patterns.
Claude Code
$ npx -y skills add Gentleman-Programming/gentle-ai --skill go-testing --agent claude-code
Codex
$ npx skills add Gentleman-Programming/gentle-ai --skill go-testing -a codex -y
Cursor
$ npx skills add Gentleman-Programming/gentle-ai --skill go-testing -a cursor -y
Gemini CLI
$ npx skills add Gentleman-Programming/gentle-ai --skill go-testing -a gemini-cli -y
GitHub Copilot
$ npx skills add Gentleman-Programming/gentle-ai --skill go-testing -a github-copilot -y
OpenCode
$ npx skills add Gentleman-Programming/gentle-ai --skill go-testing -a opencode -y
Windsurf
$ npx skills add Gentleman-Programming/gentle-ai --skill go-testing -a windsurf -y
name: go-testing description: "Trigger: Go tests, go test coverage, Bubbletea teatest, golden files. Apply focused Go testing patterns." license: Apache-2.0 metadata: author: gentleman-programming version: "1.0"
Load this skill when writing or reviewing Go tests, adding coverage, testing Bubbletea/TUI flows, using `teatest`, or updating golden files.
| Target | Test pattern | |---|---| | Pure function or parser | Table-driven unit test. | | Error behavior | Explicit success and failure cases. | | File operations | `t.TempDir()` plus focused assertions. | | TUI state transition | Direct `Model.Update()` call with `tea.Msg`. | | Full TUI interaction | `teatest.NewTestModel()`. | | Rendered output | Golden file test. | | Real external command | Integration test; skip in `-short`. |
1. Identify behavior under test and the smallest public boundary that proves it. 2. Choose the test pattern from the decision gate. 3. Name cases by scenario, not input mechanics. 4. Assert outputs, errors, state, and side effects explicitly. 5. Run the narrow package test first, then the relevant broader suite. 6. For golden updates: run with `-update`, inspect diff, then rerun without `-update`.
Report test files changed, scenarios covered, commands executed, golden files updated, and any skipped integration scope.
Gentle-AI configures the AI coding agents you already use: Claude Code, Cursor, OpenCode, Codex, Pi, and more. Choose persistent memory, Organic-Driven Development, curated skills, MCP servers, personas, and optional bounded review. Open source, no agent lock-in.
Trigger: preparing branches or PRs for Gentleman-Programming/gentle-ai. Apply this repository's issue-first contribution policy.
Trigger: PRs over 400 lines, stacked PRs, review slices. Split oversized changes into chained PRs that protect review focus.
Design docs that reduce cognitive load. Trigger: writing guides, READMEs, RFCs, onboarding, architecture, or review-facing docs.
Write warm, direct collaboration comments. Trigger: PR feedback, issue replies, reviews, Slack messages, or GitHub comments.
Trigger: bench, journey, journeys, driven mode, gentle-ai-bench, journey corpus, j-numbers, bench axis. Author and verify…
Trigger: a mapping need, parallel units, context backstop, high-risk verify, fresh review, or multi-step debug. Delegate via…
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW with Calibre) into structured agent…
Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…