[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EP94H81JB8X6VP30RECH5C":3,"skill-same:01M7EP94H81JB8X6VP30RECH5C":104},{"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":28,"commitSha":29,"skillDirectory":30,"forksCount":14,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M7EP94H81JB8X6VP30RECH5C","color-theory",null,"Check and build accessible color palettes against WCAG 2.1 contrast standards. Use whenever the user is choosing text\u002Fbackground colors, theme tokens, chart series colors, or button\u002Flink states and needs to know whether a pair is readable — e.g. \"is #777 on white accessible?\", \"does this palette pass AA?\", \"pick a text color that meets AAA on this background\", \"fix the contrast on these buttons\", \"WCAG contrast ratio\", \"is this color-blind safe enough to read\". Trigger even when the user only says \"are these colors okay to read\" or names two hex codes and asks if they work together. Do NOT use for purely aesthetic choices with no readability\u002Fcontrast concern (brand-mood palettes, gradient vibes), for image color extraction, or for print\u002FCMYK color matching — this skill is about on-screen legibility math.","inputloop\u002Fgarden","inputloop","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F339507215?v=4","01M7ENYT15EMVBAV30YXPQDYE2","Inputloop","01M7ENYT1SM9WM5PSMQDC9PE2G",0,"GPL-3.0","https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002Fskills\u002Fcolor-theory\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: color-theory\ndescription: >-\n  Check and build accessible color palettes against WCAG 2.1 contrast\n  standards. Use whenever the user is choosing text\u002Fbackground colors, theme\n  tokens, chart series colors, or button\u002Flink states and needs to know whether\n  a pair is readable — e.g. \"is #777 on white accessible?\", \"does this palette\n  pass AA?\", \"pick a text color that meets AAA on this background\", \"fix the\n  contrast on these buttons\", \"WCAG contrast ratio\", \"is this color-blind\n  safe enough to read\". Trigger even when the user only says \"are these colors\n  okay to read\" or names two hex codes and asks if they work together. Do NOT\n  use for purely aesthetic choices with no readability\u002Fcontrast concern\n  (brand-mood palettes, gradient vibes), for image color extraction, or for\n  print\u002FCMYK color matching — this skill is about on-screen legibility math.\nmetadata:\n  source: polygram-synth\n  gate_score: 1\n  reviewed_by: skillbuilder-gate+sre-gate\n---\n\n# Color Theory — accessible-palette checking\n\nChoosing colors is easy; choosing colors people can actually *read* is a math\nproblem. WCAG 2.1 defines a contrast ratio between two colors (1:1 identical →\n21:1 black-on-white) and minimum thresholds for legibility. This skill makes\nthat math concrete so a palette decision is grounded, not guessed.\n\n## When to use\n\nReach for this whenever readability is on the line: text on a background,\ntheme tokens, link\u002Fbutton\u002Fdisabled states, chart series against a canvas, or\nany \"do these two colors work together?\" question. If the user only cares\nabout mood or branding and nobody has to *read* anything, this skill does not\napply.\n\n## The thresholds (WCAG 2.1)\n\n| Level | Normal text | Large text (>=18pt, or >=14pt bold) |\n|-------|-------------|--------------------------------------|\n| AA    | >= 4.5 : 1  | >= 3.0 : 1                           |\n| AAA   | >= 7.0 : 1  | >= 4.5 : 1                           |\n\nAA is the common legal\u002Faccessibility floor; aim for AAA on body text when you\ncan. UI components and graphical objects have their own 3.0:1 floor.\n\n## How to apply\n\n1. Identify the foreground\u002Fbackground pairs that actually matter (body text on\n   page, label on button, each chart line on its canvas). Don't audit colors\n   no one reads.\n2. Run the bundled tool to get the ratio and pass\u002Ffail per level. Use it\n   rather than eyeballing — perceived brightness is a poor guide and the\n   sRGB luminance formula is not something to do in your head.\n\n   ```\n   # one pair\n   python3 tool.py contrast \"#777777\" \"#ffffff\"\n\n   # find a passing text color on a fixed background\n   python3 tool.py suggest \"#1e2a78\" --level AA\n\n   # audit many pairs from a file (one \"FG BG\" per line) or stdin; it says how many\n   # pairs it read, and an audit that read none is NOT CHECKED (exit 2), never a pass\n   # (that rule is Bryant Frankford's, from his color-theory 1.1, 2026-10-05)\n   python3 tool.py audit pairs.txt\n   ```\n3. If a pair fails, prefer adjusting *lightness* first (darken\u002Flighten one\n   side) before changing hue — it usually fixes contrast while preserving the\n   intended color identity. Re-run the tool to confirm.\n4. Report the ratio and the levels it clears, not just \"looks fine.\" A number\n   is reviewable; a vibe is not.\n\n## Notes and limits\n\n- Contrast ratio is symmetric (fg\u002Fbg order doesn't change the number); the\n  tool normalizes either way.\n- WCAG contrast is *not* a full color-blindness check. Meeting AA helps, but\n  for critical distinctions (e.g. red\u002Fgreen status) also avoid encoding\n  meaning by hue alone.\n- This is on-screen sRGB math; it says nothing about print\u002FCMYK.\n\n\n## How this skill can fail (falsifiers)\n\n- **Wrong math.** fails if `python3 tool.py contrast \"#ffffff\" \"#000000\"` prints anything but 21.00:1, or `#777777` on `#ffffff` passes AA normal text (it is 4.48:1); check: run both.\n- **Order matters when it should not.** fails if swapping foreground and background changes the ratio; check: run `contrast` both ways.\n- **A suggestion that fails.** fails if `suggest BG --level AA` returns a color below 4.5:1 on BG; check: feed the suggestion back into `contrast`.\n\n\u003C!-- footer: minted by bin\u002Fft1mt from conventions\u002Fhouse.env and conventions\u002FFOOTERS.org; edit those, not this -->\n*Version 1.1.0: edition revised from 1.0.1 on 2026-10-10; spine: 2026-07-05.*\n\nCopyright 2026 Corwin Brust \u003Ccorwin@bru.st> and Contributors; CC-BY-SA4: https:\u002F\u002Fcreativecommons.org\u002Flicenses\u002Fby-sa\u002F4.0\u002F (scripts GPL-3.0-or-later); Mentat (for Corwin; claude-opus-5-5)\n\u003C!-- \u002Ffooter -->\n","# Color Theory — accessible-palette checking\n\nChoosing colors is easy; choosing colors people can actually *read* is a math\nproblem. WCAG 2.1 defines a contrast ratio between two colors (1:1 identical →\n21:1 black-on-white) and minimum thresholds for legibility. This skill makes\nthat math concrete so a palette decision is grounded, not guessed.\n\n## When to use\n\nReach for this whenever readability is on the line: text on a background,\ntheme tokens, link\u002Fbutton\u002Fdisabled states, chart series against a canvas, or\nany \"do these two colors work together?\" question. If the user only cares\nabout mood or branding and nobody has to *read* anything, this skill does not\napply.\n\n## The thresholds (WCAG 2.1)\n\n| Level | Normal text | Large text (>=18pt, or >=14pt bold) |\n|-------|-------------|--------------------------------------|\n| AA    | >= 4.5 : 1  | >= 3.0 : 1                           |\n| AAA   | >= 7.0 : 1  | >= 4.5 : 1                           |\n\nAA is the common legal\u002Faccessibility floor; aim for AAA on body text when you\ncan. UI components and graphical objects have their own 3.0:1 floor.\n\n## How to apply\n\n1. Identify the foreground\u002Fbackground pairs that actually matter (body text on\n   page, label on button, each chart line on its canvas). Don't audit colors\n   no one reads.\n2. Run the bundled tool to get the ratio and pass\u002Ffail per level. Use it\n   rather than eyeballing — perceived brightness is a poor guide and the\n   sRGB luminance formula is not something to do in your head.\n\n   ```\n   # one pair\n   python3 tool.py contrast \"#777777\" \"#ffffff\"\n\n   # find a passing text color on a fixed background\n   python3 tool.py suggest \"#1e2a78\" --level AA\n\n   # audit many pairs from a file (one \"FG BG\" per line) or stdin; it says how many\n   # pairs it read, and an audit that read none is NOT CHECKED (exit 2), never a pass\n   # (that rule is Bryant Frankford's, from his color-theory 1.1, 2026-10-05)\n   python3 tool.py audit pairs.txt\n   ```\n3. If a pair fails, prefer adjusting *lightness* first (darken\u002Flighten one\n   side) before changing hue — it usually fixes contrast while preserving the\n   intended color identity. Re-run the tool to confirm.\n4. Report the ratio and the levels it clears, not just \"looks fine.\" A number\n   is reviewable; a vibe is not.\n\n## Notes and limits\n\n- Contrast ratio is symmetric (fg\u002Fbg order doesn't change the number); the\n  tool normalizes either way.\n- WCAG contrast is *not* a full color-blindness check. Meeting AA helps, but\n  for critical distinctions (e.g. red\u002Fgreen status) also avoid encoding\n  meaning by hue alone.\n- This is on-screen sRGB math; it says nothing about print\u002FCMYK.\n\n\n## How this skill can fail (falsifiers)\n\n- **Wrong math.** fails if `python3 tool.py contrast \"#ffffff\" \"#000000\"` prints anything but 21.00:1, or `#777777` on `#ffffff` passes AA normal text (it is 4.48:1); check: run both.\n- **Order matters when it should not.** fails if swapping foreground and background changes the ratio; check: run `contrast` both ways.\n- **A suggestion that fails.** fails if `suggest BG --level AA` returns a color below 4.5:1 on BG; check: feed the suggestion back into `contrast`.\n\n\u003C!-- footer: minted by bin\u002Fft1mt from conventions\u002Fhouse.env and conventions\u002FFOOTERS.org; edit those, not this -->\n*Version 1.1.0: edition revised from 1.0.1 on 2026-10-10; spine: 2026-07-05.*\n\nCopyright 2026 Corwin Brust \u003Ccorwin@bru.st> and Contributors; CC-BY-SA4: https:\u002F\u002Fcreativecommons.org\u002Flicenses\u002Fby-sa\u002F4.0\u002F (scripts GPL-3.0-or-later); Mentat (for Corwin; claude-opus-5-5)\n\u003C!-- \u002Ffooter -->\n",{"name":5,"metadata":24,"description":7},{"source":25,"gate_score":26,"reviewed_by":27},"polygram-synth",1,"skillbuilder-gate+sre-gate","main","0b0a0f665f67605c3bc1d43500eea26ef3079a97","skills\u002Fcolor-theory","https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden","https:\u002F\u002Fgithub.com\u002Finputloop","2026-10-14 18:29:39",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add inputloop\u002Fgarden --skill color-theory",{"tool":40,"command":41},"bunx","bunx skills add inputloop\u002Fgarden --skill color-theory",{"tool":43,"command":44},"pnpm","pnpm dlx skills add inputloop\u002Fgarden --skill color-theory","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002Fskills\u002Fcolor-theory\u002FSKILL.md",true,[48,54,57,60,63,69,73,77,81,84,88,91,94,100],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},".arc\u002F2026-09\u002Fsignature-2026-09-23_pre-header-pass.asc","OTHER","其他",659,"https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002Fskills\u002Fcolor-theory\u002F.arc\u002F2026-09\u002Fsignature-2026-09-23_pre-header-pass.asc",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":56},".arc\u002F2026-09\u002Fsignature-2026-09-24_162126Z_pre-manifest.asc","https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002Fskills\u002Fcolor-theory\u002F.arc\u002F2026-09\u002Fsignature-2026-09-24_162126Z_pre-manifest.asc",{"path":58,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":59},".arc\u002F2026-09\u002Fsignature-2026-09-27_203833Z_pre-manifest.asc","https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002Fskills\u002Fcolor-theory\u002F.arc\u002F2026-09\u002Fsignature-2026-09-27_203833Z_pre-manifest.asc",{"path":61,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":62},".arc\u002F2026-09\u002FSKILL-2026-09-23_pre-header-pass.md.asc","https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002Fskills\u002Fcolor-theory\u002F.arc\u002F2026-09\u002FSKILL-2026-09-23_pre-header-pass.md.asc",{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},".arc\u002F2026-09\u002FSKILL-2026-09-27_pre-hardening.md","REFERENCE","参考文档",3936,"https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002Fskills\u002Fcolor-theory\u002F.arc\u002F2026-09\u002FSKILL-2026-09-27_pre-hardening.md",{"path":70,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":71,"sourceHtmlUrl":72},".arc\u002F2026-09\u002Fskill-manifest-2026-09-23_pre-header-pass",234,"https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002Fskills\u002Fcolor-theory\u002F.arc\u002F2026-09\u002Fskill-manifest-2026-09-23_pre-header-pass",{"path":74,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":75,"sourceHtmlUrl":76},".arc\u002F2026-09\u002Fskill-manifest-2026-09-24_162126Z_pre-manifest",519,"https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002Fskills\u002Fcolor-theory\u002F.arc\u002F2026-09\u002Fskill-manifest-2026-09-24_162126Z_pre-manifest",{"path":78,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":79,"sourceHtmlUrl":80},".arc\u002F2026-09\u002Fskill-manifest-2026-09-27_203833Z_pre-manifest",153,"https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002Fskills\u002Fcolor-theory\u002F.arc\u002F2026-09\u002Fskill-manifest-2026-09-27_203833Z_pre-manifest",{"path":82,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":83},".arc\u002F2026-10\u002Fsignature-2026-10-10_104824Z_pre-manifest.asc","https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002Fskills\u002Fcolor-theory\u002F.arc\u002F2026-10\u002Fsignature-2026-10-10_104824Z_pre-manifest.asc",{"path":85,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":86,"sourceHtmlUrl":87},".arc\u002F2026-10\u002Fskill-manifest-2026-10-10_104824Z_pre-manifest",230,"https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002Fskills\u002Fcolor-theory\u002F.arc\u002F2026-10\u002Fskill-manifest-2026-10-10_104824Z_pre-manifest",{"path":89,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":90},".signature.asc","https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002Fskills\u002Fcolor-theory\u002F.signature.asc",{"path":92,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":86,"sourceHtmlUrl":93},".skill-manifest","https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002Fskills\u002Fcolor-theory\u002F.skill-manifest",{"path":95,"resourceType":96,"resourceTypeDesc":97,"sizeBytes":98,"sourceHtmlUrl":99},"tests.sh","SCRIPT","脚本",7841,"https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002Fskills\u002Fcolor-theory\u002Ftests.sh",{"path":101,"resourceType":96,"resourceTypeDesc":97,"sizeBytes":102,"sourceHtmlUrl":103},"tool.py",7277,"https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002Fskills\u002Fcolor-theory\u002Ftool.py",[105,111,117,124,131,138],{"skillNo":106,"name":107,"nameZh":6,"description":6,"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":19},"01M7EPTX6X52ZPGVQZHKVJ7FAZ","alpha","https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Flane-d\u002Fbr1in\u002Fours\u002Fskills\u002Falpha\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":19},"01M7EPTWCTS80QHFQ2ND3A1CW1","gamma","https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Flane-d\u002Fbr1in\u002Fours\u002FSOFT-SKILLS\u002Fgamma\u002FSKILL.md",[],[],{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":19},"01M7EPTV3K3SCTRP0DR6BMMKR0","quiet","A fixture skill that declares no preferences, so skill.quiet.* has no reader.","https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Flane-a\u002Fdeclared\u002Fsoft\u002Fquiet\u002FSKILL.md",[],[],{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":19},"01M7EPTSG0VE67F6PFAC0XJDQ4","demo","A fixture skill for tests\u002Fprefs-declared-spec.rb; it declares two preferences inline.","https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Flane-a\u002Fdeclared\u002Fsoft\u002Fdemo\u002FSKILL.md",[],[],{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":19},"01M7EPTP0PM5WPTFBHPXBCFM5C","concise","Synthesized by polygram from memory tag 'concise'. explicitly flagged. Review and tighten this description before relying on it for triggering.","https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fconcise\u002FSKILL.md",[],[],{"skillNo":139,"name":140,"nameZh":6,"description":141,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":19},"01M7EPTAETQ62DJA8ZFEEBBZF0","writing-forms","Which writing form a dated deliverable takes in the shop, and the five techniques every form shares. Use whenever someone is about to write a dated deliverable — \"which form is this?\", \"write it up\", \"land a note \u002F card \u002F model \u002F lens\", \"what shape does a … take\", \"is there a form for this\", or when a new PREFIX-date-slug filename is about to be minted. Carries the rule that a deliverable picks ONE form and says so in its filename, points at the register c\u002Fwf (columns d\u002Fc\u002Fwf) as the source of truth, names the most-used forms, the five cross-cutting techniques (two piles · cite at the act · a falsifier on every concern · the pair rule · his words), how a new form is born, and the fence on notes other sessions wrote. Not rolls (report kinds and their guards), not reformat-prompt (the REFORMAT pair), not run-card (the RUNCARD), not skill-creator (skills). Owns the FORM, not the content.","https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-forms\u002FSKILL.md",[],[]]