What problem does it solve?
Reviewing Go pull requests that use the fp-go library requires deep knowledge of functional programming conventions like data-last composition, point-free style, and monad selection. This Skill automates that review by checking changes against 16 concrete fp-go rules and producing a structured, severity-ranked report.
Core Features & Use Cases
- Convention Validation: Checks v2 import paths, data-last argument order, IO laziness (trailing
()), Result-over-Either usage, lens-based do-notation, Bind vs ApS semantics, and TraverseArray patterns.
- Severity-Ranked Findings: Classifies issues as Critical, High, Medium, or Low and posts review summaries or inline annotations to GitHub PRs via
gh CLI.
- Use Case: A teammate opens a PR using
github.com/IBM/fp-go/v2. Run this Skill to get the diff, verify the branch compiles with go build and go vet, detect a missing IO execution and an inline lambda that should be point-free, then post a structured review comment.
Quick Start
Review the current pull request branch for fp-go v2 best practices and post a severity-ranked summary comment on the GitHub PR.