[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BYRP40C1J1KC62KEJY47S2":3,"skill-same:01M7BYRP40C1J1KC62KEJY47S2":57},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":13,"repositoryHtmlUrl":40,"repositoryHomepageUrl":6,"ownerHtmlUrl":41,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":42,"install":43,"resources":56},"01M7BYRP40C1J1KC62KEJY47S2","coding",null,"Work on a codebase — read, search, edit and verify source files. Use when the user asks to fix a bug, add a feature, refactor, explain code, make a test pass, or change anything in a repository. Covers finding the right file, editing safely, and proving the change works before reporting it.","secure-workflows\u002Fgaia","secure-workflows","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F311422533?v=4","01M7BYM925H8FAXM1DRD7F5DQD","01M7BYM92V01EZBAV87C93HNKX",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsecure-workflows\u002Fgaia\u002Fblob\u002Fmain\u002Fhub\u002Fskills\u002Fcoding\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: coding\ndescription: Work on a codebase — read, search, edit and verify source files. Use when the user asks to fix a bug, add a feature, refactor, explain code, make a test pass, or change anything in a repository. Covers finding the right file, editing safely, and proving the change works before reporting it.\nlicense: MIT\nversion: 0.1.0\nmetadata:\n  gaia:\n    security_tier: community\n    permissions:\n      - shell:execute:pytest\n    tools_required:\n      - read_file\n      - edit_file\n      - search_file_content\n      - search_code_index\n      - execute_python_file\n    provenance:\n      source: starter-pack\n---\n\n# Coding\n\nChanging code is different from answering a question: you can be *confidently\nwrong for hours* because the answer looked plausible. Everything below exists to\nclose that gap.\n\n## Find the code before you change it\n\nYou have two searches and they answer different questions:\n\n- **`search_file_content`** — grep. Use it when you know the string: a function\n  name, an error message, a config key. Fastest way to find every call site.\n- **`search_code_index`** — semantic. Use it when you know the *behaviour* but\n  not the name: \"where do we decide which model to load\". Run `index_codebase`\n  once for the repo first; `get_index_status` says whether it is ready.\n\nGrep first when you have an exact token — it is instant and exhaustive. Reach\nfor the semantic index when grep returns nothing useful because you are\nguessing at names.\n\n## Read the file before you edit it\n\nNot the top of it — use `read_file` on the part you are changing, plus enough\naround it to see what else depends on it. An edit written from memory of a\nsimilar file is how you delete someone's special case.\n\n`edit_file` replaces an exact string. If it fails, the file is not what you\nthought: **re-read it**, do not retry with a guess. Never fall back to\nrewriting the whole file to get past a failed edit — that silently reverts\nanything else in it and rewrites every line's endings, turning a two-line change\ninto a whole-file diff.\n\n## Reproduce it first, then fix it\n\nRun the failing thing and read the actual output before changing anything. A bug\nyou have not reproduced is a bug you are guessing at, and the fix for a guess\nusually lands somewhere real code was fine.\n\nThis also gives you the *before* state. Without it you cannot tell whether you\nfixed the problem or merely changed the symptom.\n\n## Prove it, then say it\n\n**A test you did not run is not a test that passed.** Tracing the logic in your\nhead is not verification — it is the same reasoning that produced the bug.\n\nThis skill grants `pytest`, so run it directly:\n\n```\npytest -q tests\u002F\npytest -x -k discount tests\u002Ftest_cart.py\n```\n\nThe grant is narrow on purpose. `--pdb` would hang waiting for a debugger nobody\ncan answer, `-p \u003Cplugin>` imports arbitrary code, and `--junitxml` writes outside\nthe run — all refused. If you need something the grant will not allow, say so\nrather than working around it.\n\nFor a suite pytest cannot drive (npm, go, make), write a runner and use\n`execute_python_file`. Then report what the run actually said. If you could not run it, say that\nplainly — *\"I could not execute the suite, so this is unverified\"* — rather than\nimplying it passed.\n\n## Do not break what was already working\n\nRun the WHOLE suite, not just the test you were asked about. A fix that repairs\none test and breaks two is a worse state than you started in, and you will not\nnotice if you only look at the one.\n\nIf something else fails, that is now your problem, whether or not you caused it.\nSay which of the two it is.\n\n## Keep the diff to the change\n\n- Fix the bug you were asked about. Do not reformat, rename, reorder imports, or\n  \"clean up while you're here\" — every unrelated line is a line the reviewer has\n  to check.\n- Match the file's existing style, even where you would write it differently.\n- Do not add comments narrating what the code does. A comment earns its place by\n  explaining a *why* that is not obvious from the code.\n\n## When you fix one instance, look for the others\n\nThe same mistake is rarely alone. A bad `subprocess` call, a missing encoding, a\nwrong default — grep for the pattern once you understand it, and say what you\nfound even if you only fixed one. \"Fixed here; three more in X, Y, Z\" is far\nmore useful than a silent single fix.\n\n## Scratch files are yours, not theirs\n\nRunner scripts and scratch output go in the system temp directory. Writing\n`create_doc.py` and `temp\u002F` into the root of someone's repository leaves them in\nthe next `git status`, and they did not ask for them.\n\n## Reporting a code change\n\nLead with whether it works, then what changed:\n\n> Both failing tests pass now, and the other six still do.\n>\n> - `apply_discount` was subtracting `amount * percent` instead of\n>   `amount * percent \u002F 100`.\n> - `format_money` used `str(round(...))`, which drops the trailing zero in\n>   `$5.50`.\n\nName the file and line only when the reader needs it to act. Never claim a test\nrun you did not do.\n","# Coding\n\nChanging code is different from answering a question: you can be *confidently\nwrong for hours* because the answer looked plausible. Everything below exists to\nclose that gap.\n\n## Find the code before you change it\n\nYou have two searches and they answer different questions:\n\n- **`search_file_content`** — grep. Use it when you know the string: a function\n  name, an error message, a config key. Fastest way to find every call site.\n- **`search_code_index`** — semantic. Use it when you know the *behaviour* but\n  not the name: \"where do we decide which model to load\". Run `index_codebase`\n  once for the repo first; `get_index_status` says whether it is ready.\n\nGrep first when you have an exact token — it is instant and exhaustive. Reach\nfor the semantic index when grep returns nothing useful because you are\nguessing at names.\n\n## Read the file before you edit it\n\nNot the top of it — use `read_file` on the part you are changing, plus enough\naround it to see what else depends on it. An edit written from memory of a\nsimilar file is how you delete someone's special case.\n\n`edit_file` replaces an exact string. If it fails, the file is not what you\nthought: **re-read it**, do not retry with a guess. Never fall back to\nrewriting the whole file to get past a failed edit — that silently reverts\nanything else in it and rewrites every line's endings, turning a two-line change\ninto a whole-file diff.\n\n## Reproduce it first, then fix it\n\nRun the failing thing and read the actual output before changing anything. A bug\nyou have not reproduced is a bug you are guessing at, and the fix for a guess\nusually lands somewhere real code was fine.\n\nThis also gives you the *before* state. Without it you cannot tell whether you\nfixed the problem or merely changed the symptom.\n\n## Prove it, then say it\n\n**A test you did not run is not a test that passed.** Tracing the logic in your\nhead is not verification — it is the same reasoning that produced the bug.\n\nThis skill grants `pytest`, so run it directly:\n\n```\npytest -q tests\u002F\npytest -x -k discount tests\u002Ftest_cart.py\n```\n\nThe grant is narrow on purpose. `--pdb` would hang waiting for a debugger nobody\ncan answer, `-p \u003Cplugin>` imports arbitrary code, and `--junitxml` writes outside\nthe run — all refused. If you need something the grant will not allow, say so\nrather than working around it.\n\nFor a suite pytest cannot drive (npm, go, make), write a runner and use\n`execute_python_file`. Then report what the run actually said. If you could not run it, say that\nplainly — *\"I could not execute the suite, so this is unverified\"* — rather than\nimplying it passed.\n\n## Do not break what was already working\n\nRun the WHOLE suite, not just the test you were asked about. A fix that repairs\none test and breaks two is a worse state than you started in, and you will not\nnotice if you only look at the one.\n\nIf something else fails, that is now your problem, whether or not you caused it.\nSay which of the two it is.\n\n## Keep the diff to the change\n\n- Fix the bug you were asked about. Do not reformat, rename, reorder imports, or\n  \"clean up while you're here\" — every unrelated line is a line the reviewer has\n  to check.\n- Match the file's existing style, even where you would write it differently.\n- Do not add comments narrating what the code does. A comment earns its place by\n  explaining a *why* that is not obvious from the code.\n\n## When you fix one instance, look for the others\n\nThe same mistake is rarely alone. A bad `subprocess` call, a missing encoding, a\nwrong default — grep for the pattern once you understand it, and say what you\nfound even if you only fixed one. \"Fixed here; three more in X, Y, Z\" is far\nmore useful than a silent single fix.\n\n## Scratch files are yours, not theirs\n\nRunner scripts and scratch output go in the system temp directory. Writing\n`create_doc.py` and `temp\u002F` into the root of someone's repository leaves them in\nthe next `git status`, and they did not ask for them.\n\n## Reporting a code change\n\nLead with whether it works, then what changed:\n\n> Both failing tests pass now, and the other six still do.\n>\n> - `apply_discount` was subtracting `amount * percent` instead of\n>   `amount * percent \u002F 100`.\n> - `format_money` used `str(round(...))`, which drops the trailing zero in\n>   `$5.50`.\n\nName the file and line only when the reader needs it to act. Never claim a test\nrun you did not do.\n",{"name":5,"license":14,"version":23,"metadata":24,"description":7},"0.1.0",{"gaia":25},{"provenance":26,"permissions":28,"security_tier":30,"tools_required":31},{"source":27},"starter-pack",[29],"shell:execute:pytest","community",[32,33,34,35,36],"read_file","edit_file","search_file_content","search_code_index","execute_python_file","main","11039b64e036dca33313350b4cd1d6c2a791eb15","hub\u002Fskills\u002Fcoding","https:\u002F\u002Fgithub.com\u002Fsecure-workflows\u002Fgaia","https:\u002F\u002Fgithub.com\u002Fsecure-workflows","2026-10-26 10:48:34",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add secure-workflows\u002Fgaia --skill coding",{"tool":49,"command":50},"bunx","bunx skills add secure-workflows\u002Fgaia --skill coding",{"tool":52,"command":53},"pnpm","pnpm dlx skills add secure-workflows\u002Fgaia --skill coding","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsecure-workflows\u002Fgaia\u002Fblob\u002Fmain\u002Fhub\u002Fskills\u002Fcoding\u002FSKILL.md",true,[],[58,65,72,79,86,93],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M7BYXGPPQJGVVD0DPS2WK3FS","web-search","Search the web via the Brave Search API. Use when the user asks about current events or external facts.","https:\u002F\u002Fgithub.com\u002Fsecure-workflows\u002Fgaia\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fweb-search\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M7BYXDF2TM5JPMEQKMMHW0VJ","triage-support-ticket","Triage an inbound support ticket end to end. Use when the user pastes a support ticket or asks to triage one.","https:\u002F\u002Fgithub.com\u002Fsecure-workflows\u002Fgaia\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Ftriage-support-ticket\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M7BYXAHWNBMJ8Y1Q51EZ53K7","tool-mismatch","Declares a tool its tools.py never registers. Used to prove validation fails loudly with no partial load.","https:\u002F\u002Fgithub.com\u002Fsecure-workflows\u002Fgaia\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Ftool-mismatch\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M7BYX6CZ63AM6HB90PPNXKF7","report-archive","Archive a generated report to the user's reports folder and register it with the team's report index. Use when the user asks to file, archive, or publish a finished report.","https:\u002F\u002Fgithub.com\u002Fsecure-workflows\u002Fgaia\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Freport-archive\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":18},"01M7BYX4PM4HGNZ0QBZ54BTG1N","local-capability","Writes files on the local workspace. Used to prove Phase 1 refuses local-capability permissions.","https:\u002F\u002Fgithub.com\u002Fsecure-workflows\u002Fgaia\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Flocal-capability\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":18},"01M7BYX1KVPKHHZ5Z3R3BB0QQA","incident-review","Run an incident postmortem. Stands in for a Claude Code skill library imported read-only from .claude\u002Fskills\u002F.","https:\u002F\u002Fgithub.com\u002Fsecure-workflows\u002Fgaia\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fincident-review\u002FSKILL.md",[],[]]