Ecc Guide

affaan-m/ECC/skills/ecc-guide

作者 affaan-mef648e01899ba3e8dc6371642deaaf64b4477775無授權條款275K 個星標收錄於 2026年10月9日更新於 2026年10月9日儲存庫4 天前更新

Answer questions about ECC by reading the live repo surface — agents, skills, commands, hooks, rules, install profiles, and docs — instead of memory. Use when the user asks what ECC includes, how to install or reset it, which skill or command fits a task, or how project onboarding works.

AI 產生的概覽

透過檢視 ECC 儲存庫的即時檔案、技能、指令、代理、鉤子與安裝設定來回答關於 ECC 的問題。

功能
此技能引導代理透過讀取儲存庫目前內容,而非依賴記憶,來回答使用者關於 ECC 的問題。內容涵蓋 ECC 包含哪些項目、如何安裝、重設或選擇性安裝、如何找到合適的技能、指令、代理、鉤子或規則,以及專案導入流程如何運作。它也提供簡短建議、搜尋結果與安裝計畫摘要的回覆範本,以及針對執行環境與安裝問題的疑難排解步驟。
適用情境
當使用者詢問 ECC 包含什麼、如何安裝或重設、哪個元件適合某項任務,或如何將專案導入 ECC 時使用。它也適合需要儲存庫導引路徑,或對安裝路徑與重複安裝感到困惑的新使用者。
執行需求
需要存取 ECC 儲存庫檔案系統及其 Node.js 指令碼(例如 scripts/ci/catalog.js、scripts/install-plan.js、scripts/install-apply.js),以及 npm run harness:audit 和 npm test 等 npm 指令。它本身不附帶指令碼,僅為說明性指示。

ECC Guide

Use this skill when a user needs help understanding, navigating, installing, or choosing parts of ECC.

When To Use

Use this skill when the user:

  • asks what ECC includes
  • wants help finding a skill, command, agent, hook, rule, or install profile
  • is new to the repository and needs a guided path
  • asks "how do I do X with ECC?"
  • asks which ECC components fit a project
  • needs a lightweight explanation of how commands, skills, agents, hooks, and rules relate
  • is confused by install paths, duplicate installs, reset/uninstall, or selective install options

Core Principle

Answer from current files, not memory. ECC changes quickly, so hard-coded catalog counts, feature lists, and install instructions go stale.

When the ECC repository is available, inspect the relevant files before giving a concrete answer:

bash
node scripts/ci/catalog.js --jsonfind skills -maxdepth 2 -name SKILL.md | sortfind commands -maxdepth 1 -name '*.md' | sortfind agents -maxdepth 1 -name '*.md' | sortnode scripts/install-plan.js --list-profilesnode scripts/install-plan.js --list-components --json

Use the smallest set of reads needed for the user's question.

Repository Map

  • README.md: install paths, uninstall/reset guidance, public positioning, FAQs
  • AGENTS.md: contributor guidance and project structure
  • agent.yaml: exported gitagent surface and command list
  • commands/: maintained slash-command compatibility shims
  • skills/*/SKILL.md: reusable workflows and domain playbooks
  • agents/*.md: delegated subagent role prompts
  • rules/: language and harness rules
  • hooks/README.md, hooks/hooks.json, scripts/hooks/: hook behavior and safety gates
  • manifests/install-*.json: selective install modules, components, profiles, and target support
  • docs/: harness guides, architecture notes, translated docs, release docs

Response Style

Lead with the answer, then give the next action. Most users do not need a full catalog dump.

Good first response shape:

  1. what to use
  2. why it fits
  3. exact file or command to inspect
  4. one next command or question

Avoid:

  • listing every skill or command by default
  • repeating large README sections
  • recommending retired command shims when a skill-first path exists
  • claiming a component exists without checking the filesystem
  • replacing install guidance with manual copy commands when the managed installer supports the target

Common Tasks

New User Onboarding

Give a short menu:

  • install or reset ECC
  • pick skills for a project
  • understand commands vs skills
  • inspect hooks and safety behavior
  • run a harness audit
  • find a specific workflow

Point to README.md for install/reset and /project-init for project-specific onboarding.

Feature Discovery

For "what should I use for X?":

  1. Search skills/, commands/, and agents/.
  2. Prefer skills as the primary workflow surface.
  3. Use commands only when they are a maintained compatibility shim or a user explicitly wants slash-command behavior.
  4. Mention agents when delegation is useful.

Useful searches:

bash
rg -n "<query>" skills commands agents docsfind skills -maxdepth 2 -name SKILL.md | sort

Install Guidance

Use managed install paths:

bash
node scripts/install-plan.js --list-profilesnode scripts/install-plan.js --profile minimal --target claude --jsonnode scripts/install-apply.js --profile minimal --target claude --dry-run

For specific skill installs:

bash
node scripts/install-plan.js --skills <skill-id> --target claude --jsonnode scripts/install-apply.js --skills <skill-id> --target claude --dry-run

Warn users not to stack plugin installs and full manual/profile installs unless they intentionally want duplicate surfaces.

Project Onboarding

Use /project-init when the user wants ECC configured for a target repo. The expected sequence is:

  1. detect the stack from project files
  2. resolve a dry-run install plan
  3. inspect existing CLAUDE.md and settings files
  4. ask before applying changes
  5. keep generated guidance minimal and repo-specific

Troubleshooting

Ask for the target harness and install path first, then inspect:

  • plugin install metadata
  • .claude/, .cursor/, .codex/, .gemini/, .opencode/, .codebuddy/, .joycode/, or .qwen/
  • hooks/hooks.json
  • install-state files
  • relevant command/skill files

For repo health, suggest:

bash
npm run harness:audit -- --format textnpm run observability:readynpm test

Output Templates

Short Recommendation

text
Use <skill-or-command>. It fits because <reason>.
Canonical file: <path>Verify with: <command>Next: <one concrete action>

Search Results

text
Best matches:- <path>: <why it matters>- <path>: <why it matters>
Recommendation: <which one to use first and why>

Install Plan Summary

text
Detected: <stack evidence>Target: <harness>Plan: <profile/modules/skills>Dry run: <command>Would change: <paths>Needs approval before apply: <yes/no>

Related Surfaces

  • /project-init: stack-aware onboarding plan for a target repo
  • /harness-audit: deterministic readiness scorecard
  • /skill-health: skill quality review
  • /skill-create: generate a new skill from local git history
  • /security-scan: inspect Claude/OpenCode configuration security

來源與署名

來源:affaan-m/ECC位於skills/ecc-guide提交ef648e0

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架