.agent/skills/github-skill-importer/SKILL.md
Github Skill Importer (從 GitHub 導入技能 SOP)
npx skillsauth add eric861129/skills_all-in-one github-skill-importerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
此技能定義了如何從外部 GitHub Repository 尋找、驗證並抓取 AI 技能,將其導入至 SKILLS_All-in-one 平台的標準作業流程。
當使用者提供一個 GitHub URL 時,請執行以下步驟:
skills/ 或 .claude/skills/ (或其他可能的技能存放路徑) 的資料夾。skills/ 等資料夾,每個子資料夾代表一個獨立技能。SKILL.md 且無 skills/ 資料夾,則將整個 Repo 視為一個完整技能。在導入之前,必須確認該目錄符合 「正確的技能形式」:
SKILL.md。SKILL.md 的頂部必須包含 YAML Frontmatter,例如:
---
name: skill-name
description: brief description
---
references/、scripts/ 或 examples/ 等輔助資料夾,這些也應一併導入。@public\SKILLS\Uncategorized\ 下建立與 Repo 中相同的資料夾名稱。web_fetch 讀取並使用 write_file 寫入所有相關檔案。
@public\SKILLS\Uncategorized\{FolderName}\SKILL.md@public\SKILLS\Uncategorized\{FolderName}\references\** (若有)完成導入後,請立即切換至 Skill Onboarding Guide (技能上架 SOP) 執行後續動作:
@src/types/skill.ts 中的 SkillCategory 選擇最合適的現有分類。@src/types/skill.ts 中新增定義後再使用。database/init_skills.sql。src/data/skills.ts。npm run prebuild 更新 skills-manifest.json。在執行導入任務時,請務必注意以下曾發生的錯誤,以確保資料完整性:
SKILL.md,忽略了 references/、scripts/ 或 services/ 等關鍵參考資料。SKILL.md 中有提到其他檔案連結,需優先補齊。Set-Content 或 > 重導向符號處理包含中文的檔案時,會導致編碼轉為 ANSI/UTF-16,使繁體中文變成亂碼 (?)。write_file 工具或 Node.js 腳本並明確指定 utf8 編碼寫入。web_fetch 獲取內容後,因流程中斷或遺漏步驟而未執行 write_file,導致本地出現空資料夾。ls -R 或 dir /s 驗證檔案是否確實存在於磁碟。skills-manifest.json 可能未掃描到過深層級的檔案,導致前端顯示異常。npm run prebuild 觸發 generate-manifest.js 重新掃描,並隨機抽查 json 內容。claude-starter)將自動啟用的元數據放在 skill.json 中,若未抓取會導致技能功能不完整。skill.json。核心原則:使用者透過此平台下載的 SKILL 必須是完全體,嚴禁出現功能缺失或檔案不全的狀況。skills/ 資料夾,而忽略了有些 Repo 本身就是一個單一技能。SKILL.md,應優先判斷該 Repo 是否為單一技能專案。在此情況下,抓取根目錄下的所有相關檔案(如 references/, scripts/ 等)進行導入。@src/types/skill.ts 中的 SkillCategory。若需新增分類,必須先修改該型別定義檔案。web_fetch 抓取目錄清單時,請觀察檔案結構。README.md 中提到的技能目錄。development
Run structured What-If scenario analysis with multi-branch possibility exploration. Use this skill when the user asks speculative questions like "what if...", "what would happen if...", "what are the possibilities", "explore scenarios", "scenario analysis", "possibility space", "what could go wrong", "best case / worst case", "risk analysis", "contingency planning", "strategic options", or any question about uncertain futures. Also trigger when the user faces a fork-in-the-road decision, wants to stress-test an idea, or needs to think through consequences before committing.
development
Access comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
development
Use when challenging ideas, plans, decisions, or proposals using structured critical reasoning. Invoke to play devil's advocate, run a pre-mortem, red team, or audit evidence and assumptions.
tools
Core skill for the deep research and writing tool. Write scientific manuscripts in full paragraphs (never bullet points). Use two-stage process with (1) section outlines with key points using research-lookup then (2) convert to flowing prose. IMRAD structure, citations (APA/AMA/Vancouver), figures/tables, reporting guidelines (CONSORT/STROBE/PRISMA), for research papers and journal submissions.