Skip to content

meyerjrr/skill-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Skill Issue

Skill Issue is a GitHub Action that extracts learnings from code review comments and updates a centralized [skills](https://code.claude.com/docs/en/skills) repository.


Overview

Once skill-issue is installed on a repository it monitors pull request comments for the keyword skill-issue and uses Claude to extract, classify, and catalog learnings into SKILL.md file's.

How It Works

When a reviewer leaves a comment with skill-issue, the bot:

  1. Detects the keyword in PR comments
  2. Gathers context (PR title, diff, changed files)
  3. Uses Claude to classify the learning into a skill category with the context
  4. Creates a formatted markdown entry
  5. Opens a PR in your skills repository with the new learning

Usage

In Code Reviews

Reviewers can trigger the bot by including skill-issue in any PR comment:

We should avoid using `fmt.Errorf` without %w when wrapping errors.
Always use `%w` to preserve the error chain for proper unwrapping.

skill-issue

Optional: Specify Skill Category

Override the LLM's classification by specifying a category:

Use `defer file.Close()` immediately after opening files to prevent resource leaks.
skill-issue go

Example Claude Response:

{
  "skill_name": "go",
  "title": "Use %w when wrapping errors",
  "content": "Always use `fmt.Errorf(\"%w\", err)` instead of `fmt.Errorf(\"%v\", err)` when wrapping errors. The `%w` verb preserves the error chain, enabling proper error unwrapping with `errors.Is()` and `errors.As()`.",
}

About

Updates your communal skills file from within pull requests

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors