[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6E2Z704ZB1SJ0MB9EXZ53K6":3,"skill-same:01M6E2Z704ZB1SJ0MB9EXZ53K6":77},{"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":42,"linkOnly":43,"markdownContent":44,"markdownBody":45,"frontMatter":46,"refName":53,"commitSha":54,"skillDirectory":55,"forksCount":56,"repositoryHtmlUrl":57,"repositoryHomepageUrl":58,"ownerHtmlUrl":59,"ownerBlogUrl":60,"ownerDescription":61,"updatedAt":62,"install":63,"resources":76},"01M6E2Z704ZB1SJ0MB9EXZ53K6","pave-contribute",null,"Contribute a session learning back to the upstream tonone repo. Scans the conversation, extracts the single most reusable insight, asks one question, creates the PR. Use when asked to \"contribute a learning\", \"share a discovery\", \"improve tonone\", or \"submit a fix upstream\".","tonone-ai\u002Ftonone","tonone-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F252718527?v=4","01M6E0753HQVTQWJCQCV4AHAAS","tonone.ai","01M6E075828PMH1WMX0VEB5SV8",77,"MIT","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fskills\u002Fpave-contribute\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],"pave","pave contribute","contribute","edit","when","for","devex","submit","platform","back","conversation","session","fix","hello","write","read","question","repo","improve","Bash","discovery","code","pr","2026-11-10 10:12:30",false,"---\nname: pave-contribute\ndescription: Contribute a session learning back to the upstream tonone repo. Scans the conversation, extracts the single most reusable insight, asks one question, creates the PR. Use when asked to \"contribute a learning\", \"share a discovery\", \"improve tonone\", or \"submit a fix upstream\".\nallowed-tools: Read, Write, Edit, Bash, AskUserQuestion\nversion: 0.9.9\nauthor: tonone-ai \u003Chello@tonone.ai>\nlicense: MIT\ncompatibility: Designed for Claude Code\ntags: [engineering, platform, devex, contribute]\n---\n\n\u003C!-- GENERATED from SKILL.md.tmpl by scripts\u002Fgen-skill-docs.py — edit the .tmpl or skills\u002F_sections\u002F*.md, not this file -->\n\n# Contribute to tonone\n\nYou are Pave. Scan the session. Find the learning. One question. PR. Done.\n\n---\n\n## Step 1 — Extract the learning (no user input needed)\n\nRead the current conversation and find the single most reusable insight. Look for:\n\n- A **routing gap**: user's request didn't match any skill, they worked around it\n- **Agent corrections**: user corrected the same agent 2+ times for the same pattern\n- A **missing skill**: user built something that should exist as a `\u002Fskill-name`\n- A **prompt improvement**: agent's default behavior needed explicit correction\n\nScore candidates by reusability (would this help ANY tonone user, not just this project?).\nPick the highest-scoring one. If nothing qualifies, print:\n\n```\n╭─ PAVE ── contribute ─────────────────────────────╮\n  No reusable learnings found in this session.\n╰──────────────────────────────────────────────────╯\n```\n\n...and exit.\n\n---\n\n## Step 2 — Map to a file change\n\nDetermine exactly what to change in the tonone repo:\n\n| Learning type      | File to change                                 |\n| ------------------ | ---------------------------------------------- |\n| routing gap        | `CLAUDE.md` — add routing rule                 |\n| agent correction   | `agents\u002F\u003Cname>.md` — patch system prompt       |\n| missing skill      | `skills\u002F\u003Cname>\u002FSKILL.md` — new skill stub      |\n| prompt improvement | `agents\u002F\u003Cname>.md` or `skills\u002F\u003Cname>\u002FSKILL.md` |\n\nDraft the exact diff in memory. Keep it minimal — one logical change.\n\n---\n\n## Step 3 — Sanitize (automatic, no asking)\n\nStrip all user-specific context from the proposed change:\n\n- Project\u002Fcompany\u002Fdomain names → `\u003Cproject>` \u002F `\u003Ccompany>`\n- Personal file paths → `\u003Cpath>`\n- Any credentials or tokens → `\u003Credacted>`\n\n---\n\n## Step 4 — One question\n\nUse AskUserQuestion with exactly this format:\n\n> **Learning found:** `\u003Cone-line description of the improvement>`\n> **Change:** `\u003Cfile>` — `\u003Cwhat changes, in 10 words or less>`\n>\n> Contribute this to tonone?\n\nOptions: **Yes** \u002F **No**\n\nIf No: exit silently.\n\n---\n\n## Step 5 — Create the PR (no further questions)\n\n```bash\nTONONE_TMP=$(mktemp -d)\ngit clone https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone \"$TONONE_TMP\u002Ftonone\" --depth=1 --quiet\ncd \"$TONONE_TMP\u002Ftonone\"\n\ngh repo fork --remote-name=fork --clone=false 2>\u002Fdev\u002Fnull || true\nGH_USER=$(gh api user --jq .login)\ngit remote add fork \"https:\u002F\u002Fgithub.com\u002F${GH_USER}\u002Ftonone.git\" 2>\u002Fdev\u002Fnull || \\\n  git remote set-url fork \"https:\u002F\u002Fgithub.com\u002F${GH_USER}\u002Ftonone.git\"\n\nBRANCH=\"contribute\u002F$(echo '\u003Cslug>' | tr ' ' '-')-$(date +%Y%m%d)\"\ngit checkout -b \"$BRANCH\"\n```\n\nApply the diff to the appropriate file. Then:\n\n```bash\ngit add -A\ngit commit -m \"contribute: \u003Cone-line description>\"\ngit push fork \"$BRANCH\" --quiet\n\nPR_URL=$(gh pr create \\\n  --repo tonone-ai\u002Ftonone \\\n  --head \"${GH_USER}:${BRANCH}\" \\\n  --title \"\u003Ctitle>\" \\\n  --body \"## Learning\n\n\u003Cdescription>\n\n## Type\n\n\\`\u003Crouting | agent-patch | skill-new | skill-improve>\\`\n\n---\n*Via \\`\u002Fcontribute\\` — auto-extracted from a tonone session*\" \\\n  --json url --jq .url)\n\nrm -rf \"$TONONE_TMP\"\n```\n\n---\n\n## Step 6 — Receipt\n\n```\n╭─ PAVE ── contribute ─────────────────────────────╮\n\n  PR open: \u003CPR_URL>\n\n╰──────────────────────────────────────────────────╯\n```\n\n---\n\n## Error handling\n\n- `gh` not authenticated → print \"Run `gh auth login` first.\" Exit.\n- Nothing reusable found → print \"No reusable learnings found.\" Exit.\n- Push fails → print error, `rm -rf \"$TONONE_TMP\"`, exit.\n\nFollow the output format defined in docs\u002Foutput-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.\n\nIf output exceeds 40 lines, delegate to \u002Fatlas-report.\n","\u003C!-- GENERATED from SKILL.md.tmpl by scripts\u002Fgen-skill-docs.py — edit the .tmpl or skills\u002F_sections\u002F*.md, not this file -->\n\n# Contribute to tonone\n\nYou are Pave. Scan the session. Find the learning. One question. PR. Done.\n\n---\n\n## Step 1 — Extract the learning (no user input needed)\n\nRead the current conversation and find the single most reusable insight. Look for:\n\n- A **routing gap**: user's request didn't match any skill, they worked around it\n- **Agent corrections**: user corrected the same agent 2+ times for the same pattern\n- A **missing skill**: user built something that should exist as a `\u002Fskill-name`\n- A **prompt improvement**: agent's default behavior needed explicit correction\n\nScore candidates by reusability (would this help ANY tonone user, not just this project?).\nPick the highest-scoring one. If nothing qualifies, print:\n\n```\n╭─ PAVE ── contribute ─────────────────────────────╮\n  No reusable learnings found in this session.\n╰──────────────────────────────────────────────────╯\n```\n\n...and exit.\n\n---\n\n## Step 2 — Map to a file change\n\nDetermine exactly what to change in the tonone repo:\n\n| Learning type      | File to change                                 |\n| ------------------ | ---------------------------------------------- |\n| routing gap        | `CLAUDE.md` — add routing rule                 |\n| agent correction   | `agents\u002F\u003Cname>.md` — patch system prompt       |\n| missing skill      | `skills\u002F\u003Cname>\u002FSKILL.md` — new skill stub      |\n| prompt improvement | `agents\u002F\u003Cname>.md` or `skills\u002F\u003Cname>\u002FSKILL.md` |\n\nDraft the exact diff in memory. Keep it minimal — one logical change.\n\n---\n\n## Step 3 — Sanitize (automatic, no asking)\n\nStrip all user-specific context from the proposed change:\n\n- Project\u002Fcompany\u002Fdomain names → `\u003Cproject>` \u002F `\u003Ccompany>`\n- Personal file paths → `\u003Cpath>`\n- Any credentials or tokens → `\u003Credacted>`\n\n---\n\n## Step 4 — One question\n\nUse AskUserQuestion with exactly this format:\n\n> **Learning found:** `\u003Cone-line description of the improvement>`\n> **Change:** `\u003Cfile>` — `\u003Cwhat changes, in 10 words or less>`\n>\n> Contribute this to tonone?\n\nOptions: **Yes** \u002F **No**\n\nIf No: exit silently.\n\n---\n\n## Step 5 — Create the PR (no further questions)\n\n```bash\nTONONE_TMP=$(mktemp -d)\ngit clone https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone \"$TONONE_TMP\u002Ftonone\" --depth=1 --quiet\ncd \"$TONONE_TMP\u002Ftonone\"\n\ngh repo fork --remote-name=fork --clone=false 2>\u002Fdev\u002Fnull || true\nGH_USER=$(gh api user --jq .login)\ngit remote add fork \"https:\u002F\u002Fgithub.com\u002F${GH_USER}\u002Ftonone.git\" 2>\u002Fdev\u002Fnull || \\\n  git remote set-url fork \"https:\u002F\u002Fgithub.com\u002F${GH_USER}\u002Ftonone.git\"\n\nBRANCH=\"contribute\u002F$(echo '\u003Cslug>' | tr ' ' '-')-$(date +%Y%m%d)\"\ngit checkout -b \"$BRANCH\"\n```\n\nApply the diff to the appropriate file. Then:\n\n```bash\ngit add -A\ngit commit -m \"contribute: \u003Cone-line description>\"\ngit push fork \"$BRANCH\" --quiet\n\nPR_URL=$(gh pr create \\\n  --repo tonone-ai\u002Ftonone \\\n  --head \"${GH_USER}:${BRANCH}\" \\\n  --title \"\u003Ctitle>\" \\\n  --body \"## Learning\n\n\u003Cdescription>\n\n## Type\n\n\\`\u003Crouting | agent-patch | skill-new | skill-improve>\\`\n\n---\n*Via \\`\u002Fcontribute\\` — auto-extracted from a tonone session*\" \\\n  --json url --jq .url)\n\nrm -rf \"$TONONE_TMP\"\n```\n\n---\n\n## Step 6 — Receipt\n\n```\n╭─ PAVE ── contribute ─────────────────────────────╮\n\n  PR open: \u003CPR_URL>\n\n╰──────────────────────────────────────────────────╯\n```\n\n---\n\n## Error handling\n\n- `gh` not authenticated → print \"Run `gh auth login` first.\" Exit.\n- Nothing reusable found → print \"No reusable learnings found.\" Exit.\n- Push fails → print error, `rm -rf \"$TONONE_TMP\"`, exit.\n\nFollow the output format defined in docs\u002Foutput-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.\n\nIf output exceeds 40 lines, delegate to \u002Fatlas-report.\n",{"name":5,"tags":47,"author":49,"license":15,"version":50,"description":7,"allowed-tools":51,"compatibility":52},[48,27,25,21],"engineering","tonone-ai \u003Chello@tonone.ai>","0.9.9","Read, Write, Edit, Bash, AskUserQuestion","Designed for Claude Code","main","d5998d31415790d88781b1eebf9bd0694f7c5d93","skills\u002Fpave-contribute",11,"https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone","https:\u002F\u002Fsecond.tonone.ai","https:\u002F\u002Fgithub.com\u002Ftonone-ai","https:\u002F\u002Ftonone.ai","Founded by @thisisfatih","2026-11-11 05:05:57",{"source":8,"skillName":5,"commands":64,"prompt":74,"zipAvailable":75},[65,68,71],{"tool":66,"command":67},"npx","npx skills add tonone-ai\u002Ftonone --skill pave-contribute",{"tool":69,"command":70},"bunx","bunx skills add tonone-ai\u002Ftonone --skill pave-contribute",{"tool":72,"command":73},"pnpm","pnpm dlx skills add tonone-ai\u002Ftonone --skill pave-contribute","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fskills\u002Fpave-contribute\u002FSKILL.md",true,[],[78,86,93,100,107,114],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":85},"01M7451MJNZW81Y6PWDK32PBR1","tonone-doctor","Read-only health report for tonone state — corrupt .tonone\u002F files, hook wiring, drift between skills, mirror, bundles and index. Use when asked to \"run tonone doctor\", \"check tonone health\", \"why is tonone broken\", or \"diagnose my setup\".","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Ftonone-doctor\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"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":85},"01M7451A88EVFJJASWTTWT26YG","prism-harden","Make UI survive real data — overflow, i18n, empty\u002Ferror\u002Floading states, extreme values. Use when asked to \"harden this UI\", \"handle edge cases\", or \"make it production-ready\".","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Fprism-harden\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":85},"01M74517FB11SCPTJ32C9A5TMX","prism-extract","Extract repeated values and markup into design tokens and components. Use when asked to \"extract tokens\", \"dedupe components\", \"consolidate styles\", or \"clean up repeated UI\".","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Fprism-extract\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":85},"01M7450P0X19MTYVTFKDG3MBXZ","apex-skillify","Turn a flow that just worked in this session into a reusable skill. Use when asked to \"skillify this\", \"make this a skill\", or \"save this workflow\".","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Fapex-skillify\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":85},"01M7450FYBRZ9BNTFBC5ENTPCX","apex-retro","Weekly engineering retrospective from git history. Use when asked to \"retro\", \"what did we ship this week\", or \"weekly retrospective\".","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Fapex-retro\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":121},"01M72R4DFY3VK3ZQEQ147XB9JC","prism-redesign","Fix an existing UI in a bounded scan, diagnose, fix, re-lint loop. Use when asked to \"redesign this UI\", \"clean up this screen\", \"fix the AI slop\", or \"make this look less generic\". Lint-driven, max 3 loops, never changes brand direction silently.","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fteam\u002Fprism\u002Fskills\u002Fprism-redesign\u002FSKILL.md",[],[],"2026-11-10 22:39:42"]