agentleFS
aboylabsaboylabs/ai-agent-skills/skills/github/repo-quality-maksimalisasi/SKILL.md

repo-quality-maksimalisasi

Skill15 starsChanged 7 months agoMITView on GitHub

Evaluate and maximize GitHub repo quality from 7/10 to 10/10 perfect

  • Commits and pushes

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Don't skip CI verification: Always wait for CI to pass before declaring complete

    line 265
  2. Distinctive:

    FAQ placement: Before Contributing section, after main content

    line 269
  3. Very specific:

    Release notes: Use --generate-notes for automatic changelog from commits

    line 270
  4. Distinctive:

    Template labels: Use YAML frontmatter for auto-labeling issues/PRs

    line 271

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Repository Quality Evaluation & Maksimalisasi

Transform GitHub repos from good (7/10) to perfect (10/10) production-ready state.

When to Use

  • User says "gas maksimalkan" or "pastikan perfect"
  • Repo needs professional polish for public release
  • Want comprehensive CI/CD, tests, and templates
  • Preparing repo for community contributions

Quality Scoring Framework

Evaluate across 10 categories (0-10 each):

CategoryWeightWhat to Check
Documentation10%README completeness, examples, architecture docs
Installers/Setup10%Automated setup, clear instructions, idempotent
Templates5%Starter files, boilerplate, examples
CI/CD15%GitHub Actions, automated testing, status badges
Examples5%Screenshots, demos, video tutorials
Badges5%CI, license, version, stars, forks
Changelog10%CHANGELOG.md, semantic versioning, release notes
Releases10%GitHub releases, tags, versioned artifacts
Issue Templates15%Bug report, feature request, PR templates
Tests15%Test suite, coverage, automated validation

Scoring:

  • 0-3: Missing or broken
  • 4-6: Basic/minimal
  • 7-8: Good/functional
  • 9-10: Excellent/comprehensive

Total Score = Average of all categories


Maksimalisasi Workflow

Phase 1: CHANGELOG + Release (15 min)

  1. Create CHANGELOG.md
    cat > CHANGELOG.md << 'EOF'
    # Changelog
    
    ## [1.1.0] - YYYY-MM-DD
    ### Added
    - Feature A
    - Feature B
    
    ## [1.0.0] - YYYY-MM-DD
    ### Added
    - Initial release
    EOF
  2. Create GitHub release
    git tag -a v1.1.0 -m "v1.1.0 - Description"
    git push origin v1.1.0
    gh release create v1.1.0 --title "v1.1.0 - Title" --notes "Release notes"

Phase 2: Badges + FAQ (20 min)

  1. Add badges to README
    [![CI](https://github.com/owner/repo/workflows/CI/badge.svg)](https://github.com/owner/repo/actions)
    [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
    [![Version](https://img.shields.io/github/v/release/owner/repo)](https://github.com/owner/repo/releases)
    [![GitHub stars](https://img.shields.io/github/stars/owner/repo?style=social)](https://github.com/owner/repo/stargazers)
    [![GitHub forks](https://img.shields.io/github/forks/owner/repo?style=social)](https://github.com/owner/repo/network/members)
  2. Add FAQ section (before Contributing)
    ## ❓ FAQ
    
    ### **Q: Common question 1?**
    **A:** Clear answer with examples.
    
    ### **Q: Common question 2?**
    **A:** Clear answer with code snippets.
    
    [Add 8-10 questions based on user feedback]

Phase 3: CI/CD + Tests (40 min)

  1. Create GitHub Actions workflow
    # .github/workflows/ci.yml
    name: CI
    
    on:
      push:
        branches: [ main ]
      pull_request:
        branches: [ main ]
    
    jobs:
      test:
        runs-on: ubuntu-latest
        
        steps:
        - uses: actions/checkout@v3
        
        - name: Check Bash syntax
          run: |
            for script in *.sh; do
              bash -n "$script"
            done
          
        - name: Validate documentation
          run: |
            test -f README.md || exit 1
            test -f CHANGELOG.md || exit 1
            test -f LICENSE || exit 1
            
        - name: Run tests
          run: |
            if [ -f tests/test.sh ]; then
              ./tests/test.sh
            fi
  2. Create test suite
    mkdir -p tests
    cat > tests/test.sh << 'EOF'
    #!/bin/bash
    set -e
    
    echo "=== Running Tests ==="
    
    # Test 1: Syntax validation
    echo "Test 1: Syntax validation..."
    bash -n script.sh && echo "✅ Syntax OK" || exit 1
    
    # Test 2: File existence
    echo "Test 2: Required files..."
    test -f README.md && echo "✅ README exists" || exit 1
    
    # Test 3: Documentation completeness
    echo "Test 3: Documentation..."
    grep -q "Quick Start" README.md && echo "✅ Has Quick Start" || exit 1
    
    echo "✅ ALL TESTS PASSED!"
    EOF
    chmod +x tests/test.sh
  3. Verify CI passes
    git add .github/workflows/ci.yml tests/
    git commit -m "feat: add CI/CD and test suite"
    git push
    # Wait for CI to pass
    gh run list --limit 1

Phase 4: Templates (15 min)

  1. Bug report template
    mkdir -p .github/ISSUE_TEMPLATE
    cat > .github/ISSUE_TEMPLATE/bug_report.md << 'EOF'
    ---
    name: Bug report
    about: Create a report to help us improve
    title: '[BUG] '
    labels: bug
    ---
    
    ## 🐛 Bug Description
    Clear description of the bug.
    
    ## 📋 To Reproduce
    Steps to reproduce:
    1. Run command '...'
    2. See error '...'
    
    ## ✅ Expected Behavior
    What you expected to happen.
    
    ## 💻 Environment
    - OS: [e.g. Ubuntu 24.04]
    - Version: [e.g. 1.0.0]
    
    ## 🔍 Error Logs
    Paste logs here
    EOF
  2. Feature request template
    cat > .github/ISSUE_TEMPLATE/feature_request.md << 'EOF'
    ---
    name: Feature request
    about: Suggest an idea
    title: '[FEATURE] '
    labels: enhancement
    ---
    
    ## 🚀 Feature Description
    Clear description of the feature.
    
    ## 💡 Motivation
    Why is this needed?
    
    ## 📋 Proposed Solution
    How should it work?
    
    ## ✅ Acceptance Criteria
    - [ ] Criterion 1
    - [ ] Criterion 2
    EOF
  3. PR template
    cat > .github/pull_request_template.md << 'EOF'
    ## 📋 Description
    Brief description of changes.
    
    ## 🎯 Type of Change
    - [ ] 🐛 Bug fix
    - [ ] ✨ New feature
    - [ ] 💥 Breaking change
    - [ ] 📝 Documentation
    
    ## ✅ Checklist
    - [ ] Code follows style guidelines
    - [ ] Self-review completed
    - [ ] Documentation updated
    - [ ] Tests pass
    EOF

Pitfalls

  1. Don't skip CI verification: Always wait for CI to pass before declaring complete
  2. Test idempotency: Installers should be safe to run multiple times
  3. Mock dependencies in tests: CI environment may not have all tools
  4. Badge order matters: CI badge first (shows quality), then license, version, social proof
  5. FAQ placement: Before Contributing section, after main content
  6. Release notes: Use --generate-notes for automatic changelog from commits
  7. Template labels: Use YAML frontmatter for auto-labeling issues/PRs
  8. User preference (ryzen): "gas maksimalkan" = comprehensive production-ready approach, not incremental patches

Example: mnemosyne-obsidian Transformation

Before (7/10):

  • ✅ Good documentation
  • ✅ Two installers
  • ❌ No CI/CD
  • ❌ No tests
  • ❌ No templates

After (10/10):

  • ✅ Excellent documentation
  • ✅ Two installers (tested)
  • ✅ CI/CD (GitHub Actions, passing)
  • ✅ Test suite (6 tests, 100% pass)
  • ✅ Issue templates (bug, feature)
  • ✅ PR template
  • ✅ CHANGELOG.md
  • ✅ GitHub release (v1.1.0)
  • ✅ FAQ (10 questions)
  • ✅ 5 badges

Time: 1.5 hours
Commits: 3 commits
Lines: 288 lines added
Result: Production-ready, world-class repo

Full case study: See references/mnemosyne-obsidian-case-study.md for detailed breakdown, lessons learned, and reusable patterns.


Quick Checklist

  • CHANGELOG.md created
  • GitHub release published
  • 5 badges added to README
  • FAQ section added (10+ questions)
  • GitHub Actions CI workflow
  • Test suite created and passing
  • Bug report template
  • Feature request template
  • PR template
  • CI badge shows passing status

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.