set-up-my-plugin
Copy the minimalist-engineering principles into the user-level instruction files for Claude Code and Copilot CLI.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- set-up-my-plugin
- license
- MIT
- description
- Copy the minimalist-engineering principles into the user-level instruction files for Claude Code and Copilot CLI.
- compatibility
- Claude Code, GitHub Copilot CLI
- disable-model-invocation
- true
03 SKILL.md 正文
Set up my-plugin
Run this skill by hand from the dotfiles checkout. It copies the principles from the minimalist-engineering skill into one user-level instruction file for each agent.
Target files
| Agent | File | Why this file |
|---|---|---|
| Claude Code | ~/AGENTS.md |
Claude Code loads AGENTS.md from the working directory and every directory above it, so this file applies to projects under your home folder. |
| Copilot CLI | ~/.copilot/copilot-instructions.md |
This is the user-level instructions file that Copilot CLI documents. |
Do not write ~/.claude/CLAUDE.md, because this setup uses AGENTS.md for Claude Code. Do not write ~/.claude/AGENTS.md or ~/.copilot/AGENTS.md, because neither tool loads them.
Steps
- Run
git rev-parse --show-toplevelfrom the dotfiles checkout and call the output<root>. Stop and ask for the checkout path if the command fails. - Set
<source>to<root>/plugins/my-plugin/skills/minimalist-engineering/SKILL.md. Stop and report if that file does not exist. - Build the block. Copy the text of
<source>below its closing---frontmatter line exactly. Wrap that text in these markers:<!-- my-plugin:engineering start -->before it and<!-- my-plugin:engineering end -->after it. - For each target file, do the following:
- Create the parent directory if it does not exist.
- If the target is a symlink, stop and report it. Do not write through a symlink.
- If the target does not exist, create it with the block.
- If the target contains both markers, replace the text from the start marker to the end marker with the block.
- If the target exists without markers, append the block to the end of the file.
- Print each target path and confirm that each marker appears once.
The block is a copy, not a link. Rerun this skill after you edit minimalist-engineering.
04 同仓库更多 Skills
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.
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/my-plugin/skills/, tightening trigger boundaries, or making a skill leaner and more portable.
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.
set-up-hooks
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.
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.
minimalist-engineering
Keep code minimal and avoid over-engineering.