github-workflow
Skill266 starsChanged 10 months agoApache-2.0View on GitHub
GitHub best practices for pull requests, code reviews, issues, Actions workflows, and repository management
- Reads credentials
10 other projects use a version of this.
Adopted by
Most recently taken up by
- mike22890/opencode-skills-cntheir own version, first seen Sep 13, 2026
- sudokoi/skillstheir own version, first seen Aug 21, 2026
- 2867203296/hermes-agenttheir own version, first seen Aug 19, 2026
- aminemanai2003/personal-agent-skillstheir own version, first seen Aug 15, 2026
- Kur1sulab/blackboxtheir own version, first seen Aug 12, 2026
- zajca/pohunektheir own version, first seen Jun 29, 2026
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- transilienceai/communitytools★ 555same name
- drewid74/ai_skills★ 8same name
- rloisell/rl-agents-n-skills★ 8same name
- aminemanai2003/personal-agent-skills★ 4same name
- zajca/pohunek★ 4same name
- Kur1sulab/blackbox★ 3same name
- mike22890/opencode-skills-cn★ 1same name
- 2867203296/hermes-agent★ 0same name
- sudokoi/skills★ 0same name
- yuelenghan/orbit★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository264 other files it gives its agents.
- accessibility-a11ySkill
- alpine-jsSkill
- analytics-data-analysisSkill
- android-developmentSkill
- angular-developmentSkill
- angularSkill
- anime-jsSkill
- anthropic-claude-developmentSkill
- api-developmentSkill
- apollo-graphqlSkill
- aspnet-coreSkill
- astroSkill
- auth0-authenticationSkill
- autogen-developmentSkill
- automl-hyperparameter-optimizationSkill
- aws-developmentSkill
- azureSkill
- backend-developmentSkill
- bash-scriptingSkill
- beautifulsoup-parsingSkill
- bitbucket-workflowSkill
- blazorSkill
- blender-python-addonSkill
- blockchainSkill
- bootstrapSkill
- business-central-developmentSkill
- cheerio-parsingSkill
- chrome-extension-developmentSkill
- ci-cd-best-practicesSkill
- clean-architectureSkill
- clean-codeSkill
- clerk-authenticationSkill
- cloudflare-developmentSkill
- computer-vision-opencvSkill
- convexSkill
- cppSkill
- c-sharpSkill
- cssSkill
- cypressSkill
- data-analysis-jupyterSkill
- data-analystSkill
- data-jupyter-pythonSkill
- deep-learning-pythonSkill
- deep-learning-pytorchSkill
- deep-learningSkill
- deno-typescriptSkill
- design-systemsSkill
- devopsSkill
- django-pythonSkill
- django-rest-api-developmentSkill
- dockerSkill
- dotnetSkill
- drizzle-ormSkill
- drupal-developmentSkill
- elasticsearch-best-practicesSkill
- electron-developmentSkill
- elixirSkill
- embedded-stm32Skill
- esbuild-bundlerSkill
- ethereumSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. 0 are common, 13 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
13
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 12
Use pull requests for all code changes to enable review and discussion
- Distinctive: line 15
Follow security best practices for repository access and secrets
- Distinctive: line 16
Document repositories thoroughly with README and contributing guidelines
- Very specific: line 28
Use conventional commit style: feat: add user authentication
- Very specific: line 50
Use Closes #123 or Fixes #123 to auto-close issues
- Distinctive: line 57
Create a base feature branch
- Distinctive: line 58
Create subsequent PRs that build on each other
- Distinctive: line 60
Keep each PR small and reviewable
- Distinctive: line 76
Use prefixes to indicate comment severity:
- Distinctive: line 99
All blocking comments addressed
- Very specific: line 158
Use secrets for sensitive data
- Very specific: line 173
Create .github/ISSUE_TEMPLATE/ with templates:
- Distinctive: line 257
Use repository or organization secrets
- Distinctive: line 259
Never commit secrets to code
- Distinctive: line 262
Use teams for permissions
- Distinctive: line 263
Follow principle of least privilege
- Distinctive: line 292
Use semantic-release or release-please for automated releases based on conventional commits.
“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GitHub Workflow Best Practices
You are an expert in GitHub workflows, including pull requests, code reviews, GitHub Actions, issue management, and repository best practices.
Core Principles
- Use pull requests for all code changes to enable review and discussion
- Automate workflows with GitHub Actions for CI/CD
- Maintain clear issue tracking and project management
- Follow security best practices for repository access and secrets
- Document repositories thoroughly with README and contributing guidelines
Pull Request Best Practices
Creating Effective Pull Requests
- Keep PRs small and focused
- One feature or fix per PR
- Aim for under 400 lines of changes when possible
- Split large features into stacked PRs
- Write descriptive PR titles
- Use conventional commit style:
feat: add user authentication - Be specific about what the PR accomplishes
- Use conventional commit style:
- PR Description Template
## Summary Brief description of changes and motivation. ## Changes - Bullet points of specific changes made ## Testing - How the changes were tested - Steps to reproduce/verify ## Related Issues Closes #123 ## Screenshots (if applicable) - Link related issues
- Use
Closes #123orFixes #123to auto-close issues - Reference related issues with
#123
- Use
Stacked Pull Requests
For complex features, use stacked PRs:
- Create a base feature branch
- Create subsequent PRs that build on each other
- Merge in order from base to top
- Keep each PR small and reviewable
Code Review Guidelines
As a Reviewer
- Review promptly - Respond within 24 hours when possible
- Be constructive - Focus on improvement, not criticism
- Ask questions - Seek to understand before suggesting changes
- Prioritize feedback:
- Blocking: Security issues, bugs, breaking changes
- Important: Performance, maintainability
- Nice-to-have: Style preferences, minor improvements
Comment Conventions
Use prefixes to indicate comment severity:
blocking:Must be addressed before mergesuggestion:Recommended improvementquestion:Seeking clarificationnit:Minor style or preference (optional to address)praise:Positive feedback on good code
Example Review Comments
blocking: This SQL query is vulnerable to injection.
Please use parameterized queries.
suggestion: Consider extracting this logic into a separate
function for better testability.
nit: Prefer `const` over `let` here since this value
is never reassigned.Approval Criteria
- All blocking comments addressed
- Tests pass
- CI/CD checks pass
- At least one approval from code owner
GitHub Actions
Workflow Best Practices
- Use workflow templates
name: CI on: push: branches: [main] pull_request: branches: [main] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: '20' cache: 'npm' - run: npm ci - run: npm test - Cache dependencies
- uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - Use reusable workflows
jobs: call-workflow: uses: ./.github/workflows/reusable.yml with: environment: production secrets: inherit - Set appropriate timeouts
jobs: build: timeout-minutes: 10
Security in Actions
- Use
secretsfor sensitive data - Pin action versions with SHA:
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 - Limit
GITHUB_TOKENpermissions - Review third-party actions before use
permissions:
contents: read
pull-requests: writeIssue Management
Issue Templates
Create .github/ISSUE_TEMPLATE/ with templates:
Bug Report:
---
name: Bug Report
about: Report a bug
labels: bug
---
## Description
Clear description of the bug.
## Steps to Reproduce
1. Step one
2. Step two
## Expected Behavior
What should happen.
## Actual Behavior
What actually happens.
## Environment
- OS:
- Browser:
- Version:Feature Request:
---
name: Feature Request
about: Suggest a new feature
labels: enhancement
---
## Problem
Describe the problem this feature would solve.
## Proposed Solution
Describe your proposed solution.
## Alternatives Considered
Other approaches you've considered.Labels
Use consistent labels:
bug,enhancement,documentationgood first issue,help wantedpriority: high,priority: medium,priority: lowstatus: in progress,status: blocked
Repository Management
Branch Protection Rules
Configure for main branch:
- Require pull request reviews
- Require status checks to pass
- Require conversation resolution
- Require signed commits (optional)
- Restrict force pushes
CODEOWNERS File
# .github/CODEOWNERS
* @default-team
/docs/ @docs-team
/src/api/ @backend-team
*.js @frontend-teamSecurity Best Practices
- Enable security features
- Dependabot alerts and updates
- Code scanning with CodeQL
- Secret scanning
- Manage secrets properly
- Use repository or organization secrets
- Rotate secrets regularly
- Never commit secrets to code
- Access control
- Use teams for permissions
- Follow principle of least privilege
- Audit access regularly
Automation Recommendations
Auto-merge for Dependabot
name: Dependabot auto-merge
on: pull_request
permissions:
contents: write
pull-requests: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Auto-merge minor updates
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}Release Automation
Use semantic-release or release-please for automated releases based on conventional commits.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

