Copilot instructions
.github/copilot-instructions.mdCopilot instructions
Quality
73/100
Scores the file, not the repository.Length
347 words
25 headings · 4 code blocksRepository
6
— · pushed 40 days agoLast changed
3 days ago
First indexed 3 days ago.1# Copilot 自定義指令 - Zotero Keeper23## 專案概述4這是一個整合 PubMed 文獻搜尋與 Zotero 書目管理的 AI 輔助研究工具組。56## 開發哲學 💡7> **「想要寫文件的時候,就更新 Memory Bank 吧!」**8>9> **「想要零散測試的時候,就寫測試檔案進 tests/ 資料夾吧!」**1011## 法規遵循12你必須遵守以下法規層級:131. **憲法**:`CONSTITUTION.md` - 最高原則142. **子法**:`.github/bylaws/*.md` - 細則規範153. **技能**:`.claude/skills/*/SKILL.md` - 操作程序1617## 架構原則18- 採用 DDD (Domain-Driven Design)19- DAL (Data Access Layer) 必須獨立20- 參見子法:`.github/bylaws/ddd-architecture.md`2122## Python 環境(uv 唯一)23- **所有專案必須使用 uv 管理套件**(禁止使用 pip)24- 必須建立虛擬環境(禁止全域安裝)25- 文件、程式碼、CI 中一律使用 uv 指令26- 參見子法:`.github/bylaws/python-environment.md`2728## Memory Bank 同步29每次重要操作必須更新 Memory Bank:30- 參見子法:`.github/bylaws/memory-bank.md`31- 目錄:`memory-bank/`3233## Git 工作流34提交前必須執行檢查清單:35- 參見子法:`.github/bylaws/git-workflow.md`3637## MCP Server 開發38- pubmed-search-mcp: `external/pubmed-search-mcp/`39- zotero-keeper: `mcp-server/`40- 使用 FastMCP 框架4142## VS Code Extension 開發43- 位置: `vscode-extension/`44- 使用 TypeScript45- 發布到 VS Code Marketplace4647### 發布流程4849#### 1. 版本更新檢查清單50發布前必須同步更新以下檔案的版本號:51- `vscode-extension/package.json` - `version` 欄位52- `vscode-extension/src/statusBar.ts` - `private version` 欄位(fallback 用)53- `vscode-extension/CHANGELOG.md` - 新增版本區塊5455#### 2. 編譯驗證56```bash57cd vscode-extension58npm run compile # 確保無 TypeScript 錯誤59```6061#### 3. 提交與發布62```bash63# 提交變更64git add -A && git commit -m "release: vX.Y.Z - 簡短描述"6566# 建立 tag 並推送(觸發 CI 自動發布)67git tag -a vX.Y.Z-ext -m "Release vX.Y.Z"68git push && git push origin vX.Y.Z-ext69```7071**重要**:tag 格式必須為 `vX.Y.Z-ext`,CI workflow 才會觸發發布7273#### 4. 驗證發布成功7475**GitHub Actions(最即時)**76```bash77# 檢查 workflow 狀態(推薦用 Python 解析)78curl -s "https://api.github.com/repos/u9401066/zotero-keeper/actions/runs?per_page=10" | \79 python3 -c "import sys,json; d=json.load(sys.stdin); print('\n'.join([f\"{r['name']:30} | {r['head_branch']:15} | {r['conclusion']}\" for r in d['workflow_runs'][:8]]))"80```81- `Publish VS Code Extension | v0.5.x-ext | success` 表示成功8283**VS Marketplace(5-10 分鐘後更新)**84- URL: https://marketplace.visualstudio.com/items?itemName=u9401066.vscode-zotero-mcp85```bash86# curl 方式(推薦,不會卡住)87curl -s "https://marketplace.visualstudio.com/items?itemName=u9401066.vscode-zotero-mcp" | \88 grep -o '"version":"[^"]*"' | head -18990# npx 方式(可能會卡住,需要下載套件)91# npx @vscode/vsce show u9401066.vscode-zotero-mcp --json | grep version92```93949596#### 5. 常見問題排除9798| 問題 | 原因 | 解決方案 |99|------|------|----------|100| "version already exists" | Marketplace 已有此版本 | 升級版本號重新發布 |101| CI 未觸發 | tag 格式錯誤 | 確保使用 `vX.Y.Z-ext` 格式 |102103#### 6. Secrets 設定(Repository Settings)104- `VSCE_PAT` - VS Code Marketplace Personal Access Token105106### 平台支援107擴充功能支援以下平台:108- `win32-x64`, `win32-ia32` (Windows)109- `linux-x64`, `linux-arm64` (Linux)110- `darwin-x64`, `darwin-arm64` (macOS)111112## 回應風格113- 使用繁體中文114- 提供清晰的步驟說明115- 引用相關法規條文116
Also in u9401066/zotero-keeper
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| u9401066/zotero-keeper.clinerules/00-zotero-project.md · 6 | Cline rules | testlint-formatstylearch+2 | 74/100 | 3 days ago | |
| u9401066/zotero-keeper.clinerules/10-zotero-python.md · 6 | Cline rules | setuptestlint-formatstyle+1 | 71/100 | 3 days ago | |
| u9401066/zotero-keeper.clinerules/20-zotero-vscode-extension.md · 6 | Cline rules | teststyledo-not | 69/100 | 3 days ago | |
| u9401066/zotero-keeper.clinerules/30-zotero-research-workflow.md · 6 | Cline rules | styledo-notagent-behaviour | 50/100 | 3 days ago | |
| u9401066/zotero-keeper.clinerules/35-foam-llm-wiki.md · 6 | Cline rules | styledo-notagent-behaviour | 55/100 | 3 days ago | |
| u9401066/zotero-keeper.clinerules/40-zotero-release.md · 6 | Cline rules | testlint-formatdeploymentdo-not | 67/100 | 3 days ago | |
| u9401066/zotero-keeper.clinerules/50-pubmed-project.md · 6 | Cline rules | testlint-formatstylearch+1 | 94/100 | 3 days ago | |
| u9401066/zotero-keeper.clinerules/60-pubmed-python.md · 6 | Cline rules | setuptestlint-formatstyle+2 | 86/100 | 3 days ago | |
| u9401066/zotero-keeper.clinerules/70-pubmed-mcp-tools.md · 6 | Cline rules | apido-notagent-behaviourdocs | 54/100 | 3 days ago | |
| u9401066/zotero-keeper.clinerules/80-pubmed-release.md · 6 | Cline rules | testlint-formatdeploymentdo-not | 68/100 | 3 days ago | |
| u9401066/zotero-keeperAGENTS.md · 6 | AGENTS.md | styleagent-behaviour | 56/100 | 3 days ago | |
| u9401066/zotero-keepervscode-extension/resources/repo-assets/keeper/.clinerules/00-zotero-project.md · 6 | Cline rules | testlint-formatstylearch+2 | 74/100 | 3 days ago | |
| u9401066/zotero-keepervscode-extension/resources/repo-assets/keeper/.clinerules/10-zotero-python.md · 6 | Cline rules | setuptestlint-formatstyle+1 | 71/100 | 3 days ago | |
| u9401066/zotero-keepervscode-extension/resources/repo-assets/keeper/.clinerules/20-zotero-vscode-extension.md · 6 | Cline rules | teststyledo-not | 69/100 | 3 days ago | |
| u9401066/zotero-keepervscode-extension/resources/repo-assets/keeper/.clinerules/30-zotero-research-workflow.md · 6 | Cline rules | styledo-notagent-behaviour | 50/100 | 3 days ago | |
| u9401066/zotero-keepervscode-extension/resources/repo-assets/keeper/.clinerules/35-foam-llm-wiki.md · 6 | Cline rules | styledo-notagent-behaviour | 55/100 | 3 days ago | |
| u9401066/zotero-keepervscode-extension/resources/repo-assets/keeper/.clinerules/40-zotero-release.md · 6 | Cline rules | testlint-formatdeploymentdo-not | 67/100 | 3 days ago | |
| u9401066/zotero-keepervscode-extension/resources/repo-assets/keeper/.github/copilot-instructions.md · 6 | Copilot instructions | styleagent-behaviour | 48/100 | 3 days ago | |
| u9401066/zotero-keepervscode-extension/resources/repo-assets/keeper/AGENTS.md · 6 | AGENTS.md | styleagent-behaviour | 56/100 | 3 days ago | |
| u9401066/zotero-keepervscode-extension/resources/repo-assets/pubmed-search-mcp/.clinerules/50-pubmed-project.md · 6 | Cline rules | testlint-formatstylearch+1 | 94/100 | 3 days ago |
Diff against .clinerules/00-zotero-project.md Diff against .clinerules/10-zotero-python.md Diff against .clinerules/20-zotero-vscode-extension.md Diff against .clinerules/30-zotero-research-workflow.md Diff against .clinerules/35-foam-llm-wiki.md Diff against .clinerules/40-zotero-release.md Diff against .clinerules/50-pubmed-project.md Diff against .clinerules/60-pubmed-python.md Diff against .clinerules/70-pubmed-mcp-tools.md Diff against .clinerules/80-pubmed-release.md Diff against AGENTS.md Diff against vscode-extension/resources/repo-assets/keeper/.clinerules/00-zotero-project.md Diff against vscode-extension/resources/repo-assets/keeper/.clinerules/10-zotero-python.md Diff against vscode-extension/resources/repo-assets/keeper/.clinerules/20-zotero-vscode-extension.md Diff against vscode-extension/resources/repo-assets/keeper/.clinerules/30-zotero-research-workflow.md Diff against vscode-extension/resources/repo-assets/keeper/.clinerules/35-foam-llm-wiki.md Diff against vscode-extension/resources/repo-assets/keeper/.clinerules/40-zotero-release.md Diff against vscode-extension/resources/repo-assets/keeper/.github/copilot-instructions.md Diff against vscode-extension/resources/repo-assets/keeper/AGENTS.md Diff against vscode-extension/resources/repo-assets/pubmed-search-mcp/.clinerules/50-pubmed-project.md
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| chihebnabil/lovable-boilerplate.github/instructions/global.instructions.md · 63 | Copilot instructions | buildlint-formatstylearch+4 | 100/100 | 3 days ago | |
| HerringtonDarkholme/megarepo.github/copilot-instructions.md · 17 | Copilot instructions | setupbuildtestlint-format+7 | 100/100 | 3 days ago | |
| louislam/uptime-kuma.github/copilot-instructions.md · 90k | Copilot instructions | setupbuildtestlint-format+9 | 100/100 | 3 days ago | |
| pytorch/pytorch.github/copilot-instructions.md · 102k | Copilot instructions | setupbuildteststyle+5 | 100/100 | 3 days ago | |
| JCodesMore/ai-website-cloner-template.github/copilot-instructions.md · 31k | Copilot instructions | buildlint-formatstylearch+3 | 97/100 | 2 days ago | |
| hiyouga/LlamaFactory.github/copilot-instructions.md · 74k | Copilot instructions | setupbuildtestlint-format+5 | 97/100 | 2 days ago | |
| bagisto/bagisto.github/copilot-instructions.md · 28k | Copilot instructions | setupbuildteststyle+5 | 97/100 | 3 days ago | |
| darkmatter/nixmac.github/copilot-instructions.md · 24 | Copilot instructions | setupbuildtestlint-format+8 | 96/100 | 3 days ago |
