repo-standardslisted
This skill should be used when the user asks "如何設定新 repo", "release workflow 怎麼寫", "release-please 怎麼用", "lint 怎麼設定", "eslint config 怎麼寫", "新增 repo 要怎麼設定", "git worktree 怎麼設定", "設定 code review workflow", "設定 Drone CI", "drone.yml 怎麼寫", "CI 怎麼設定", "部署怎麼設定", "避免重複部署", "deploy gating", "Coolify 部署 pipeline", "set up new repo", "configure ESLint", "set up release workflow", "set up Drone CI", "set up git worktree", "add a .drone.yml pipeline", "avoid duplicate deploy", "configure CD / deploy", "設定 Vitest", "設定 Bun", "設定測試框架", "upgrade to ESLint 9", "migrate to flat config", "audit CI setup", "check release workflow", "檢查 repo 設定", "更新 AGENTS.md", "AGENTS.md 讀 CLAUDE.md", "同步 AGENTS.md", "sync AGENTS.md with CLAUDE.md", or needs to set up Drone CI/CD, release automation, deploy gating, ESLint configuration, git worktree, AGENTS.md handoff, or code review workflows for a repository.
jurislm/jurislm-tools · ★ 0 · AI & Automation · score 59
Install: claude install-skill jurislm/jurislm-tools
# JurisLM Repo 設定規範
---
## Repo 分類
| 類型 | 適用 Repo | release-type | Runtime | ESLint 基礎 |
|------|---------|-------------|---------|------------|
| **Next.js** | Next.js web app repos | `node` | Bun | `eslint-config-next` |
| **Node/TS** | Node/TypeScript service repos | `node` | Bun | `@eslint/js` + `typescript-eslint` |
| **Plugin** | Content-first plugin repos | `simple` | — | 無 TS 原始碼,不需要 ESLint |
| **Monorepo** | `jurislm/entire`(唯一已驗證 reference)及其他待驗收 monorepo | `node` | Bun | `@entire/eslint-config` 或目標 repo 的既有設定 |
## Verified Reference 與導入目標
- `jurislm/entire` 是目前唯一已透過可觀測驗收證明的 release delivery 與 monorepo CI/CD reference。
- 其他 repo 都是 adoption target;完成該 repo 自己的 CI、release、部署/發布與 readback 驗收前,不得標示為 verified reference,也不得把它的拓撲當成組織標準。
- `entire` 的 reference 範圍是可驗證的不變量(trusted main delivery、Turborepo 與安全 release contract),不是要複製它的 Runtime、Coolify 部署或 app 拓撲。
---
## Agent 指引檔同步:AGENTS.md 讀取 CLAUDE.md
`CLAUDE.md` 是 JurisLM repo 的人機協作規範單一來源;`AGENTS.md` 只作為 Codex / agents 的入口轉接檔。
執行 `/repo-standards` 審查任一 repo 時,必須先檢查 repo 內是否存在 `AGENTS.md`:
- 若 repo 內沒有 `AGENTS.md`:不需要新增,除非使用者明確要求。
- 若 repo 內有一個或多個 `AGENTS.md`:逐一更新為讀取同層 `CLAUDE.md`;若同層沒有 `CLAUDE.md`,則讀取 repo 根目錄 `CLAUDE.md`。
- 不要把 `CLAUDE.md` 全文複製進 `AGENTS.md`;避免兩份規範 drift。
- 若找不到可對應的 `CLAUDE.md`:先回報阻塞,不要產生空泛或過期規則。
標準 `AGENTS.md` 內容:
```markdown
# AGENTS.md instructions
請先閱讀並遵守同目錄的 `CLAUDE.md`。
若本目錄沒有 `CLAUDE.md`,請改讀 repo 根目錄的 `CLAUDE.md`。
本檔只作為 agents 入口;實際 repo 規範以 `CLAUDE.md` 為準。
```
---
## 變更追蹤
**預設以 Line