skills/automation-skills/organize-github-repos/SKILL.md
Verify and maintain alignment between Supabase (Maverick Town) and connected GitHub repositories to prevent data loss from miscommunication. Use when you need to audit repository states, detect misalignments, or ensure data integrity across GitHub and Supabase.
npx skillsauth add abcnuts/manus-skills organize-github-reposInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill provides comprehensive tools for verifying and maintaining alignment between Supabase (Maverick Town) databases and connected GitHub repositories. It prevents data loss by detecting miscommunications, validating synchronization states, and providing auto-healing capabilities when discrepancies are found.
Use this skill when:
Purpose: Compare Supabase records with actual GitHub repository states
Process:
MCP Tools Used:
supabase MCP: Query repository tablesgithub MCP (via gh CLI): Fetch repository detailsExample Command:
manus-mcp-cli tool call supabase_query --server supabase --input '{
"query": "SELECT * FROM repositories WHERE active = true"
}'
Purpose: Ensure critical data fields are populated and valid
Checks:
Auto-Healing Actions:
Purpose: Store and query historical repository states to detect patterns
Implementation:
Storage Location: /home/ubuntu/skills/organize-github-repos/rag-data/
Example Queries:
Purpose: Create comprehensive reports of current alignment status
Report Sections:
Output Formats:
# 1. Fetch all repositories from Supabase
manus-mcp-cli tool call supabase_query --server supabase --input '{
"query": "SELECT id, name, github_url, last_sync FROM repositories"
}'
# 2. For each repo, verify GitHub state
gh repo view <owner>/<repo> --json name,url,visibility,defaultBranchRef
# 3. Compare and generate report
python3 /home/ubuntu/skills/organize-github-repos/scripts/verify_alignment.py
# 4. Review discrepancies
cat /tmp/alignment-report.md
Start Here: What do you need to do?
"I want to verify everything is aligned" → Run Full Audit (see Quick Start above)
"I suspect a specific repo is out of sync" → Run Single Repository Check:
python3 scripts/check_single_repo.py <repo-name>
"I need to find all broken connections" → Run Connection Health Check:
python3 scripts/health_check.py --mode=connections
"I want to see historical sync patterns" → Query RAG Database:
python3 scripts/query_history.py "show sync failures last 7 days"
"I need to fix misalignments automatically" → Run Auto-Heal:
python3 scripts/auto_heal.py --dry-run # Preview changes
python3 scripts/auto_heal.py --execute # Apply fixes
Purpose: Main verification script that compares Supabase and GitHub states
Usage:
python3 scripts/verify_alignment.py [--output-format=markdown|json|csv]
What it does:
Purpose: Focused check on a single repository
Usage:
python3 scripts/check_single_repo.py <repo-name> [--fix]
What it does:
--fix flag is usedPurpose: System-wide health check for connections and integrations
Usage:
python3 scripts/health_check.py [--mode=all|connections|webhooks|tokens]
What it does:
Purpose: Query RAG database for historical patterns
Usage:
python3 scripts/query_history.py "<natural language query>"
Examples:
python3 scripts/query_history.py "repos with sync failures last week"
python3 scripts/query_history.py "when did repo X last update"
python3 scripts/query_history.py "show all deleted repos"
Purpose: Automatically fix detected misalignments
Usage:
python3 scripts/auto_heal.py [--dry-run] [--execute] [--repo=<name>]
What it does:
Auto-Healing Rules:
Documentation of the Maverick Town Supabase schema, including:
repositories table structuresync_logs table structureGitHub API endpoints and MCP tool mappings:
Catalog of known misalignment patterns and solutions:
Location: /home/ubuntu/skills/organize-github-repos/rag-data/
Structure:
rag-data/
├── snapshots/ # Historical repository state snapshots
│ └── YYYY-MM-DD/
│ └── repo-name.json
├── discrepancies/ # Logged misalignments
│ └── YYYY-MM-DD.jsonl
└── resolutions/ # Applied fixes and outcomes
└── YYYY-MM-DD.jsonl
Snapshot Format:
{
"timestamp": "2026-02-10T12:00:00Z",
"repo_name": "example-repo",
"supabase_state": { ... },
"github_state": { ... },
"discrepancies": [ ... ]
}
resolutions/ for future reference"MCP connection failed"
manus-mcp-cli tool list --server supabasegh auth status"No discrepancies found but I know there are issues"
references/supabase_schema.md"Auto-heal made incorrect changes"
rag-data/resolutions/ to see what was changedscripts/auto_heal.py"RAG queries returning no results"
ls rag-data/snapshots/tools
Generate comprehensive demonstrations showing how to access projects and work across different environments (Manus terminals, personal computers, team collaboration). Use when users ask "how do I access this from another terminal/computer", "how do I share this with my team", "how do I get this on my Mac", or need clarification on Manus persistence vs GitHub usage.
development
Use when you have a spec or requirements for a multi-step task, before touching code
data-ai
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
development
Use when implementing any feature or bugfix, before writing implementation code