[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6QPRTW5A9XD7M27P5RHNYJ0":3,"skill-same:01M6QPRTW5A9XD7M27P5RHNYJ0":65},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":14,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":51,"install":52,"resources":64},"01M6QPRTW5A9XD7M27P5RHNYJ0","set-up-hooks",null,"Set up recommended git hooks in the current repository. Strips Claude and Copilot co-author lines from commit messages, and runs the repo's tests before each commit when it has any. Use only when the user explicitly asks to set up hooks.","olillevik\u002Fdotfiles","olillevik","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F836761?v=4","01M6QPQM0P3JSMXH2WS5A25DNV","Ørjan Markhus Lillevik","01M6QPQM57Y8KWZ172TY1R7RA5",0,"MIT","https:\u002F\u002Fgithub.com\u002Folillevik\u002Fdotfiles\u002Fblob\u002Fmain\u002Fplugins\u002Fmy-plugin\u002Fskills\u002Fset-up-hooks\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"set up hooks","hooks","SET","up","use","author","true","github copilot cli","co","tests","only","cli","repo","messages","repository","code","copilot","commit","github copilot","github","2026-11-10 10:12:30",false,"---\nname: set-up-hooks\ndescription: Set up recommended git hooks in the current repository. Strips Claude and Copilot co-author lines from commit messages, and runs the repo's tests before each commit when it has any. Use only when the user explicitly asks to set up hooks.\ndisable-model-invocation: true\nlicense: MIT\ncompatibility: Claude Code, GitHub Copilot CLI\n---\n\n# Set up hooks\n\nRun this skill by hand from the repository, once per clone. It writes hooks into the hooks directory that git uses in this clone. It never changes `core.hooksPath`, so other repositories and other machines are unaffected.\n\n## Steps\n\n1. **Find the hooks directory.** Run `git rev-parse --git-path hooks`. Stop and report if the command fails.\n   - Done when you have the path.\n\n2. **Check for existing hooks.** Look at `commit-msg` and `pre-commit` in that directory. A file whose second line is `# set-up-hooks` is ours and may be replaced. Any other existing file: stop and ask the user before replacing it.\n   - Done when neither file belongs to someone else.\n\n3. **Choose the test command for `pre-commit`.** Use the first match below, and ask the user if more than one applies:\n   - `package.json` with a `test` script: `npm test`, or `pnpm test` or `yarn test` when `pnpm-lock.yaml` or `yarn.lock` exists.\n   - `go.mod`: `go test .\u002F...`\n   - `Cargo.toml`: `cargo test`\n   - `*.sln` or `*.csproj`: `dotnet test`\n   - `pyproject.toml`, `pytest.ini`, or a `tests\u002F` directory: `pytest`\n   - a `test` target in `Makefile`: `make test`\n\n   If nothing matches, ask the user for the command, or skip `pre-commit` if the repo has no tests.\n   - Done when you have a command, or the user has chosen to skip it.\n\n4. **Write the hooks.** Create the hooks directory if it is missing. Write `commit-msg` from the template below. Write `pre-commit` only when you have a test command. Make each file you write executable.\n   - Done when the files exist and are executable.\n\n5. **Verify and report.** Run `sh -n` on each file you wrote. Report the hook paths, the test command, and that `core.hooksPath` is unchanged. Tell the user the hooks apply to this clone only, so the skill must be run in each clone. Do not use `git commit --no-verify` to get past a hook unless the user asks.\n\n## Templates\n\n`commit-msg`:\n\n```sh\n#!\u002Fbin\u002Fsh\n# set-up-hooks\nset -eu\n\nmsg=$1\ntmp=\"$msg.tmp\"\n\ngrep -viE '^Co-authored-by:.*(claude|copilot|@anthropic\\.com)' \"$msg\" > \"$tmp\" &&\nmv \"$tmp\" \"$msg\"\n```\n\n`pre-commit`, only with a test command:\n\n```sh\n#!\u002Fbin\u002Fsh\n# set-up-hooks\nset -eu\n\n\u003Ctest command>\n```\n","# Set up hooks\n\nRun this skill by hand from the repository, once per clone. It writes hooks into the hooks directory that git uses in this clone. It never changes `core.hooksPath`, so other repositories and other machines are unaffected.\n\n## Steps\n\n1. **Find the hooks directory.** Run `git rev-parse --git-path hooks`. Stop and report if the command fails.\n   - Done when you have the path.\n\n2. **Check for existing hooks.** Look at `commit-msg` and `pre-commit` in that directory. A file whose second line is `# set-up-hooks` is ours and may be replaced. Any other existing file: stop and ask the user before replacing it.\n   - Done when neither file belongs to someone else.\n\n3. **Choose the test command for `pre-commit`.** Use the first match below, and ask the user if more than one applies:\n   - `package.json` with a `test` script: `npm test`, or `pnpm test` or `yarn test` when `pnpm-lock.yaml` or `yarn.lock` exists.\n   - `go.mod`: `go test .\u002F...`\n   - `Cargo.toml`: `cargo test`\n   - `*.sln` or `*.csproj`: `dotnet test`\n   - `pyproject.toml`, `pytest.ini`, or a `tests\u002F` directory: `pytest`\n   - a `test` target in `Makefile`: `make test`\n\n   If nothing matches, ask the user for the command, or skip `pre-commit` if the repo has no tests.\n   - Done when you have a command, or the user has chosen to skip it.\n\n4. **Write the hooks.** Create the hooks directory if it is missing. Write `commit-msg` from the template below. Write `pre-commit` only when you have a test command. Make each file you write executable.\n   - Done when the files exist and are executable.\n\n5. **Verify and report.** Run `sh -n` on each file you wrote. Report the hook paths, the test command, and that `core.hooksPath` is unchanged. Tell the user the hooks apply to this clone only, so the skill must be run in each clone. Do not use `git commit --no-verify` to get past a hook unless the user asks.\n\n## Templates\n\n`commit-msg`:\n\n```sh\n#!\u002Fbin\u002Fsh\n# set-up-hooks\nset -eu\n\nmsg=$1\ntmp=\"$msg.tmp\"\n\ngrep -viE '^Co-authored-by:.*(claude|copilot|@anthropic\\.com)' \"$msg\" > \"$tmp\" &&\nmv \"$tmp\" \"$msg\"\n```\n\n`pre-commit`, only with a test command:\n\n```sh\n#!\u002Fbin\u002Fsh\n# set-up-hooks\nset -eu\n\n\u003Ctest command>\n```\n",{"name":5,"license":15,"description":7,"compatibility":44,"disable-model-invocation":45},"Claude Code, GitHub Copilot CLI",true,"main","843d37d1e917e8408eef63e4f5a0a1dee063f0e7","plugins\u002Fmy-plugin\u002Fskills\u002Fset-up-hooks","https:\u002F\u002Fgithub.com\u002Folillevik\u002Fdotfiles","https:\u002F\u002Fgithub.com\u002Folillevik","2026-11-02 03:06:57",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":45},[54,57,60],{"tool":55,"command":56},"npx","npx skills add olillevik\u002Fdotfiles --skill set-up-hooks",{"tool":58,"command":59},"bunx","bunx skills add olillevik\u002Fdotfiles --skill set-up-hooks",{"tool":61,"command":62},"pnpm","pnpm dlx skills add olillevik\u002Fdotfiles --skill set-up-hooks","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Folillevik\u002Fdotfiles\u002Fblob\u002Fmain\u002Fplugins\u002Fmy-plugin\u002Fskills\u002Fset-up-hooks\u002FSKILL.md",[],[66,89,108,123,139,157],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":39},"01M6QPSR8GQ6YP0DA070N75SXV","sopra-steria-brand","Apply Sopra Steria brand styling to a presentation, document, web page, diagram, or other artifact when the user explicitly wants Sopra Steria branding or refers to Sopra Steria brand rules, colors, typography, logo usage, or corporate visual identity. Do not use for generic design polish or unrelated branding work.","https:\u002F\u002Fgithub.com\u002Folillevik\u002Fdotfiles\u002Fblob\u002Fmain\u002Fplugins\u002Fmy-plugin\u002Fskills\u002Fsopra-steria-brand\u002FSKILL.md",[],[73,74,75,37,35,34,76,77,78,79,23,80,81,82,83,84,85,86,87,88],"brand","sopra steria brand","design","logo","page","Rules","work","unrelated","document","do","artifact","visual","usage","for","apply","generic",{"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":39},"01M6QPSHQTE8YJZJCXYKHW1H43","skill-creator","Create, review, and improve skills in this repository for GitHub Copilot CLI and Claude Code. Use when drafting a new skill, revising an existing skill under plugins\u002Fmy-plugin\u002Fskills\u002F, tightening trigger boundaries, or making a skill leaner and more portable.","https:\u002F\u002Fgithub.com\u002Folillevik\u002Fdotfiles\u002Fblob\u002Fmain\u002Fplugins\u002Fmy-plugin\u002Fskills\u002Fskill-creator\u002FSKILL.md",[],[96,97,98,30,37,35,99,34,33,100,23,101,102,103,104,26,105,106,86,107],"skill creator","creator","review","create","improve","new skill","existing skill","trigger","improve skills","more","my","Existing",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":39},"01M6QPS4GBQHMFZJS97CEE32HT","set-up-workflow","Set up how this repo's issues and tickets are handled. Runs setup-matt-pocock-skills, then records the spec and ticket workflow under \"Issue tracker\" in AGENTS.md. Use only when the user explicitly asks to set up the workflow.","https:\u002F\u002Fgithub.com\u002Folillevik\u002Fdotfiles\u002Fblob\u002Fmain\u002Fplugins\u002Fmy-plugin\u002Fskills\u002Fset-up-workflow\u002FSKILL.md",[],[115,21,22,116,30,38,37,35,34,117,118,31,23,29,119,120,121,122,26,25],"workflow","set up workflow","issues","how","tracker","ticket","tickets","records",{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":39},"01M6QPRZ93DHGFEF7Z9YD5GDX0","set-up-my-plugin","Copy the minimalist-engineering principles into the user-level instruction files for Claude Code and Copilot CLI.","https:\u002F\u002Fgithub.com\u002Folillevik\u002Fdotfiles\u002Fblob\u002Fmain\u002Fplugins\u002Fmy-plugin\u002Fskills\u002Fset-up-my-plugin\u002FSKILL.md",[],[130,21,22,106,131,30,38,37,35,34,132,133,134,135,136,137,138,26,25,86],"plugin","set up my plugin","engineering","user","minimalist","files","copy","engineering principles","principles",{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":39},"01M6QPRDBW1T3DTDTGSYXDF5Q5","set-up-github","Set up a GitHub repository for trunk-based development. Squash-only merges with the PR title as the commit title, head branches deleted on merge, and a pull request required for the default branch. When the repo has CI, also requires named checks to pass and the branch to be up to date before merge. Use only when the user explicitly asks to set up GitHub.","https:\u002F\u002Fgithub.com\u002Folillevik\u002Fdotfiles\u002Fblob\u002Fmain\u002Fplugins\u002Fmy-plugin\u002Fskills\u002Fset-up-github\u002FSKILL.md",[],[38,21,22,146,37,35,147,148,149,150,151,152,31,29,153,154,155,156,25,86],"set up github","pr","development","pull","ci","squash","branch","default","pr title","branches","as",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":39},"01M6QPR87674ZCQHDFMCT33ATB","minimalist-engineering","Keep code minimal and avoid over-engineering.","https:\u002F\u002Fgithub.com\u002Folillevik\u002Fdotfiles\u002Fblob\u002Fmain\u002Fplugins\u002Fmy-plugin\u002Fskills\u002Fminimalist-engineering\u002FSKILL.md",[],[132,134,164,30,38,37,35,34,165,166,167,26,25],"minimalist engineering","copilot cli","minimal","keep"]