[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EJF25VERVEMY419PBK0R0Z":3,"skill-same:01M7EJF25VERVEMY419PBK0R0Z":67},{"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":25,"commitSha":26,"skillDirectory":27,"forksCount":14,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M7EJF25VERVEMY419PBK0R0Z","portable-harness",null,"Set up a repo so any coding agent (Claude Code, Codex, Cursor) behaves the same wherever it runs - writes 12 working rules at the top of CLAUDE.md or AGENTS.md, adds map sections only where the agent keeps getting things wrong, and installs guardrails it cannot talk past - a type check that fails only on new errors, live-service tests that run only on request, and tests plus type check before every deploy from main. Use when someone wants agent rules for a repo, a better CLAUDE.md or AGENTS.md, says the agent keeps ignoring conventions, hiding behind old type errors or calling real services in tests, or wants their setup to move between harnesses, even if they never say harness. Not for pruning or auditing a setup that already exists (use harness-audit), reviewing code (use consistent-code-review), writing features or fixes (use production-code), or turning a skill into a Claude Code plugin (use skill-to-mod).","arm-pz\u002Fcaffeinity-skills","arm-pz","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F29532099?v=4","01M7EJ726AAB9GD0C5C5G9NJEG","Abdul Rahman","01M7EJ726X4ZD3R4ESGX90K47M",0,"MIT","https:\u002F\u002Fgithub.com\u002Farm-pz\u002Fcaffeinity-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fcaffeinity\u002Fskills\u002Fportable-harness\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: portable-harness\ndescription: Set up a repo so any coding agent (Claude Code, Codex, Cursor) behaves the same wherever it runs - writes 12 working rules at the top of CLAUDE.md or AGENTS.md, adds map sections only where the agent keeps getting things wrong, and installs guardrails it cannot talk past - a type check that fails only on new errors, live-service tests that run only on request, and tests plus type check before every deploy from main. Use when someone wants agent rules for a repo, a better CLAUDE.md or AGENTS.md, says the agent keeps ignoring conventions, hiding behind old type errors or calling real services in tests, or wants their setup to move between harnesses, even if they never say harness. Not for pruning or auditing a setup that already exists (use harness-audit), reviewing code (use consistent-code-review), writing features or fixes (use production-code), or turning a skill into a Claude Code plugin (use skill-to-mod).\nversion: 1.0.0\n---\n\n# portable-harness\n\nThree layers, in this order. Each one is a change to the user's repo, so show the diff and get a yes before writing.\n\nThe rules, the map and the guardrails live in the repo, not in the harness. That is the point: the user can switch between Claude Code and Codex and keep all three.\n\n## Before you start\n\n1. Find the instruction file. Use `CLAUDE.md` if it exists, else `AGENTS.md`. If both exist, edit the one the other points to, or ask. If neither exists, create `AGENTS.md` and a one-line `CLAUDE.md` containing `@AGENTS.md`.\n2. Find the stack: language, type checker, test runner, CI system, deploy step. Read the config files, do not guess. Missing pieces (no type checker, no CI) are reported, not invented.\n3. Ask which layers to apply if the user did not say. Default: all three.\n\n## Step 1 - Rules\n\nPut the 12 rules from `references\u002Frules.md` at the very top of the instruction file, above anything already there. Keep the credit line. If the file already has rules, do not average the two sets: list each conflict (rule 7) and ask which wins.\n\n## Step 2 - Map, not manual\n\nAsk one question: \"Where does the agent keep getting things wrong in this repo?\" Offer what you found while reading (env vars, auth or access control, migrations, a generated folder) as options.\n\nFor each area the user picks, write one section of at most ~180 lines with:\n\n- what the agent must know (file paths, the one helper to use, the order of operations)\n- one worked example taken from this repo's code\n- a \"Do not\" list of the mistakes the user named\n\nWrite nothing for areas the user did not pick. Do not document the whole repo.\n\n## Step 3 - Guardrails\n\nRead `references\u002Fguardrails.md` for the recipe per stack. Apply only the ones that fit this repo:\n\n1. **Type check fails only on new errors.** Record today's errors as a baseline file and gate on it with `scripts\u002Ftypecheck_gate.py`. Old errors are grandfathered; any new one fails. Commit the baseline.\n2. **Live-service tests are opt-in.** Tests that hit real services are tagged and skipped by default; they run only with an explicit flag or env var.\n3. **Push to main runs tests and type check before deploy.** The deploy job depends on both. Skipped tests make the run fail loud (rule 12) unless the skip is the live-service tag.\n\nRun each guardrail once locally and show the output. A guardrail that was written but not run is reported as not run.\n\n## Report\n\n- Instruction file changed, and rule conflicts resolved.\n- Map sections written, one line each.\n- Each guardrail: added, already present, or not possible (with why).\n- What was run and what was not.\n- Next step: after the agent's next big change, run `consistent-code-review` on it.\n\n## Boundaries\n\nThis skill writes setup, not features. It never edits application code beyond tagging live-service tests. Code review after the agent finishes belongs to `consistent-code-review`; hand it the diff or branch name.\n","# portable-harness\n\nThree layers, in this order. Each one is a change to the user's repo, so show the diff and get a yes before writing.\n\nThe rules, the map and the guardrails live in the repo, not in the harness. That is the point: the user can switch between Claude Code and Codex and keep all three.\n\n## Before you start\n\n1. Find the instruction file. Use `CLAUDE.md` if it exists, else `AGENTS.md`. If both exist, edit the one the other points to, or ask. If neither exists, create `AGENTS.md` and a one-line `CLAUDE.md` containing `@AGENTS.md`.\n2. Find the stack: language, type checker, test runner, CI system, deploy step. Read the config files, do not guess. Missing pieces (no type checker, no CI) are reported, not invented.\n3. Ask which layers to apply if the user did not say. Default: all three.\n\n## Step 1 - Rules\n\nPut the 12 rules from `references\u002Frules.md` at the very top of the instruction file, above anything already there. Keep the credit line. If the file already has rules, do not average the two sets: list each conflict (rule 7) and ask which wins.\n\n## Step 2 - Map, not manual\n\nAsk one question: \"Where does the agent keep getting things wrong in this repo?\" Offer what you found while reading (env vars, auth or access control, migrations, a generated folder) as options.\n\nFor each area the user picks, write one section of at most ~180 lines with:\n\n- what the agent must know (file paths, the one helper to use, the order of operations)\n- one worked example taken from this repo's code\n- a \"Do not\" list of the mistakes the user named\n\nWrite nothing for areas the user did not pick. Do not document the whole repo.\n\n## Step 3 - Guardrails\n\nRead `references\u002Fguardrails.md` for the recipe per stack. Apply only the ones that fit this repo:\n\n1. **Type check fails only on new errors.** Record today's errors as a baseline file and gate on it with `scripts\u002Ftypecheck_gate.py`. Old errors are grandfathered; any new one fails. Commit the baseline.\n2. **Live-service tests are opt-in.** Tests that hit real services are tagged and skipped by default; they run only with an explicit flag or env var.\n3. **Push to main runs tests and type check before deploy.** The deploy job depends on both. Skipped tests make the run fail loud (rule 12) unless the skip is the live-service tag.\n\nRun each guardrail once locally and show the output. A guardrail that was written but not run is reported as not run.\n\n## Report\n\n- Instruction file changed, and rule conflicts resolved.\n- Map sections written, one line each.\n- Each guardrail: added, already present, or not possible (with why).\n- What was run and what was not.\n- Next step: after the agent's next big change, run `consistent-code-review` on it.\n\n## Boundaries\n\nThis skill writes setup, not features. It never edits application code beyond tagging live-service tests. Code review after the agent finishes belongs to `consistent-code-review`; hand it the diff or branch name.\n",{"name":5,"version":24,"description":7},"1.0.0","main","523bc2bf98727c9fd981424f86ecba66c6d6ecd6","plugins\u002Fcaffeinity\u002Fskills\u002Fportable-harness","https:\u002F\u002Fgithub.com\u002Farm-pz\u002Fcaffeinity-skills","https:\u002F\u002Fskills.caffeinity.com\u002F","https:\u002F\u002Fgithub.com\u002Farm-pz","skills.caffeinity.com","2026-11-14 01:22:10",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add arm-pz\u002Fcaffeinity-skills --skill portable-harness",{"tool":39,"command":40},"bunx","bunx skills add arm-pz\u002Fcaffeinity-skills --skill portable-harness",{"tool":42,"command":43},"pnpm","pnpm dlx skills add arm-pz\u002Fcaffeinity-skills --skill portable-harness","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Farm-pz\u002Fcaffeinity-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fcaffeinity\u002Fskills\u002Fportable-harness\u002FSKILL.md",true,[47,53,57,63],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fguardrails.md","REFERENCE","参考文档",2660,"https:\u002F\u002Fgithub.com\u002Farm-pz\u002Fcaffeinity-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fcaffeinity\u002Fskills\u002Fportable-harness\u002Freferences\u002Fguardrails.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Frules.md",1122,"https:\u002F\u002Fgithub.com\u002Farm-pz\u002Fcaffeinity-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fcaffeinity\u002Fskills\u002Fportable-harness\u002Freferences\u002Frules.md",{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"scripts\u002Ftest_typecheck_gate.py","SCRIPT","脚本",974,"https:\u002F\u002Fgithub.com\u002Farm-pz\u002Fcaffeinity-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fcaffeinity\u002Fskills\u002Fportable-harness\u002Fscripts\u002Ftest_typecheck_gate.py",{"path":64,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":65,"sourceHtmlUrl":66},"scripts\u002Ftypecheck_gate.py",1782,"https:\u002F\u002Fgithub.com\u002Farm-pz\u002Fcaffeinity-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fcaffeinity\u002Fskills\u002Fportable-harness\u002Fscripts\u002Ftypecheck_gate.py",[68,75,82,89,96,103],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7EJR8K8FDPBY02RFPRRW19M","tune-and-ship","Takes one published skill at a time from as-is to tuned, fact-checked, released and live, then moves to the next one in the catalog. Each run tunes the skill with tune-skill, checks every version number, flag, price and command it states against the primary source, re-reads its siblings' real SKILL.md files, polishes the listing with findable-polish, writes the version and release notes, opens one PR, and after the merge confirms the site page and marketplace copy are live. Use whenever the user wants to fine-tune their other skills, work through the catalog, give a published skill the full treatment, fact-check a skill's claims, or ship a tune instead of drafting it, even if they never say \"ship\". Not for a tune with no release (use tune-skill), drafts with nothing pushed (use tune-and-polish), a new skill (use skill-launch), regressions from the nightly health check (use caffeinity-routing's Descale brew), or a whole collection (use skill-estate).","https:\u002F\u002Fgithub.com\u002Farm-pz\u002Fcaffeinity-skills\u002Fblob\u002Fmain\u002Fplugins\u002Ftune-and-ship\u002Fskills\u002Ftune-and-ship\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7EJR2D3H3EA8PT9PVR8DVTS","skill-estate","Takes a whole collection of agent skill repos from scattered to published, consistent and self-maintaining, in gated phases: inventory every repo, reconcile site, marketplace and README listings, test and tune the family, close workflow gaps, wire publishing so new skill repos go live on their own, bundle a plugin with agents, add trigger tests and directory listings, and leave a maintenance loop and a map. Each phase hands off to the skill that owns it and ends in PRs. Use when someone's skills site and GitHub disagree, wants all their skill repos audited or cleaned up, wants new skills to publish themselves, or wants that cleanup repeated on another org, even if they never say estate. Not for one skill (use tune-skill), one listing (use findable), the site pipeline alone (use publish-pipeline), or weekly upkeep (use caffeinity-routing's Descale brew).","https:\u002F\u002Fgithub.com\u002Farm-pz\u002Fcaffeinity-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fskill-estate\u002Fskills\u002Fskill-estate\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7EJQVD17QR594SGFS5Z1T34","paper-trail","Drafts the policy pages a small product needs before it takes money or data (privacy policy, terms of service, refund policy, cookie notice) from a fact sheet about what the product actually collects, stores, shares and charges, then checks the drafts for placeholders, missing sections and facts nobody supplied. Use when someone needs a privacy policy, terms, refund or cookie page for a site, app, SaaS, newsletter or digital product, asks what legal pages they need before launch, or wants existing policy pages checked against what the product really does, even if they never say \"legal\". Not legal advice and not for contracts, NDAs or employment documents (use a lawyer), and not for the launch plan itself (use solo-income-blueprint) or the site build (use site-prompt).","https:\u002F\u002Fgithub.com\u002Farm-pz\u002Fcaffeinity-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fpaper-trail\u002Fskills\u002Fpaper-trail\u002FSKILL.md",[],[],{"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":19},"01M7EJQM55D4W6D9SJB8WDVP27","course-builder","Designs a course for a group of learners (a class, cohort, workshop series, bootcamp or internal training): measurable outcomes, a module sequence with prerequisites, activities and assessments aligned to each outcome, a time budget that fits the hours available, and a rubric, then checks the plan with a script so no outcome goes untaught or unassessed. Use when someone is teaching others and asks for a curriculum, syllabus, course outline, module plan, cohort or workshop structure, or wants an existing course checked for gaps and overload, even if they never say \"curriculum\". Not for one person's own learning plan (use study-system), for being taught the topic (use topic-primer), or for marketing the course (use sales-copy).","https:\u002F\u002Fgithub.com\u002Farm-pz\u002Fcaffeinity-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fcourse-builder\u002Fskills\u002Fcourse-builder\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M7EJQDFT8K0PW1HF7RPS6M03","wordsmith","Write, draft, rewrite, edit, proofread, polish and improve text while preserving the author's intended meaning, facts and voice. Use when the user wants clearer, shorter or better-toned writing; grammar, structure or flow fixes; emails, website or marketing copy, headlines, outlines or summaries; a different reading level; an accessibility, inclusivity or accuracy review; or content prepared for publication, even if they never say \"edit\". Also handles \u002Fwordsmith commands such as draft, critique, audit, tighten, tone and final. Not for resumes, CVs or LinkedIn profiles (use recruiter-lens if installed), not for code or code comments, and not for building .docx or .pdf files (write the text here, then use the file skill).","https:\u002F\u002Fgithub.com\u002Farm-pz\u002Fcaffeinity-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fcaffeinity\u002Fskills\u002Fwordsmith\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":19},"01M7EJQ3TFWMSW96T0E49W310A","web-preflight","Use when shipping, deploying, publishing, launching, reviewing, or pre-flighting a website or API and you want a lightweight check for accidental exposure of secrets, source or configuration files, admin and debug surfaces, unsafe redirects, missing security controls, and misleading 200 responses. Trigger phrases include \"before we ship\", \"security check\", \"preflight\", \"audit the site\", \"check the production URL\", \"is my .env exposed\", and \"why does \u002F.env return 200\", including when access-log or analytics evidence is supplied. Checks only sites the user owns or is authorized to assess, with bounded GET and HEAD requests and a fixed compact path set; distinguishes genuine resources from SPA catch-all and blanket WAF responses. Not for penetration testing, exploitation, credential testing, broad port scanning, or application-code review; use a dedicated authorized security-testing or code-review workflow instead.","https:\u002F\u002Fgithub.com\u002Farm-pz\u002Fcaffeinity-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fcaffeinity\u002Fskills\u002Fweb-preflight\u002FSKILL.md",[],[]]