project-init
Skill0 starsChanged 2 months agoMITView on GitHub
「手動專用」新專案開場設定:讀取並優化 implement.md、建立 shared project memory。只有在使用者親自輸入 /project-init 時才執行;嚴禁自動觸發、嚴禁因為使用者提到「新專案」「初始化」「implement.md」「memory」就自己啟用。每個專案只跑一次。
46 other projects use a version of this.
Adopted by
Most recently taken up by
- hankunpeng/skillstheir own version, first seen Nov 29, 2026
- u9401066/pubmed-search-mcptheir own version, first seen Nov 25, 2026
- DogodaBjorn/pbi-ateliertheir own version, first seen Nov 22, 2026
- conversion-agency/agentic-seo-skillstheir own version, first seen Nov 22, 2026
- tarrragon/claude-skillstheir own version, first seen Nov 19, 2026
- emadabdulrahim/claude-skillstheir own version, first seen Nov 16, 2026
Used with
Projects with it also use harness-audit, workflow and 3 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
sattva2020Skillharness-audit
Audits a codebase for "AI-agent harness" maturity across six layers (context engineering, tools & MCP, memory & state, tests & evals, observability, guardrails & approvals). Scores each layer, flags AGENTS.md/CLAUDE.md drift, gives prioritized fixes. Use for "audit harness", "оцени харнес", "check agent readiness", "is this project agent-ready", "проверь готовность к AI-агентам".
Also in 3 projects that use this
VercelSkillworkflow
Creates durable, resumable workflows using Vercel's Workflow DevKit. Use when building workflows that need to survive restarts, pause for external events, retry on failure, or coordinate multi-step operations over time. Triggers on mentions of "workflow", "durable functions", "resumable", "workflow devkit", or step-based orchestration.
Also in 3 projects that use this
MicrosoftSkillrelease
Use ONLY when the user explicitly asks to cut/publish a Huabu desktop release or tag a version. Performs an outward action — bumps the version in apps/desktop/package.json, commits + annotated-tags vX.Y.Z, and pushes the branch + tag. That tag push auto-builds the macOS/Windows installers and publishes a GitHub Release. Provides `status`, `bump`, `tag-push`, and a one-command `run` (bump → tag-push).
Also in 4 projects that use this
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 3 projects that use this
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 3 projects that use this
Other versions46 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 46
- bkywksj/knowledge-base★ 349same name
- zephyrwang6/myskill★ 339same name
- AlexZio00/sovereign-skills★ 158same name
- claude-world/director-mode-lite★ 80same name
- conversion-agency/agentic-seo-skills★ 52same name
- agencia-conversion/agentic-seo-skills★ 51same name
- u9401066/pubmed-search-mcp★ 30same name
- mathruffian-dot/cross-device-agent-skills★ 27same name
- hankunpeng/skills★ 26same name
- ecodelearn/template-claude-code-open★ 24same name
36 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Files
Project Init(開場一次性設定)
啟用規則(最高優先)
- 只由使用者執行:唯一合法觸發是使用者輸入
/project-init。其他情況一律不啟用, 即使對話提到新專案、初始化、implement.md、memory 也一樣。 - 每個專案只跑一次:起手先檢查哨兵檔
.project-init.done。存在就立刻停止, 回一句「此專案已初始化(見 .project-init.done),如需重跑請先刪除該檔」,不做任何修改。 - 全程在當前專案根目錄操作,不動其他專案。
起手:哨兵檢查
test -f .project-init.done && cat .project-init.done有輸出 → 停止(見上)。沒有 → 往下跑步驟 1。
步驟 1:讀 implement.md(條件執行)
ls implement.md IMPLEMENT.md docs/implement.md 2>/dev/null- 找不到 → 跳過步驟 1、2,直接進步驟 3,並在最後回報寫明「無 implement.md,略過優化」。
- 找到 → 完整讀完(不要只讀開頭),再進步驟 2。
步驟 2:優化 implement.md(只在步驟 1 有讀到時)
先備份:cp implement.md implement.md.bak(已有 .bak 就加時間戳)。
用這份檢查表逐條掃,只改真的有問題的地方,不要重寫整份、不要為了顯得有做事而加篇幅:
| # | 檢查項 | 不合格的樣子 | 怎麼改 |
| 1 | 目標可驗收 | 「優化效能」「改善體驗」 | 換成可測的完成條件(數字、指令、預期輸出) |
| 2 | 任務顆粒度 | 一條任務橫跨多個模組 | 拆成單一責任的子任務 |
| 3 | 檔案清單 | 沒寫會動到哪些檔 | 每個子任務補上 檔案: 一行 |
| 4 | 依賴順序 | 全部平鋪、看不出先後 | 標 依賴: 無 / 1,2;同批平行任務檔案不得重疊 |
| 5 | 過度設計 | 為未來需求預留的抽象層、設定檔、介面 | 砍掉並在該行註明「YAGNI:需要時再加」 |
| 6 | 驗證方式 | 沒說怎麼確認做完了 | 補一行可執行的檢查(測試指令 / 手動步驟) |
| 7 | 未決事項 | 假設被寫成事實 | 獨立 ## 待確認 區塊列出,標明誰來決定 |
改法:用 Edit 就地修改,保留原作者的結構與用字,不重排章節、不換語言。
改完輸出一張 diff 摘要表:項次 | 原本 | 改成 | 理由(一行一項,不貼整份檔案)。
若 implement.md 本來就過關(沒有任何一條不合格)→ 明講「已檢查 7 項,無需修改」, 不要硬生生改幾個字來交差。
步驟 3:memory-init(永遠執行)
- 確認是 git repo:
git rev-parse --git-dir。- 不是 → 問使用者要不要
git init(memory-init 需要 git hooks)。使用者說不要就跳過本步驟, 在回報中標明「未建立 shared memory:非 git repo」。
- 不是 → 問使用者要不要
- 是 git repo → 依執行環境載入 memory-init:
- Codex:執行
shared-project-memory:source-command-memory-initskill。 - Claude Code / Antigravity:保持既有
shared-project-memory:memory-init流程。 兩者都必須走完原流程;初始化本身 idempotent,不覆蓋既有檔案。
- Codex:執行
- 填
.project-memory/STATE.md與handoff.md時,只寫從 README / 建置檔 /git log真的看得到的事實; 推測的一律標Unverified。不得杜撰進度或任務。
收尾
- 寫哨兵檔:
printf 'project-init done: %s\n' "$(date -Iseconds)" > .project-init.done- 回報(精簡,三行以內+一張表):
- 步驟 1/2:有無 implement.md;有的話貼 diff 摘要表
- 步驟 3:memory scaffold 建了什麼 / 跳過的原因
- 剩下的手動動作:
git add .project-memory .githooks .gitattributes CLAUDE.md AGENTS.md .agents .project-init.done && git commit; 其他機器 clone 後要跑git config core.hooksPath .githooks
硬性禁止
- 不得在沒有使用者明確
/project-init的情況下啟用。 - 不得在哨兵檔存在時重跑。
- 不得覆蓋既有檔案(
.project-memory/*一律「不存在才建」;implement.md是唯一會被就地修改的檔,且必須先備份)。 - 不得杜撰專案進度或測試結果。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

