Skip to content

Commit 806c95f

Browse files
carlosthe19916mrrajanclaude
authored
chore(claude): add github skill (guacsec#912)
Signed-off-by: Carlos Feria <2582866+carlosthe19916@users.noreply.github.com> Co-authored-by: Rajan Ravi <86094767+mrrajan@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent bcad8cd commit 806c95f

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

.claude/skills/github/SKILL.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
name: github
3+
description: Create and manage GitHub issues, pull requests, and interact with repositories. Use when creating issues, PRs, viewing GitHub resources, managing labels, or checking CI status.
4+
argument-hint: [ message ]
5+
disable-model-invocation: true
6+
allowed-tools:
7+
- Bash(gh issue view *)
8+
- Bash(gh issue create *)
9+
- Bash(gh issue list *)
10+
- Bash(gh pr view *)
11+
- Bash(gh pr create *)
12+
- Bash(gh pr comment *)
13+
---
14+
15+
# GitHub Assistant
16+
17+
- Interact with GitHub repositories using the GitHub CLI (`gh`).
18+
- In all interactions and commit messages, be extremely concise and sacrifice
19+
grammar for the sake of concision.
20+
21+
## Gather context
22+
23+
- Infer the type of resource being requested from $ARGUMENTS: issue, pull
24+
request, labels, etc.
25+
- Evaluate $ARGUMENTS to see if all mandatory parameters from "gh" are defined;
26+
if not, ask more questions to define them
27+
28+
## Take action
29+
30+
- Execute the required action
31+
32+
### PR Comments
33+
34+
<pr-comment-rule>
35+
When I say to add a comment to a PR with a TODO on it, use 'checkbox' markdown format to add the TODO. For instance:
36+
37+
<example>
38+
- [ ] A description of the todo goes here
39+
</example>
40+
</pr-comment-rule>
41+
42+
### Git
43+
44+
- Use `conventional commits`. E.g. "feat: something", "fix: something", "chore:
45+
something", etc.
46+
- Be careful making commits to the `main`. Ask for confirmation before
47+
continuing
48+
- Create branches with prefixes: "feat", "hotfix", "tests", "chore", "docs",
49+
etc.
50+
51+
## Verify results
52+
53+
- Use either the "git" or "gh" command to double-check the action was done

0 commit comments

Comments
 (0)