[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M76T67ZHTKRSM1PF3AWN09AV":3,"skill-same:01M76T67ZHTKRSM1PF3AWN09AV":78},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":14,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":49,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M76T67ZHTKRSM1PF3AWN09AV","github-repo-management",null,"Clone\u002Fcreate\u002Ffork repos; manage remotes, releases.","SatangThevalue\u002Fai-skills","SatangThevalue","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F17944930?v=4","01M756VHQQ58XSM5PDS03W79VY","Sa-Tang","01M756VHRNYXRY7HM230S4YHVV",0,"MIT","https:\u002F\u002Fgithub.com\u002FSatangThevalue\u002Fai-skills\u002Fblob\u002Fmain\u002Fskills\u002Fgithub\u002Fgithub-repo-management\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: github-repo-management\ndescription: \"Clone\u002Fcreate\u002Ffork repos; manage remotes, releases.\"\nversion: 1.1.0\nauthor: Hermes Agent\nlicense: MIT\nplatforms: [linux, macos, windows]\nmetadata:\n  hermes:\n    reviewed: \\\"2026-06-01 (automated)\\\"\n    tags: [GitHub, Repositories, Git, Releases, Secrets, Configuration]\n    related_skills: [github-auth, github-pr-workflow, github-issues]\n---\n\n# GitHub Repository Management\n\nCreate, clone, fork, configure, and manage GitHub repositories. Each section shows `gh` first, then the `git` + `curl` fallback.\n\n## Prerequisites\n\n- Authenticated with GitHub (see `github-auth` skill)\n\n### Setup\n\n```bash\nif command -v gh &>\u002Fdev\u002Fnull && gh auth status &>\u002Fdev\u002Fnull; then\n  AUTH=\"gh\"\nelse\n  AUTH=\"git\"\n  if [ -z \"$GITHUB_TOKEN\" ]; then\n    if [ -f ~\u002F.hermes\u002F.env ] && grep -q \"^GITHUB_TOKEN=\" ~\u002F.hermes\u002F.env; then\n      GITHUB_TOKEN=$(grep \"^GITHUB_TOKEN=\" ~\u002F.hermes\u002F.env | head -1 | cut -d= -f2 | tr -d '\\n\\r')\n    elif grep -q \"github.com\" ~\u002F.git-credentials 2>\u002Fdev\u002Fnull; then\n      GITHUB_TOKEN=$(grep \"github.com\" ~\u002F.git-credentials 2>\u002Fdev\u002Fnull | head -1 | sed 's|https:\u002F\u002F[^:]*:\\([^@]*\\)@.*|\\1|')\n    fi\n  fi\nfi\n\n# Get your GitHub username (needed for several operations)\nif [ \"$AUTH\" = \"gh\" ]; then\n  GH_USER=$(gh api user --jq '.login')\nelse\n  GH_USER=$(curl -s -H \"Authorization: token $GITHUB_TOKEN\" https:\u002F\u002Fapi.github.com\u002Fuser | python3 -c \"import sys,json; print(json.load(sys.stdin)['login'])\")\nfi\n```\n\nIf you're inside a repo already:\n\n```bash\nREMOTE_URL=$(git remote get-url origin)\nOWNER_REPO=$(echo \"$REMOTE_URL\" | sed -E 's|.*github\\.com[:\u002F]||; s|\\.git$||')\nOWNER=$(echo \"$OWNER_REPO\" | cut -d\u002F -f1)\nREPO=$(echo \"$OWNER_REPO\" | cut -d\u002F -f2)\n```\n\n---\n\n## 1. Cloning Repositories\n\n**Pitfall: Author identity unknown**\nWhen agents clone a repo to a fresh environment (like a temporary workspace or container), `git commit` will fail with `Author identity unknown` because the global git config is missing.\n**Fix**: Always set the local identity before committing in a fresh clone:\n```bash\ngit config user.email \"bot@example.com\"\ngit config user.name \"AI Bot\"\n```\n\n**Pitfall: Find\u002FReplace corrupting git index**\nWhen doing a whole-repo search and replace (e.g. renaming a project), always exclude the `.git\u002F` directory, otherwise you will corrupt the repository and break `git status`.\n**Fix**: `find . -type f -not -path \"*\u002F\\.git\u002F*\" -exec sed -i 's\u002Fold\u002Fnew\u002Fg' {} +`\n\nCloning is pure `git` — works identically either way:\n\n```bash\n# Clone via HTTPS (works with credential helper or token-embedded URL)\ngit clone https:\u002F\u002Fgithub.com\u002Fowner\u002Frepo-name.git\n\n# Clone into a specific directory\ngit clone https:\u002F\u002Fgithub.com\u002Fowner\u002Frepo-name.git .\u002Fmy-local-dir\n\n# Shallow clone (faster for large repos)\ngit clone --depth 1 https:\u002F\u002Fgithub.com\u002Fowner\u002Frepo-name.git\n\n# Clone a specific branch\ngit clone --branch develop https:\u002F\u002Fgithub.com\u002Fowner\u002Frepo-name.git\n\n# Clone via SSH (if SSH is configured)\ngit clone git@github.com:owner\u002Frepo-name.git\n```\n\n**With gh (shorthand):**\n\n```bash\ngh repo clone owner\u002Frepo-name\ngh repo clone owner\u002Frepo-name -- --depth 1\n```\n\n## 2. Creating Repositories\n\n**With gh:**\n\n```bash\n# Create a public repo and clone it\ngh repo create my-new-project --public --clone\n\n# Private, with description and license\ngh repo create my-new-project --private --description \"A useful tool\" --license MIT --clone\n\n# Under an organization\ngh repo create my-org\u002Fmy-new-project --public --clone\n\n# From existing local directory\ncd \u002Fpath\u002Fto\u002Fexisting\u002Fproject\ngh repo create my-project --source . --public --push\n```\n\n**With git + curl:**\n\n```bash\n# Create the remote repo via API\ncurl -s -X POST \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Fuser\u002Frepos \\\n  -d '{\n    \"name\": \"my-new-project\",\n    \"description\": \"A useful tool\",\n    \"private\": false,\n    \"auto_init\": true,\n    \"license_template\": \"mit\"\n  }'\n\n# Clone it\ngit clone https:\u002F\u002Fgithub.com\u002F$GH_USER\u002Fmy-new-project.git\ncd my-new-project\n\n# -- OR -- push an existing local directory to the new repo\ncd \u002Fpath\u002Fto\u002Fexisting\u002Fproject\ngit init\ngit add .\ngit commit -m \"Initial commit\"\ngit remote add origin https:\u002F\u002Fgithub.com\u002F$GH_USER\u002Fmy-new-project.git\ngit push -u origin main\n```\n\nTo create under an organization:\n\n```bash\ncurl -s -X POST \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Forgs\u002Fmy-org\u002Frepos \\\n  -d '{\"name\": \"my-new-project\", \"private\": false}'\n```\n\n### From a Template\n\n**With gh:**\n\n```bash\ngh repo create my-new-app --template owner\u002Ftemplate-repo --public --clone\n```\n\n**With curl:**\n\n```bash\ncurl -s -X POST \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002Fowner\u002Ftemplate-repo\u002Fgenerate \\\n  -d '{\"owner\": \"'\"$GH_USER\"'\", \"name\": \"my-new-app\", \"private\": false}'\n```\n\n## 3. Forking Repositories\n\n**With gh:**\n\n```bash\ngh repo fork owner\u002Frepo-name --clone\n```\n\n**With git + curl:**\n\n```bash\n# Create the fork via API\ncurl -s -X POST \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002Fowner\u002Frepo-name\u002Fforks\n\n# Wait a moment for GitHub to create it, then clone\nsleep 3\ngit clone https:\u002F\u002Fgithub.com\u002F$GH_USER\u002Frepo-name.git\ncd repo-name\n\n# Add the original repo as \"upstream\" remote\ngit remote add upstream https:\u002F\u002Fgithub.com\u002Fowner\u002Frepo-name.git\n```\n\n### Keeping a Fork in Sync\n\n```bash\n# Pure git — works everywhere\ngit fetch upstream\ngit checkout main\ngit merge upstream\u002Fmain\ngit push origin main\n```\n\n**With gh (shortcut):**\n\n```bash\ngh repo sync $GH_USER\u002Frepo-name\n```\n\n## 4. Repository Information\n\n**With gh:**\n\n```bash\ngh repo view owner\u002Frepo-name\ngh repo list --limit 20\ngh search repos \"machine learning\" --language python --sort stars\n```\n\n**With curl:**\n\n```bash\n# View repo details\ncurl -s \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO \\\n  | python3 -c \"\nimport sys, json\nr = json.load(sys.stdin)\nprint(f\\\"Name: {r['full_name']}\\\")\nprint(f\\\"Description: {r['description']}\\\")\nprint(f\\\"Stars: {r['stargazers_count']}  Forks: {r['forks_count']}\\\")\nprint(f\\\"Default branch: {r['default_branch']}\\\")\nprint(f\\\"Language: {r['language']}\\\")\"\n\n# List your repos\ncurl -s \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  \"https:\u002F\u002Fapi.github.com\u002Fuser\u002Frepos?per_page=20&sort=updated\" \\\n  | python3 -c \"\nimport sys, json\nfor r in json.load(sys.stdin):\n    vis = 'private' if r['private'] else 'public'\n    print(f\\\"  {r['full_name']:40}  {vis:8}  {r.get('language', ''):10}  ★{r['stargazers_count']}\\\")\"\n\n# Search repos\ncurl -s \\\n  \"https:\u002F\u002Fapi.github.com\u002Fsearch\u002Frepositories?q=machine+learning+language:python&sort=stars&per_page=10\" \\\n  | python3 -c \"\nimport sys, json\nfor r in json.load(sys.stdin)['items']:\n    print(f\\\"  {r['full_name']:40}  ★{r['stargazers_count']:6}  {r['description'][:60] if r['description'] else ''}\\\")\"\n```\n\n## 5. Repository Settings\n\n**With gh:**\n\n```bash\ngh repo edit --description \"Updated description\" --visibility public\ngh repo edit --enable-wiki=false --enable-issues=true\ngh repo edit --default-branch main\ngh repo edit --add-topic \"machine-learning,python\"\ngh repo edit --enable-auto-merge\n```\n\n**With curl:**\n\n```bash\ncurl -s -X PATCH \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO \\\n  -d '{\n    \"description\": \"Updated description\",\n    \"has_wiki\": false,\n    \"has_issues\": true,\n    \"allow_auto_merge\": true\n  }'\n\n# Update topics\ncurl -s -X PUT \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  -H \"Accept: application\u002Fvnd.github.mercy-preview+json\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Ftopics \\\n  -d '{\"names\": [\"machine-learning\", \"python\", \"automation\"]}'\n```\n\n## 6. Branch Protection\n\n```bash\n# View current protection\ncurl -s \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fbranches\u002Fmain\u002Fprotection\n\n# Set up branch protection\ncurl -s -X PUT \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fbranches\u002Fmain\u002Fprotection \\\n  -d '{\n    \"required_status_checks\": {\n      \"strict\": true,\n      \"contexts\": [\"ci\u002Ftest\", \"ci\u002Flint\"]\n    },\n    \"enforce_admins\": false,\n    \"required_pull_request_reviews\": {\n      \"required_approving_review_count\": 1\n    },\n    \"restrictions\": null\n  }'\n```\n\n## 7. Secrets Management (GitHub Actions)\n\n**With gh:**\n\n```bash\ngh secret set API_KEY --body \"your-secret-value\"\ngh secret set SSH_KEY \u003C ~\u002F.ssh\u002Fid_rsa\ngh secret list\ngh secret delete API_KEY\n```\n\n**With curl:**\n\nSecrets require encryption with the repo's public key — more involved via API:\n\n```bash\n# Get the repo's public key for encrypting secrets\ncurl -s \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Factions\u002Fsecrets\u002Fpublic-key\n\n# Encrypt and set (requires Python with PyNaCl)\npython3 -c \"\nfrom base64 import b64encode\nfrom nacl import encoding, public\nimport json, sys\n\n# Get the public key\nkey_id = '\u003Ckey_id_from_above>'\npublic_key = '\u003Cbase64_key_from_above>'\n\n# Encrypt\nsealed = public.SealedBox(\n    public.PublicKey(public_key.encode('utf-8'), encoding.Base64Encoder)\n).encrypt('your-secret-value'.encode('utf-8'))\nprint(json.dumps({\n    'encrypted_value': b64encode(sealed).decode('utf-8'),\n    'key_id': key_id\n}))\"\n\n# Then PUT the encrypted secret\ncurl -s -X PUT \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Factions\u002Fsecrets\u002FAPI_KEY \\\n  -d '\u003Coutput from python script above>'\n\n# List secrets (names only, values hidden)\ncurl -s \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Factions\u002Fsecrets \\\n  | python3 -c \"\nimport sys, json\nfor s in json.load(sys.stdin)['secrets']:\n    print(f\\\"  {s['name']:30}  updated: {s['updated_at']}\\\")\"\n```\n\nNote: For secrets, `gh secret set` is dramatically simpler. If setting secrets is needed and `gh` isn't available, recommend installing it for just that operation.\n\n## 8. Releases\n\n**With gh:**\n\n```bash\ngh release create v1.0.0 --title \"v1.0.0\" --generate-notes\ngh release create v2.0.0-rc1 --draft --prerelease --generate-notes\ngh release create v1.0.0 .\u002Fdist\u002Fbinary --title \"v1.0.0\" --notes \"Release notes\"\ngh release list\ngh release download v1.0.0 --dir .\u002Fdownloads\n```\n\n**With curl:**\n\n```bash\n# Create a release\ncurl -s -X POST \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Freleases \\\n  -d '{\n    \"tag_name\": \"v1.0.0\",\n    \"name\": \"v1.0.0\",\n    \"body\": \"## Changelog\\n- Feature A\\n- Bug fix B\",\n    \"draft\": false,\n    \"prerelease\": false,\n    \"generate_release_notes\": true\n  }'\n\n# List releases\ncurl -s \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Freleases \\\n  | python3 -c \"\nimport sys, json\nfor r in json.load(sys.stdin):\n    tag = r.get('tag_name', 'no tag')\n    print(f\\\"  {tag:15}  {r['name']:30}  {'draft' if r['draft'] else 'published'}\\\")\"\n\n# Upload a release asset (binary file)\nRELEASE_ID=\u003Cid_from_create_response>\ncurl -s -X POST \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  -H \"Content-Type: application\u002Foctet-stream\" \\\n  \"https:\u002F\u002Fuploads.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Freleases\u002F$RELEASE_ID\u002Fassets?name=binary-amd64\" \\\n  --data-binary @.\u002Fdist\u002Fbinary-amd64\n```\n\n## 9. GitHub Actions Workflows\n\n**With gh:**\n\n```bash\ngh workflow list\ngh run list --limit 10\ngh run view \u003CRUN_ID>\ngh run view \u003CRUN_ID> --log-failed\ngh run rerun \u003CRUN_ID>\ngh run rerun \u003CRUN_ID> --failed\ngh workflow run ci.yml --ref main\ngh workflow run deploy.yml -f environment=staging\n```\n\n**With curl:**\n\n```bash\n# List workflows\ncurl -s \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Factions\u002Fworkflows \\\n  | python3 -c \"\nimport sys, json\nfor w in json.load(sys.stdin)['workflows']:\n    print(f\\\"  {w['id']:10}  {w['name']:30}  {w['state']}\\\")\"\n\n# List recent runs\ncurl -s \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Factions\u002Fruns?per_page=10\" \\\n  | python3 -c \"\nimport sys, json\nfor r in json.load(sys.stdin)['workflow_runs']:\n    print(f\\\"  Run {r['id']}  {r['name']:30}  {r['conclusion'] or r['status']}\\\")\"\n\n# Download failed run logs\nRUN_ID=\u003Crun_id>\ncurl -s -L \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Factions\u002Fruns\u002F$RUN_ID\u002Flogs \\\n  -o \u002Ftmp\u002Fci-logs.zip\ncd \u002Ftmp && unzip -o ci-logs.zip -d ci-logs\n\n# Re-run a failed workflow\ncurl -s -X POST \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Factions\u002Fruns\u002F$RUN_ID\u002Frerun\n\n# Re-run only failed jobs\ncurl -s -X POST \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Factions\u002Fruns\u002F$RUN_ID\u002Frerun-failed-jobs\n\n# Trigger a workflow manually (workflow_dispatch)\nWORKFLOW_ID=\u003Cworkflow_id_or_filename>\ncurl -s -X POST \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Factions\u002Fworkflows\u002F$WORKFLOW_ID\u002Fdispatches \\\n  -d '{\"ref\": \"main\", \"inputs\": {\"environment\": \"staging\"}}'\n```\n\n## 10. Gists\n\n**With gh:**\n\n```bash\ngh gist create script.py --public --desc \"Useful script\"\ngh gist list\n```\n\n**With curl:**\n\n```bash\n# Create a gist\ncurl -s -X POST \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Fgists \\\n  -d '{\n    \"description\": \"Useful script\",\n    \"public\": true,\n    \"files\": {\n      \"script.py\": {\"content\": \"print(\\\"hello\\\")\"}\n    }\n  }'\n\n# List your gists\ncurl -s \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Fgists \\\n  | python3 -c \"\nimport sys, json\nfor g in json.load(sys.stdin):\n    files = ', '.join(g['files'].keys())\n    print(f\\\"  {g['id']}  {g['description'] or '(no desc)':40}  {files}\\\")\"\n```\n\n## Quick Reference Table\n\n| Action | gh | git + curl |\n|--------|-----|-----------|\n| Clone | `gh repo clone o\u002Fr` | `git clone https:\u002F\u002Fgithub.com\u002Fo\u002Fr.git` |\n| Create repo | `gh repo create name --public` | `curl POST \u002Fuser\u002Frepos` |\n| Fork | `gh repo fork o\u002Fr --clone` | `curl POST \u002Frepos\u002Fo\u002Fr\u002Fforks` + `git clone` |\n| Repo info | `gh repo view o\u002Fr` | `curl GET \u002Frepos\u002Fo\u002Fr` |\n| Edit settings | `gh repo edit --...` | `curl PATCH \u002Frepos\u002Fo\u002Fr` |\n| Create release | `gh release create v1.0` | `curl POST \u002Frepos\u002Fo\u002Fr\u002Freleases` |\n| List workflows | `gh workflow list` | `curl GET \u002Frepos\u002Fo\u002Fr\u002Factions\u002Fworkflows` |\n| Rerun CI | `gh run rerun ID` | `curl POST \u002Frepos\u002Fo\u002Fr\u002Factions\u002Fruns\u002FID\u002Frerun` |\n| Set secret | `gh secret set KEY` | `curl PUT \u002Frepos\u002Fo\u002Fr\u002Factions\u002Fsecrets\u002FKEY` (+ encryption) |\n","# GitHub Repository Management\n\nCreate, clone, fork, configure, and manage GitHub repositories. Each section shows `gh` first, then the `git` + `curl` fallback.\n\n## Prerequisites\n\n- Authenticated with GitHub (see `github-auth` skill)\n\n### Setup\n\n```bash\nif command -v gh &>\u002Fdev\u002Fnull && gh auth status &>\u002Fdev\u002Fnull; then\n  AUTH=\"gh\"\nelse\n  AUTH=\"git\"\n  if [ -z \"$GITHUB_TOKEN\" ]; then\n    if [ -f ~\u002F.hermes\u002F.env ] && grep -q \"^GITHUB_TOKEN=\" ~\u002F.hermes\u002F.env; then\n      GITHUB_TOKEN=$(grep \"^GITHUB_TOKEN=\" ~\u002F.hermes\u002F.env | head -1 | cut -d= -f2 | tr -d '\\n\\r')\n    elif grep -q \"github.com\" ~\u002F.git-credentials 2>\u002Fdev\u002Fnull; then\n      GITHUB_TOKEN=$(grep \"github.com\" ~\u002F.git-credentials 2>\u002Fdev\u002Fnull | head -1 | sed 's|https:\u002F\u002F[^:]*:\\([^@]*\\)@.*|\\1|')\n    fi\n  fi\nfi\n\n# Get your GitHub username (needed for several operations)\nif [ \"$AUTH\" = \"gh\" ]; then\n  GH_USER=$(gh api user --jq '.login')\nelse\n  GH_USER=$(curl -s -H \"Authorization: token $GITHUB_TOKEN\" https:\u002F\u002Fapi.github.com\u002Fuser | python3 -c \"import sys,json; print(json.load(sys.stdin)['login'])\")\nfi\n```\n\nIf you're inside a repo already:\n\n```bash\nREMOTE_URL=$(git remote get-url origin)\nOWNER_REPO=$(echo \"$REMOTE_URL\" | sed -E 's|.*github\\.com[:\u002F]||; s|\\.git$||')\nOWNER=$(echo \"$OWNER_REPO\" | cut -d\u002F -f1)\nREPO=$(echo \"$OWNER_REPO\" | cut -d\u002F -f2)\n```\n\n---\n\n## 1. Cloning Repositories\n\n**Pitfall: Author identity unknown**\nWhen agents clone a repo to a fresh environment (like a temporary workspace or container), `git commit` will fail with `Author identity unknown` because the global git config is missing.\n**Fix**: Always set the local identity before committing in a fresh clone:\n```bash\ngit config user.email \"bot@example.com\"\ngit config user.name \"AI Bot\"\n```\n\n**Pitfall: Find\u002FReplace corrupting git index**\nWhen doing a whole-repo search and replace (e.g. renaming a project), always exclude the `.git\u002F` directory, otherwise you will corrupt the repository and break `git status`.\n**Fix**: `find . -type f -not -path \"*\u002F\\.git\u002F*\" -exec sed -i 's\u002Fold\u002Fnew\u002Fg' {} +`\n\nCloning is pure `git` — works identically either way:\n\n```bash\n# Clone via HTTPS (works with credential helper or token-embedded URL)\ngit clone https:\u002F\u002Fgithub.com\u002Fowner\u002Frepo-name.git\n\n# Clone into a specific directory\ngit clone https:\u002F\u002Fgithub.com\u002Fowner\u002Frepo-name.git .\u002Fmy-local-dir\n\n# Shallow clone (faster for large repos)\ngit clone --depth 1 https:\u002F\u002Fgithub.com\u002Fowner\u002Frepo-name.git\n\n# Clone a specific branch\ngit clone --branch develop https:\u002F\u002Fgithub.com\u002Fowner\u002Frepo-name.git\n\n# Clone via SSH (if SSH is configured)\ngit clone git@github.com:owner\u002Frepo-name.git\n```\n\n**With gh (shorthand):**\n\n```bash\ngh repo clone owner\u002Frepo-name\ngh repo clone owner\u002Frepo-name -- --depth 1\n```\n\n## 2. Creating Repositories\n\n**With gh:**\n\n```bash\n# Create a public repo and clone it\ngh repo create my-new-project --public --clone\n\n# Private, with description and license\ngh repo create my-new-project --private --description \"A useful tool\" --license MIT --clone\n\n# Under an organization\ngh repo create my-org\u002Fmy-new-project --public --clone\n\n# From existing local directory\ncd \u002Fpath\u002Fto\u002Fexisting\u002Fproject\ngh repo create my-project --source . --public --push\n```\n\n**With git + curl:**\n\n```bash\n# Create the remote repo via API\ncurl -s -X POST \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Fuser\u002Frepos \\\n  -d '{\n    \"name\": \"my-new-project\",\n    \"description\": \"A useful tool\",\n    \"private\": false,\n    \"auto_init\": true,\n    \"license_template\": \"mit\"\n  }'\n\n# Clone it\ngit clone https:\u002F\u002Fgithub.com\u002F$GH_USER\u002Fmy-new-project.git\ncd my-new-project\n\n# -- OR -- push an existing local directory to the new repo\ncd \u002Fpath\u002Fto\u002Fexisting\u002Fproject\ngit init\ngit add .\ngit commit -m \"Initial commit\"\ngit remote add origin https:\u002F\u002Fgithub.com\u002F$GH_USER\u002Fmy-new-project.git\ngit push -u origin main\n```\n\nTo create under an organization:\n\n```bash\ncurl -s -X POST \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Forgs\u002Fmy-org\u002Frepos \\\n  -d '{\"name\": \"my-new-project\", \"private\": false}'\n```\n\n### From a Template\n\n**With gh:**\n\n```bash\ngh repo create my-new-app --template owner\u002Ftemplate-repo --public --clone\n```\n\n**With curl:**\n\n```bash\ncurl -s -X POST \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002Fowner\u002Ftemplate-repo\u002Fgenerate \\\n  -d '{\"owner\": \"'\"$GH_USER\"'\", \"name\": \"my-new-app\", \"private\": false}'\n```\n\n## 3. Forking Repositories\n\n**With gh:**\n\n```bash\ngh repo fork owner\u002Frepo-name --clone\n```\n\n**With git + curl:**\n\n```bash\n# Create the fork via API\ncurl -s -X POST \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002Fowner\u002Frepo-name\u002Fforks\n\n# Wait a moment for GitHub to create it, then clone\nsleep 3\ngit clone https:\u002F\u002Fgithub.com\u002F$GH_USER\u002Frepo-name.git\ncd repo-name\n\n# Add the original repo as \"upstream\" remote\ngit remote add upstream https:\u002F\u002Fgithub.com\u002Fowner\u002Frepo-name.git\n```\n\n### Keeping a Fork in Sync\n\n```bash\n# Pure git — works everywhere\ngit fetch upstream\ngit checkout main\ngit merge upstream\u002Fmain\ngit push origin main\n```\n\n**With gh (shortcut):**\n\n```bash\ngh repo sync $GH_USER\u002Frepo-name\n```\n\n## 4. Repository Information\n\n**With gh:**\n\n```bash\ngh repo view owner\u002Frepo-name\ngh repo list --limit 20\ngh search repos \"machine learning\" --language python --sort stars\n```\n\n**With curl:**\n\n```bash\n# View repo details\ncurl -s \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO \\\n  | python3 -c \"\nimport sys, json\nr = json.load(sys.stdin)\nprint(f\\\"Name: {r['full_name']}\\\")\nprint(f\\\"Description: {r['description']}\\\")\nprint(f\\\"Stars: {r['stargazers_count']}  Forks: {r['forks_count']}\\\")\nprint(f\\\"Default branch: {r['default_branch']}\\\")\nprint(f\\\"Language: {r['language']}\\\")\"\n\n# List your repos\ncurl -s \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  \"https:\u002F\u002Fapi.github.com\u002Fuser\u002Frepos?per_page=20&sort=updated\" \\\n  | python3 -c \"\nimport sys, json\nfor r in json.load(sys.stdin):\n    vis = 'private' if r['private'] else 'public'\n    print(f\\\"  {r['full_name']:40}  {vis:8}  {r.get('language', ''):10}  ★{r['stargazers_count']}\\\")\"\n\n# Search repos\ncurl -s \\\n  \"https:\u002F\u002Fapi.github.com\u002Fsearch\u002Frepositories?q=machine+learning+language:python&sort=stars&per_page=10\" \\\n  | python3 -c \"\nimport sys, json\nfor r in json.load(sys.stdin)['items']:\n    print(f\\\"  {r['full_name']:40}  ★{r['stargazers_count']:6}  {r['description'][:60] if r['description'] else ''}\\\")\"\n```\n\n## 5. Repository Settings\n\n**With gh:**\n\n```bash\ngh repo edit --description \"Updated description\" --visibility public\ngh repo edit --enable-wiki=false --enable-issues=true\ngh repo edit --default-branch main\ngh repo edit --add-topic \"machine-learning,python\"\ngh repo edit --enable-auto-merge\n```\n\n**With curl:**\n\n```bash\ncurl -s -X PATCH \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO \\\n  -d '{\n    \"description\": \"Updated description\",\n    \"has_wiki\": false,\n    \"has_issues\": true,\n    \"allow_auto_merge\": true\n  }'\n\n# Update topics\ncurl -s -X PUT \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  -H \"Accept: application\u002Fvnd.github.mercy-preview+json\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Ftopics \\\n  -d '{\"names\": [\"machine-learning\", \"python\", \"automation\"]}'\n```\n\n## 6. Branch Protection\n\n```bash\n# View current protection\ncurl -s \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fbranches\u002Fmain\u002Fprotection\n\n# Set up branch protection\ncurl -s -X PUT \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fbranches\u002Fmain\u002Fprotection \\\n  -d '{\n    \"required_status_checks\": {\n      \"strict\": true,\n      \"contexts\": [\"ci\u002Ftest\", \"ci\u002Flint\"]\n    },\n    \"enforce_admins\": false,\n    \"required_pull_request_reviews\": {\n      \"required_approving_review_count\": 1\n    },\n    \"restrictions\": null\n  }'\n```\n\n## 7. Secrets Management (GitHub Actions)\n\n**With gh:**\n\n```bash\ngh secret set API_KEY --body \"your-secret-value\"\ngh secret set SSH_KEY \u003C ~\u002F.ssh\u002Fid_rsa\ngh secret list\ngh secret delete API_KEY\n```\n\n**With curl:**\n\nSecrets require encryption with the repo's public key — more involved via API:\n\n```bash\n# Get the repo's public key for encrypting secrets\ncurl -s \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Factions\u002Fsecrets\u002Fpublic-key\n\n# Encrypt and set (requires Python with PyNaCl)\npython3 -c \"\nfrom base64 import b64encode\nfrom nacl import encoding, public\nimport json, sys\n\n# Get the public key\nkey_id = '\u003Ckey_id_from_above>'\npublic_key = '\u003Cbase64_key_from_above>'\n\n# Encrypt\nsealed = public.SealedBox(\n    public.PublicKey(public_key.encode('utf-8'), encoding.Base64Encoder)\n).encrypt('your-secret-value'.encode('utf-8'))\nprint(json.dumps({\n    'encrypted_value': b64encode(sealed).decode('utf-8'),\n    'key_id': key_id\n}))\"\n\n# Then PUT the encrypted secret\ncurl -s -X PUT \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Factions\u002Fsecrets\u002FAPI_KEY \\\n  -d '\u003Coutput from python script above>'\n\n# List secrets (names only, values hidden)\ncurl -s \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Factions\u002Fsecrets \\\n  | python3 -c \"\nimport sys, json\nfor s in json.load(sys.stdin)['secrets']:\n    print(f\\\"  {s['name']:30}  updated: {s['updated_at']}\\\")\"\n```\n\nNote: For secrets, `gh secret set` is dramatically simpler. If setting secrets is needed and `gh` isn't available, recommend installing it for just that operation.\n\n## 8. Releases\n\n**With gh:**\n\n```bash\ngh release create v1.0.0 --title \"v1.0.0\" --generate-notes\ngh release create v2.0.0-rc1 --draft --prerelease --generate-notes\ngh release create v1.0.0 .\u002Fdist\u002Fbinary --title \"v1.0.0\" --notes \"Release notes\"\ngh release list\ngh release download v1.0.0 --dir .\u002Fdownloads\n```\n\n**With curl:**\n\n```bash\n# Create a release\ncurl -s -X POST \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Freleases \\\n  -d '{\n    \"tag_name\": \"v1.0.0\",\n    \"name\": \"v1.0.0\",\n    \"body\": \"## Changelog\\n- Feature A\\n- Bug fix B\",\n    \"draft\": false,\n    \"prerelease\": false,\n    \"generate_release_notes\": true\n  }'\n\n# List releases\ncurl -s \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Freleases \\\n  | python3 -c \"\nimport sys, json\nfor r in json.load(sys.stdin):\n    tag = r.get('tag_name', 'no tag')\n    print(f\\\"  {tag:15}  {r['name']:30}  {'draft' if r['draft'] else 'published'}\\\")\"\n\n# Upload a release asset (binary file)\nRELEASE_ID=\u003Cid_from_create_response>\ncurl -s -X POST \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  -H \"Content-Type: application\u002Foctet-stream\" \\\n  \"https:\u002F\u002Fuploads.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Freleases\u002F$RELEASE_ID\u002Fassets?name=binary-amd64\" \\\n  --data-binary @.\u002Fdist\u002Fbinary-amd64\n```\n\n## 9. GitHub Actions Workflows\n\n**With gh:**\n\n```bash\ngh workflow list\ngh run list --limit 10\ngh run view \u003CRUN_ID>\ngh run view \u003CRUN_ID> --log-failed\ngh run rerun \u003CRUN_ID>\ngh run rerun \u003CRUN_ID> --failed\ngh workflow run ci.yml --ref main\ngh workflow run deploy.yml -f environment=staging\n```\n\n**With curl:**\n\n```bash\n# List workflows\ncurl -s \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Factions\u002Fworkflows \\\n  | python3 -c \"\nimport sys, json\nfor w in json.load(sys.stdin)['workflows']:\n    print(f\\\"  {w['id']:10}  {w['name']:30}  {w['state']}\\\")\"\n\n# List recent runs\ncurl -s \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Factions\u002Fruns?per_page=10\" \\\n  | python3 -c \"\nimport sys, json\nfor r in json.load(sys.stdin)['workflow_runs']:\n    print(f\\\"  Run {r['id']}  {r['name']:30}  {r['conclusion'] or r['status']}\\\")\"\n\n# Download failed run logs\nRUN_ID=\u003Crun_id>\ncurl -s -L \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Factions\u002Fruns\u002F$RUN_ID\u002Flogs \\\n  -o \u002Ftmp\u002Fci-logs.zip\ncd \u002Ftmp && unzip -o ci-logs.zip -d ci-logs\n\n# Re-run a failed workflow\ncurl -s -X POST \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Factions\u002Fruns\u002F$RUN_ID\u002Frerun\n\n# Re-run only failed jobs\ncurl -s -X POST \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Factions\u002Fruns\u002F$RUN_ID\u002Frerun-failed-jobs\n\n# Trigger a workflow manually (workflow_dispatch)\nWORKFLOW_ID=\u003Cworkflow_id_or_filename>\ncurl -s -X POST \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Factions\u002Fworkflows\u002F$WORKFLOW_ID\u002Fdispatches \\\n  -d '{\"ref\": \"main\", \"inputs\": {\"environment\": \"staging\"}}'\n```\n\n## 10. Gists\n\n**With gh:**\n\n```bash\ngh gist create script.py --public --desc \"Useful script\"\ngh gist list\n```\n\n**With curl:**\n\n```bash\n# Create a gist\ncurl -s -X POST \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Fgists \\\n  -d '{\n    \"description\": \"Useful script\",\n    \"public\": true,\n    \"files\": {\n      \"script.py\": {\"content\": \"print(\\\"hello\\\")\"}\n    }\n  }'\n\n# List your gists\ncurl -s \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  https:\u002F\u002Fapi.github.com\u002Fgists \\\n  | python3 -c \"\nimport sys, json\nfor g in json.load(sys.stdin):\n    files = ', '.join(g['files'].keys())\n    print(f\\\"  {g['id']}  {g['description'] or '(no desc)':40}  {files}\\\")\"\n```\n\n## Quick Reference Table\n\n| Action | gh | git + curl |\n|--------|-----|-----------|\n| Clone | `gh repo clone o\u002Fr` | `git clone https:\u002F\u002Fgithub.com\u002Fo\u002Fr.git` |\n| Create repo | `gh repo create name --public` | `curl POST \u002Fuser\u002Frepos` |\n| Fork | `gh repo fork o\u002Fr --clone` | `curl POST \u002Frepos\u002Fo\u002Fr\u002Fforks` + `git clone` |\n| Repo info | `gh repo view o\u002Fr` | `curl GET \u002Frepos\u002Fo\u002Fr` |\n| Edit settings | `gh repo edit --...` | `curl PATCH \u002Frepos\u002Fo\u002Fr` |\n| Create release | `gh release create v1.0` | `curl POST \u002Frepos\u002Fo\u002Fr\u002Freleases` |\n| List workflows | `gh workflow list` | `curl GET \u002Frepos\u002Fo\u002Fr\u002Factions\u002Fworkflows` |\n| Rerun CI | `gh run rerun ID` | `curl POST \u002Frepos\u002Fo\u002Fr\u002Factions\u002Fruns\u002FID\u002Frerun` |\n| Set secret | `gh secret set KEY` | `curl PUT \u002Frepos\u002Fo\u002Fr\u002Factions\u002Fsecrets\u002FKEY` (+ encryption) |\n",{"name":5,"author":24,"license":15,"version":25,"metadata":26,"platforms":40,"description":7},"Hermes Agent","1.1.0",{"hermes":27},{"tags":28,"reviewed":35,"related_skills":36},[29,30,31,32,33,34],"GitHub","Repositories","Git","Releases","Secrets","Configuration","\\\"2026-06-01 (automated)\\\"",[37,38,39],"github-auth","github-pr-workflow","github-issues",[41,42,43],"linux","macos","windows","main","236825fbf4e5956a8cd2b0bf843494f0a5dfaf04","skills\u002Fgithub\u002Fgithub-repo-management","https:\u002F\u002Fgithub.com\u002FSatangThevalue\u002Fai-skills","https:\u002F\u002Fgithub.com\u002FSatangThevalue","https:\u002F\u002Fwww.linkedin.com\u002Fin\u002Fsatangthevalue\u002F","Hi, I'm Sa-Tang. 🖐️🖐️🖐️\r\nThanks for following.\r\nสวัสดีครับ สตังค์ครับผม\r\nขอบคุณหรับการติดตามครับ","2026-10-10 12:10:40",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add SatangThevalue\u002Fai-skills --skill github-repo-management",{"tool":58,"command":59},"bunx","bunx skills add SatangThevalue\u002Fai-skills --skill github-repo-management",{"tool":61,"command":62},"pnpm","pnpm dlx skills add SatangThevalue\u002Fai-skills --skill github-repo-management","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSatangThevalue\u002Fai-skills\u002Fblob\u002Fmain\u002Fskills\u002Fgithub\u002Fgithub-repo-management\u002FSKILL.md",true,[66,72],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fgithub-api-cheatsheet.md","REFERENCE","参考文档",6092,"https:\u002F\u002Fgithub.com\u002FSatangThevalue\u002Fai-skills\u002Fblob\u002Fmain\u002Fskills\u002Fgithub\u002Fgithub-repo-management\u002Freferences\u002Fgithub-api-cheatsheet.md",{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"SKILL.md.bak","OTHER","其他",13683,"https:\u002F\u002Fgithub.com\u002FSatangThevalue\u002Fai-skills\u002Fblob\u002Fmain\u002Fskills\u002Fgithub\u002Fgithub-repo-management\u002FSKILL.md.bak",[79,86,93,100,107,114],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M76TQY0W54NCMRVE9HB8MMTA","writing-plans","Write implementation plans: bite-sized tasks, paths, code.","https:\u002F\u002Fgithub.com\u002FSatangThevalue\u002Fai-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M76TNN9AYY91KD4DT415K1FF","subagent-driven-development","Execute plans via delegate_task subagents (2-stage review).","https:\u002F\u002Fgithub.com\u002FSatangThevalue\u002Fai-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Fsubagent-driven-development\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M76TME6SXP9SYJZCXX5FFZHR","react-composition-2026","Teaches modern React composition patterns for 2025\u002F2026. Use when designing component APIs, building shared UI libraries, or refactoring prop-heavy components.","https:\u002F\u002Fgithub.com\u002FSatangThevalue\u002Fai-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Freact-composition-2026\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M76TMAR2D5G9BKZWGEFJKWT2","react-2026","Provides a comprehensive guide to the modern React 2026 stack. Use when starting a new React project or modernizing an existing one with current frameworks, build tools, routing, state management, or AI integration.","https:\u002F\u002Fgithub.com\u002FSatangThevalue\u002Fai-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Freact-2026\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":19},"01M76TM2FA8ZFZR1S6ZM34WFFK","plan","Plan mode: write markdown plan to .hermes\u002Fplans\u002F, no exec.","https:\u002F\u002Fgithub.com\u002FSatangThevalue\u002Fai-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Fplan\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":19},"01M76TJVNAWDZ7DYQK3ZS0X09J","hermes-s6-container-supervision","Modify, debug, or extend the s6-overlay supervision tree inside the Hermes Agent Docker image — adding new services, debugging profile gateways, understanding the Architecture B main-program pattern.","https:\u002F\u002Fgithub.com\u002FSatangThevalue\u002Fai-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Fhermes-s6-container-supervision\u002FSKILL.md",[],[]]