setup-skills
為這個 repo 設定工程技能所需的組態 — 議題追蹤器、領域文件位置、git 護欄 hook,以及本機議題用的 CI 檢查。初始化跑一次;重跑可換追蹤器或補裝、更新護欄。
Skill by Luca0x5755
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/luca0x5755-setup-skills
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: devops
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/setup-skills
What's inside
- Skill name
setup-skills- Description
- 為這個 repo 設定工程技能所需的組態 — 議題追蹤器、領域文件位置、git 護欄 hook,以及本機議題用的 CI 檢查。初始化跑一次;重跑可換追蹤器或補裝、更新護欄。
- License
- MIT
- Instructions
- 101 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (3)
- SKILL.md
- check-issues.sh
- issues-check.yml
SKILL.md (first lines)
# Setup Skills Write the per-repo configuration the other skills assume. Prompt-driven, not a script: explore, present, confirm, then write. Produces: - `docs/agents/issue-tracker.md` — where issues live - `docs/agents/domain.md` — where `GLOSSARY.md` and ADRs live, and the collaboration mode - An `## Agent skills` section in `CLAUDE.md` pointing at both - Copies of `guard-git.sh` and `guard-secrets.sh` in `.claude/hooks/`, registered in `.claude/settings.json` - On a local markdown tracker: `.github/workflows/issues-check.yml` and `.github/scripts/check-issues.sh` - In private mode: entries in `.git/info/exclude` ## 1. Explore Read what exists. Assume nothing. - `git remote -v` — GitHub? GitLab? No remote? - `CLAUDE.md` / `AGENTS.md` at root — does either exist? Does either already have an `## Agent skills` section? - `GLOSSARY.md`, `docs/adr/` — is a domain layer already here? - `docs/agents/` — has this skill already run? - `docs/issues/` or `.scratch/` — sign of a local-markdown issue convention; either counts, and an existing convention is recorded as found, never migrated - `.claude/settings.json` and `.claude/hooks/` — hooks already registered? Which events and matchers? Are the guard copies present, and do they still match their source (Section E)? - `.github/workflows/issues-check.yml` and `.github/scripts/check-issues.sh` — present, and do they still match their source (Section F)? - Monorepo signals: `pnpm-workspace.yaml`, a `workspaces` field, populated `packages/*` ## 2. Present and ask Summarise what is present and what is missing. Take the sections in order — one section, one answer, then the next. Lead each with the recommended answer so it can be accepted in a word. **A derived proposal is not an answer** — a GitHub remote proposes GitHub Issues, it does not settle Section A, and an existing `docs/agents/` does not settle it either. Only the three sections carrying their own skip condition go unasked: B without monorepo signals, C on a solo repo, F off a local markdown tracker. Every other section collects a nod, re-runs included. **Section A — Issue tracker.** Where issues live for this repo. `to-tickets`, `to-spec`, and `triage` read from and write to it; they need to know whether to run `gh issue create`, write a file under `docs/issues/`, or follow something you describe. Ask, leading with the proposal from the remote: GitHub remote → GitHub Issues (`gh` CLI). GitLab remote → GitLab Issues (`glab` CLI). No remote → local markdown, one file per issue: `docs/issues/ISSUE-NNN-<slug>.md`, `NNN` three digits, current highest + 1. Anything else → ask for one paragraph of description and record it as prose. A local markdown issue lives and dies on one branch: `/implement` deletes it when done, and Section F's CI check enforces that. Work that outlives the branch belongs in a real tracker. **Section B — Domain docs.** Default to **single-context**: one `GLOSSARY.md` and one `docs/adr/` at the repo root. Write it without asking. Offer **multi-context** — a root `GLOSSARY-MAP.md` pointing at per-package `GLOSSARY.md` files — only when exploration found monorepo signals. **Existing glossary migration.** When `CONTEXT.md` or `CONTEXT-MAP.md` exists, include its rename to `GLOSSARY.md` or `GLOSSARY-MAP.md` in the draft for step 3. Preserve contents, update map entries, domain configuration, navigation pointers and private exclusion paths. Tracked files use `git mv`; private files use a filesystem rename. If both old and new names exist, compare them and ask how to reconcile instead of overwriting either. **Section C — Collaboration mode.** Ask: **does everyone committing to this repo use these skills?** Solo repos answer themselves — skip the question and record `shared`. - **shared** (solo repo, or the whole team runs the skills): everything the skills write is committed. Current behaviour; nothing extra to set up. - **private** (mixed-tooling team — teammates never opted into these skills): add `GLOSSARY.md`, `docs/agents/`, `docs/decision-log.md`, `docs/capabilities/`, `docs/03_architecture_design.md`, `docs/05_frontend_spec.md`, and `docs/mockup/` to **`.git/info/exclude`** — per-clone, never committed, invisible to teammates. Two things stay shared regardless: `docs/adr/` (decisions belong next to the code they constrain) and tracker issues (they live where the team already looks). **Section D — Comment language.** What language code comments are written in. Skills that write or restyle comments (`refactor` among them) follow the project's *documented* conventions — this section does the documenting. Propose from what the existing comments already do; when the repo is silent, propose Traditional Chinese. The answer is **team truth**: comments ship with the code, so like `docs/adr/` it stays in the committed file in every mode — step 4 has the private-mode placement. Record the reasoning in `domain.md` so future sessions apply it: a document only your tooling reads has no rot-detection loop. And a private file must not become a shadow copy of team truth — a fact teammates should read gets promoted into the committed `CLAUDE.md`/`AGENTS.md` or an ADR, never fixed by committing the private file. **Section E — Guard hooks.** Two PreToolUse hooks on `Bash`, copied in from the luca-skills repo: `guard-git.sh` (blocks `git add -A`/`git add .`, force push, `git reset --hard` beyond HEAD, `--no-verify`, PR merges — merging is the user's button — and the three `/git-commit` rules a machine can check: branch commits with a verified version-only release exception, message via `-F` not `-m`, no trailers) and `guard-secrets.sh` (blocks `git commit` while a credential literal sits in the staged diff). Prose rules hold roughly 70% compliance; these red lines ride on exit code 2 instead. Propose both, one nod per hook. - **Source**: resolve the luca-skills repo from this skill folder's link target (`(Get-Item <skill-dir> -Force).Target` — the repo root is two levels up); the files are `<repo>/hooks/guard-git.sh` and `<repo>/hooks/guard-secrets.sh`. Unresolvable → ask where the repo lives. - **Copy byte-for-byte into `.claude/hooks/`**, never reference the repo by path: a copy that ages still runs the old guard, while a pointer to a moved repo guards nothing and says nothing. Their tests stay in luca-skills — the copy is verbatim, so a green source is a green copy. - **Drift**: copies present but differing from source → show the diff, propose refreshing. - **Register** each under `PreToolUse`, matcher `Bash`, in `.claude/settings.json` as `bash "$CLAUDE_PROJECT_DIR/.claude/hooks/<name>.sh"`. Merge into whatever hooks structure exists — existing entries stay untouched. **Section F — Issues check.** Only when Section A settled on local markdown at `docs/issues/`; every other tracker skips it unasked, and a `.scratch/` tracker needs none (it is gitignored). A GitHub Actions check that fails a PR whose net change adds files under `docs/issues/` — every issue the branch created must be gone by merge. Propose it, one nod for the pair. - **Source**: `issues-check.yml` and `check-issues.sh`, beside this `SKILL.md`. - **Copy byte-for-byte** to `.github/workflows/issues-check.yml` and `.github/scripts/check-issues.sh`. The tests stay in luca-skills; the copy is verbatim, so a green source is a green copy. - **Drift**: copies present but differing from source → show the diff, propose refreshing. ## 3. Confirm Show a draft of every file to be written and the block to be added to `CLAUDE.md`. Let it be edited before anything lands on disk. ## 4. Write Pick the file to edit: `CLAUDE.md` if it exists, else `AGENTS.md`, else ask which to create. Never create one when the other already exists. **In private mode, the `## Agent skills` block goes into `CLAUDE.local.md` instead** — a committed file must not point at paths teammates' clones don't have. One line still goes into the committed `CLAUDE.md`/`AGENTS.md`: the comment-language convention. It documents the code, not the tooling, so it belongs where the code's readers look. If an `## Agent skills` block is already there, update it in place. Do not touch the surrounding sections. ```markdown ## Agent skills ### Issue tracker [one line]. See `docs/agents/issue-tracker.md`. ### Domain docs [one line — "single-context" or "multi-context", and "shared" or "private"]. See `docs/agents/domain.md`. ### Comment language [one line — e.g. "程式註解一律使用繁體中文"]. ``` `docs/agents/domain.md` must record the collaboration mode and, in private mode, which paths are excluded — downstream skills read it to know whether their output is committed or personal. `docs/agents/issue-tracker.md` must record, concretely: the exact command to create an issue, the exact command to list open issues, how a blocking relationship is expressed, and where issue bodies live. Vague prose here makes every downstream skill guess. For local markdown add the file-name pattern, the next-number rule, and the lifecycle: delete the file when done. ## 5. Done Say which skills now read these files, and that `docs/agents/*.md` can be hand-edited later — re-running this skill is for switching trackers or refreshing the guard-hook and issues-check copies. After installing Section F, tell the user that `issues-check` blocks merging only once they mark it required in the repo's branch protection settings. That switch is theirs to flip.
From Luca0x5755/luca-skills, MIT.
More from Luca0x5755/luca-skills
- 0.601score
code-review
Luca0x5755
沿三條軸審查自某個定點以來的 diff — Standards(有沒有遵守這個 repo 的規範?)、Spec(有沒有做到票要求的事?)與 Reuse(倉庫裡有沒有現成的?)。當使用者要審查一個分支、一個 PR 或進行中的工作時使用,也對應 "code review"、"review this…
SkillAFreshness: A★ 3Claude Code +9 - 0.601score
consolidate-docs
Luca0x5755
對專案內凌散的規格文件動一次 brownfield 手術:全量盤點→提案報告(目標樹、映射表、衝突表)→核准後按 capability 分批遷移成 docs/specs/ 真相層,原檔進 archive 不刪。日常維護走管線,不重跑這把刀。
SkillAFreshness: A★ 3Claude Code +9 - 0.601score
frontend-spec
Luca0x5755
為有 UI 的規格定前端真相:路由表、四態頁面與 style tokens 寫進前端合訂本(docs/05_frontend_spec.md,章節標能力)、.pen mockup 常駐 docs/mockup/ — 都在 feature branch 上改,與程式碼同 PR 合併。/to-spec…
SkillAFreshness: A★ 3Claude Code +9 - 0.598score
domain-modeling
Luca0x5755
建立並磨利一個專案的領域語言 — 挑戰模糊術語、拆開超載的詞、把難以回頭的決策寫成 ADR。當討論程式庫術語、直接撰寫或編輯 GLOSSARY.md 或 ADR、命名含糊、或同一個詞在不同地方意思不同時使用。
SkillAFreshness: A★ 3Claude Code +9 - 0.598score
grilling
Luca0x5755
就一個計畫、決策或想法窮追不捨地拷問使用者。當使用者想壓力測試自己的思路、想被質疑一個設計,或說出 "grill"、「拷問我」、「戳破我」這類觸發語時使用。
SkillAFreshness: A★ 3Claude Code +9 - 0.598score
browser-evidence
Luca0x5755
把既定案例清單跑成可交付的證據 — 截圖或原始回應、網路紀錄與被測版本 manifest。瀏覽器是預設通道,無 UI 案例走 api/cli,卡人一步由操作者接手;落在 docs/uat/,走 evidence 分支 PR 合回基底分支。
SkillAFreshness: A★ 3Claude Code +9 - 0.598score
diagnosing-bugs
Luca0x5755
對付硬 bug、間歇性失敗與效能回歸的紀律迴圈 — 重現、最小化、立假說、下探針、修好、補回歸測試。當東西壞了而原因不明顯時使用,也對應 "flaky"、"regression"、「時好時壞」、「找不到原因」等說法。
SkillAFreshness: A★ 3Claude Code +9 - 0.598score
implement-spec
Luca0x5755
依規格與票的阻塞圖,在隔離工作樹平行建置整份規格並整合至單一分支;支援已設定的追蹤器,可由操作者介入,PR 視需要建立。
SkillAFreshness: A★ 3Claude Code +9 - 0.598score
prototype
Luca0x5755
做一個用完即丟的原型來回答一個設計問題 — 狀態與邏輯用可執行的程式,UI 則做幾個可切換的變體。當一個設計問題在紙上定不下來時使用,也對應 "prototype"、"spike"、「先做個雛形看看」等說法。
SkillAFreshness: A★ 3Claude Code +9 - 0.598score
tdd
Luca0x5755
測試驅動開發,紅—綠—重構。當要以測試先行的方式建置功能或修 bug、當使用者提到 "TDD"、"red-green"、「紅綠」,或要求寫出能撐過重構的測試時使用。
SkillAFreshness: A★ 3Claude Code +9 - 0.595score
git-release
Luca0x5755
先在終端機預覽繁體中文發布摘要,使用者確認後才更新版本、commit、打 tag、推送並發佈 release 頁面。
SkillAFreshness: A★ 3Claude Code +9 - 0.595score
improve-codebase-architecture
Luca0x5755
勘查程式庫的深化機會,排序後呈上,再對你挑中的那一個進行拷問。
SkillAFreshness: A★ 3Claude Code +9
Signals
- Stars
- 3
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Oct 8, 2026 (21 days ago)
- Last release
- Oct 8, 2026 (21 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Luca0x5755/luca-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Luca0x5755
- 0.601score
frontend-spec
Luca0x5755
為有 UI 的規格定前端真相:路由表、四態頁面與 style tokens 寫進前端合訂本(docs/05_frontend_spec.md,章節標能力)、.pen mockup 常駐 docs/mockup/ — 都在 feature branch 上改,與程式碼同 PR 合併。/to-spec…
SkillAFreshness: A★ 3Claude Code +9 - 0.601score
code-review
Luca0x5755
沿三條軸審查自某個定點以來的 diff — Standards(有沒有遵守這個 repo 的規範?)、Spec(有沒有做到票要求的事?)與 Reuse(倉庫裡有沒有現成的?)。當使用者要審查一個分支、一個 PR 或進行中的工作時使用,也對應 "code review"、"review this…
SkillAFreshness: A★ 3Claude Code +9 - 0.601score
consolidate-docs
Luca0x5755
對專案內凌散的規格文件動一次 brownfield 手術:全量盤點→提案報告(目標樹、映射表、衝突表)→核准後按 capability 分批遷移成 docs/specs/ 真相層,原檔進 archive 不刪。日常維護走管線,不重跑這把刀。
SkillAFreshness: A★ 3Claude Code +9 - 0.598score
browser-evidence
Luca0x5755
把既定案例清單跑成可交付的證據 — 截圖或原始回應、網路紀錄與被測版本 manifest。瀏覽器是預設通道,無 UI 案例走 api/cli,卡人一步由操作者接手;落在 docs/uat/,走 evidence 分支 PR 合回基底分支。
SkillAFreshness: A★ 3Claude Code +9 - 0.598score
diagnosing-bugs
Luca0x5755
對付硬 bug、間歇性失敗與效能回歸的紀律迴圈 — 重現、最小化、立假說、下探針、修好、補回歸測試。當東西壞了而原因不明顯時使用,也對應 "flaky"、"regression"、「時好時壞」、「找不到原因」等說法。
SkillAFreshness: A★ 3Claude Code +9 - 0.598score
domain-modeling
Luca0x5755
建立並磨利一個專案的領域語言 — 挑戰模糊術語、拆開超載的詞、把難以回頭的決策寫成 ADR。當討論程式庫術語、直接撰寫或編輯 GLOSSARY.md 或 ADR、命名含糊、或同一個詞在不同地方意思不同時使用。
SkillAFreshness: A★ 3Claude Code +9
Cite this page
setup-skills. Agent Mart. https://agentmart.dev/skills/luca0x5755-setup-skills (last updated 2026-10-24)