project-init
Skill27 starsChanged 2 months agoMITView on GitHub
專案初始化技能(三層級自動偵測)。當使用者說「初始化專案」、「專案初始化」、「幫這個專案做初始化」、「開新專案」、「建立專案藍圖」、「幫我 init 專案」等要為當前資料夾建立專案基礎建設的請求時,請一定要使用此技能。本技能會依這台電腦的工具鏈自動建到最高可用層級:L1 本地(AGENTS.md + handoff.md)→ L2 GitHub(私有 repo)→ L3 Obsidian(專案詳細筆記)。
- Reads credentials
- Commits and pushes
38 other projects use a version of this.
Adopted by
Most recently taken up by
- UnBergant/bergant-workflowtheir own version, first seen Nov 8, 2026
- 70asunflower/70asunflower-skillstheir own version, first seen Nov 8, 2026
- u9401066/zotero-keepertheir own version, first seen Nov 8, 2026
- DaeSeokSong/oh-my-ouroborostheir own version, first seen Nov 1, 2026
- ttalkkaklab/social-flowtheir own version, first seen Nov 1, 2026
- claude-world/director-mode-litetheir own version, first seen Nov 1, 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 SDK. 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 sdk", "queue", "event", "push", "subscribe", 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 versions38 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 38
- bkywksj/knowledge-base★ 340same name
- zephyrwang6/myskill★ 339same name
- AlexZio00/sovereign-skills★ 157same name
- claude-world/director-mode-lite★ 80same name
- agencia-conversion/agentic-seo-skills★ 51same name
- u9401066/pubmed-search-mcp★ 28same name
- ecodelearn/template-claude-code-open★ 25same name
- peter-tu-zynkr/zynkr-skill-builder★ 21same name
- SpaceZephyr/allSkills★ 14same name
- mae616/ai-template★ 9same name
28 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
專案初始化技能(三層級自動偵測)
設計理念
一套技能、三個層級。這台電腦裝了什麼工具,就自動建到哪個層級——不用問使用者「你要第幾層級」。
| 層級 | 平台 | 建立的東西 | 讀取時機 |
| L1 本地 | 專案資料夾(建議放在你的雲端硬碟資料夾) | AGENTS.md(專案藍圖)+handoff.md(交接檔) | 每個 session 都讀 |
| L2 GitHub | 私有 repo | git 版本控制+雲端備份 | 指定才讀 |
| L3 Obsidian | 第二大腦 vault | 專案工作流程.md(詳細筆記) | 有需要才讀 |
為什麼藍圖叫
AGENTS.md而不是CLAUDE.md?因為 AGENTS.md 是跨 Agent 開放標準——OpenCode、Claude Code、Codex、Gemini CLI 都讀得懂。專案層的檔案刻意用開放格式,任何 Agent 接手都能無縫工作。 檔名必須全大寫AGENTS.md:Windows 不分大小寫所以寫錯也能動,但 Mac/Linux 分大小寫,小寫的agents.md會變成「檔案明明在、Agent 卻讀不到」。
層級偵測(初始化看「這台電腦」有什麼)
依序檢查,決定本次能建到第幾層級:
- L1:無條件可建
- L2:跑
gh auth status,成功(已登入 GitHub CLI)→ 可建 - L3:目前有可用的 Obsidian MCP 工具(能列目錄、建立筆記的工具)→ 可建
- 請依「你手上實際有哪些工具」判斷,不要假設特定的工具名稱
檢查完先告訴使用者:「這台電腦可初始化至第 N 層級」,再開始執行。
初始化 SOP(依序執行)
L1:本地藍圖(永遠執行)
- 掃描資料夾現況:列出既有檔案,若已有
AGENTS.md或handoff.md→ 停下來問使用者是否要覆蓋 - 詢問使用者:專案名稱、一句話目標、關鍵時程(沒有就留白,不要硬編)
- 建立
AGENTS.md:用下方範本為底,填入實際內容;「資料夾結構」區塊由掃描結果自動生成 - 建立
handoff.md:用下方範本為底,「目前做到哪」填「專案初始化完成」,更新者填 Agent 名+電腦名- 電腦名:Windows(PowerShell)用
$env:COMPUTERNAME;Mac/Linux 用hostname
- 電腦名:Windows(PowerShell)用
- 若路徑含「雲端硬碟」「My Drive」「Google Drive」→ 提醒使用者確認雲端硬碟桌面版的同步圖示已打勾(檔案要真的躺在雲端,換電腦才拿得到)
範本:AGENTS.md
# <專案名稱>(專案藍圖)
> 本檔為跨 Agent 通用的專案藍圖(AGENTS.md 開放標準)。任何 Agent 的每個 session 都應先讀本檔+`handoff.md`。
## 專案簡介
<!-- 一段話:這個專案是什麼、目標是什麼 -->
## 關鍵時程
<!-- 格式:- 事件名稱:日期(說明);沒有就留白 -->
## 目標與路線圖
<!-- 用 checklist 追蹤,收工技能會更新這裡 -->
- [ ] 階段一:
- [ ] 階段二:
## 資料夾結構
<!-- 初始化時自動掃描生成,之後新增檔案要更新 -->
## 同步層級(本專案初始化至第 N 層級)
| 層級 | 平台 | 位置 | 讀取時機 |
|------|------|------|---------|
| L1 | 本地(雲端硬碟資料夾) | `AGENTS.md`+`handoff.md` | 每個 session |
| L2 | GitHub | <未啟用|<你的 GitHub 帳號>/repo-name> | 指定時 |
| L3 | Obsidian | <未啟用|專案資料夾名/專案工作流程.md> | 有需要時 |
## 工作約定
- 任何 Agent、任何電腦:**開工先讀 `handoff.md`,收工必更新 `handoff.md`**
- 修改共用檔案前先讀最新內容,避免覆蓋其他 Agent 的變更
- 所有回應與文件使用繁體中文
- 修改前先確認計畫,優先保留原有資料結構
## 安全與隱私(不可違反)
- **不把 API key、密碼、憑證寫進 repo**,也不要貼進 `AGENTS.md`/`handoff.md`;一律放 `.env` 並列入 `.gitignore`
- **學生資料只用座號**,不出現姓名、學號、班級以外的個資、照片或聯絡方式
- 要公開分享前,先確認檔案裡沒有上述兩類內容範本:handoff.md
# 交接檔(handoff.md)
> 任何 Agent、任何電腦接手前**必讀**;收工時**必更新**。本檔只放交接必需的精簡資訊,詳細脈絡放 Obsidian(若有 L3)。
## ⏯️ 目前做到哪
<!-- 最後完成的動作,1-3 句 -->
專案初始化完成。
## 🚦 目前狀態
<!-- 可運行嗎?哪些做一半? -->
## ➡️ 下一步
1.
## ⚠️ 注意事項
<!-- 坑、暫時 workaround、不要動的東西 -->
## 🕐 最後更新
- 時間:<YYYY-MM-DD HH:mm>
- 更新者:<Agent 名> @ <電腦名>
- Git push:<✅ 已推|❌ 未推(原因)|—(本專案未啟用 git)>L2:GitHub(gh 已登入才做,否則跳過並註明)
這一層的 git/GitHub 設定不在本技能重寫:完整做法請依懶人包 07-github 那一包。 本技能只負責「呼叫它、然後回填藍圖」。
- 確認
gh auth status通過(沒過就跳過 L2,並告訴使用者「先跑懶人包 07-github」) - 先建立
.gitignore(避免把敏感檔推上去,這是唯一在本技能處理的 git 相關動作):desktop.ini *.tmp ~$* .env *.key credentials.* - 依懶人包 07-github 的做法,把這個資料夾變成 GitHub 上的私有 repo 並推上去 (repo 的英文名字要先問使用者)
- 回填
AGENTS.md同步層級表的 GitHub 欄(repo 網址)
L3:Obsidian(MCP 可用才做,否則跳過並註明)
- 在 vault 根目錄建立與專案資料夾同名的資料夾
- 建立
<專案資料夾名>/專案工作流程.md,內容包含:專案背景與詳細脈絡、決策紀錄(為什麼這樣做)、素材與相關筆記連結、🕳️ 踩坑筆記、🗓️ 最近更動紀錄表格(第一行寫今天的初始化) - 回填
AGENTS.md同步層級表的 Obsidian 欄(vault 內路徑)
回報
給使用者一個層級 checklist:
🏗️ 本專案初始化至第 N 層級
✅ L1 本地:AGENTS.md + handoff.md
✅ L2 GitHub:<你的 GitHub 帳號>/<repo>(私有)
⚠️ L3 Obsidian:未建(這台電腦沒有 Obsidian MCP,之後可在有 Obsidian 的電腦說「補建第三層級」)不該做的事
- ❌ 未經確認就覆蓋既有的
AGENTS.md/handoff.md - ❌ 把藍圖檔名寫成小寫
agents.md(Mac/Linux 會讀不到) - ❌ 電腦沒
gh/Obsidian 時報錯中斷(正確行為:跳過該層級、在回報中註明原因) - ❌ 把
.env、API key 之類敏感檔 commit 進 git - ❌ 建 public repo(預設一律 private,使用者明說才轉公開)
注意事項
- 所有訊息與檔案內容使用繁體中文
- Windows+雲端硬碟資料夾內跑 git 若遇寫入錯誤:
git config windows.appendAtomically false - 之後的日常循環交給搭檔技能:開工(startup)讀、收工(shutdown)寫
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.

