[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6E4SCK0AGJ8D5FVDR9B7KPN":3,"skill-same:01M6E4SCK0AGJ8D5FVDR9B7KPN":88},{"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":41,"linkOnly":42,"markdownContent":43,"markdownBody":44,"frontMatter":45,"refName":52,"commitSha":53,"skillDirectory":54,"forksCount":55,"repositoryHtmlUrl":56,"repositoryHomepageUrl":57,"ownerHtmlUrl":58,"ownerBlogUrl":59,"ownerDescription":60,"updatedAt":61,"install":62,"resources":75},"01M6E4SCK0AGJ8D5FVDR9B7KPN","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\u002Fteam\u002Fpave\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],"pave","pave contribute","contribute","edit","when","for","devex","submit","platform","back","conversation","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":46,"author":48,"license":15,"version":49,"description":7,"allowed-tools":50,"compatibility":51},[47,27,25,21],"engineering","tonone-ai \u003Chello@tonone.ai>","0.9.9","Read, Write, Edit, Bash, AskUserQuestion","Designed for Claude Code","main","d5998d31415790d88781b1eebf9bd0694f7c5d93","team\u002Fpave\u002Fskills\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":63,"prompt":73,"zipAvailable":74},[64,67,70],{"tool":65,"command":66},"npx","npx skills add tonone-ai\u002Ftonone --skill pave-contribute",{"tool":68,"command":69},"bunx","bunx skills add tonone-ai\u002Ftonone --skill pave-contribute",{"tool":71,"command":72},"pnpm","pnpm dlx skills add tonone-ai\u002Ftonone --skill pave-contribute","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fteam\u002Fpave\u002Fskills\u002Fpave-contribute\u002FSKILL.md",true,[76,82],{"path":77,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":80,"sourceHtmlUrl":81},".claude-plugin\u002Fplugin.json","REFERENCE","参考文档",314,"https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fteam\u002Fpave\u002Fskills\u002Fpave-contribute\u002F.claude-plugin\u002Fplugin.json",{"path":83,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":86,"sourceHtmlUrl":87},"SKILL.md.tmpl","OTHER","其他",4425,"https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fteam\u002Fpave\u002Fskills\u002Fpave-contribute\u002FSKILL.md.tmpl",[89,97,104,111,118,125],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":96},"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":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":96},"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":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":96},"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":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":96},"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":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":96},"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":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":132},"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"]