[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ABA7DPNB0Y8D7D47Z363GH":3,"skill-same:01M7ABA7DPNB0Y8D7D47Z363GH":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7ABA7DPNB0Y8D7D47Z363GH","eridian-development",null,"Use when developing, reviewing, or releasing the Eridian app (this repo) — the guardrails, commands, conventions, git-flow, commit rules, and release process to keep every change aligned.","slaveofcode\u002FEridian","slaveofcode","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F13603341?v=4","01M7ABA57VTG5SKEPGHX2ZD57C","Aditya Kresna Permana","01M7ABA58Y3RS8F3VM9T4MCR0T",1,"MIT","https:\u002F\u002Fgithub.com\u002Fslaveofcode\u002FEridian\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Feridian-development\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: eridian-development\ndescription: Use when developing, reviewing, or releasing the Eridian app (this repo) — the guardrails, commands, conventions, git-flow, commit rules, and release process to keep every change aligned.\n---\n\n# Eridian development\n\nEridian is a local, **read-only** desktop dashboard (Tauri 2 + Rust core \u002F React + TS)\nfor AI coding agents (Claude Code + OpenCode). Follow this on every change. Deeper\ndetail: `CONTRIBUTING.md`, `CLAUDE.md`, `PLAN.md`.\n\n## Guardrails (never violate)\n\n1. **Read-only against agent data.** Never write\u002Frename\u002Ftruncate under `~\u002F.claude\u002F`,\n   `~\u002F.config\u002Fopencode\u002F`, `~\u002F.local\u002Fshare\u002Fopencode\u002F`. Files opened read-only; the\n   OpenCode DB uses `SQLITE_OPEN_READ_ONLY`. Eridian writes only its own app-data dir.\n   Two user-invoked exceptions: (a) starting\u002Fstopping an Eridian-*managed*\n   `opencode serve` (localhost); (b) the **security guard** installing\u002Fremoving *only\n   its own* scoped `PreToolUse` entry in `~\u002F.claude\u002Fsettings.json` (marker-tagged,\n   atomic + backup) — never transcripts\u002Fsession data. Guard's opt-in LLM deep-scan\n   spawns the user's `claude` CLI (child process), not an Eridian socket.\n2. **Never crash ingest on bad input** → store `kind=\"unknown\"` + raw, `tracing::warn!`\n   (path\u002Foffset only), continue. No `unwrap()\u002Fexpect()` in ingest\u002Fcommand paths; use\n   `anyhow::Result` + `?`.\n3. **Transcripts are sensitive** — never log event\u002Fmessage bodies, tool inputs\u002Foutputs,\n   or `raw_json`. Log paths\u002Fcounts\u002Foffsets\u002Fdurations only. DB is `0600`.\n4. **Local only** — no network except `http:\u002F\u002Flocalhost:\u003Copencode_port>`; no telemetry.\n   One opt-in exception: catalog browsing (Settings toggle, default off) may make\n   GET-only requests to a compiled-in allowlist — `registry.modelcontextprotocol.io`,\n   `api.github.com`, `raw.githubusercontent.com` — for public catalog metadata; nothing\n   uploaded, responses cached locally. No POSTs, no scraping, never on the update path.\n5. **No dependencies without stating why.** Frontend renders zero-dep (own Markdown +\n   syntax highlighter) — no highlight.js\u002Fshiki\u002FTailwind.\n\n## Commands (run before every commit)\n\n```bash\npnpm tauri dev                     # run the app\npnpm test        pnpm test:cov     # frontend tests (Vitest) + coverage gate\npnpm exec tsc --noEmit             # frontend typecheck\npnpm build                         # frontend build\ncd src-tauri && cargo test         # Rust tests\ncargo clippy -- -D warnings        # Rust lint\ncargo cov-gate                     # Rust coverage gate (≥90%); rm target\u002Fllvm-cov-target after\n```\n\nKeep both coverage gates green (logic modules ≥90%).\n\n## Conventions\n\n- **Change normalizer output → bump `NORMALIZER_VERSION`** in `store.rs` (store drops its\n  derived cache and re-ingests on next launch).\n- **Format change → add a fixture first** in `src-tauri\u002Ffixtures\u002F`, then fix.\n- **Rules of Hooks:** every `useState\u002FuseEffect\u002FuseRef\u002FuseMemo` goes **above** any early\n  `return` — TS won't catch a conditional hook; it blanks the UI at runtime.\n- Timestamps stored ISO-8601 UTC. Single writer; `commit_batches` writes events + offset\n  atomically; `insert_event` dedups on a globally-unique `source_uuid`.\n- Subagent↔parent links are **real** (sidechain `sessionId`) — never revert to heuristics.\n  Risk tags **are** heuristic — keep them labeled as such in the UI.\n- UI reads only through Tauri commands (`src\u002Flib\u002Fapi.ts`); never touch agent files from\n  the frontend. New Tauri command → register in `lib.rs`.\n\n## Git & commits\n\n- **git-flow:** production `main`, develop `develop`; work on `develop` \u002F `feature\u002F*`;\n  releases via `release\u002F*`. Origin `git@github.com:slaveofcode\u002FEridian.git`.\n- **Conventional Commits.**\n- **NEVER add any Claude\u002FAI attribution or contributor to commits** — no\n  `Co-Authored-By`, no \"Generated with…\", no AI author\u002Fcommitter identity, in the\n  message body, trailers, or metadata. (Referencing \"Claude Code\" as the *supported\n  agent* in a message is fine, e.g. \"Claude Code ingest\".)\n\n## Public-repo hygiene (security — this repo is public)\n\n- **Commit identity is `Kresna \u003Cslaveofcode@users.noreply.github.com>`** (set in this\n  repo's local git config). Never commit with a work\u002Femployer email.\n- **No employer\u002Fwork identifiers anywhere** — not in code, config, tests, fixtures,\n  commit messages, or docs: no employer email domains or URLs, no work-machine\n  usernames or absolute home paths, no internal tool\u002Fskill\u002Fticket names, no\n  chat-platform app ids\u002Fsecrets. Use neutral placeholders in tests (e.g.\n  `sample-review`). Do not list the concrete forbidden terms in this repo either —\n  the deny-list itself would leak them; it lives in private session memory.\n- **Fixtures use neutral content** — scrubbed real sessions, never raw. Shell\u002Ftool\n  fixtures use generic commands (`git status`, `ls`, `cargo test`) and relative or\n  generic-root paths (`\u002Fwork\u002Fproject`), never a real `\u002FUsers\u002F\u003Cname>\u002F…` home path or\n  machine username. Same for command *output* captured into fixtures: strip emails,\n  hostnames, ad\u002Ftracking IDs, and absolute home paths before saving.\n- **Never paste raw command\u002Ftool output into commit messages** — `claude mcp list`,\n  server lists, env dumps, connection strings. Summarize the verification result\n  instead. (This once leaked internal MCP URLs + a chat-platform app secret into a\n  public commit; it forced a full history rewrite.)\n- **Bundle identifier is `com.velmlabs.eridian`** — never revert it to anything\n  containing a personal\u002Fwork handle.\n- **Before pushing**, scan the outgoing range:\n  `git log origin\u002Fdevelop.. -p | grep -iE \"kresna@|cli_[a-z0-9]{10,}|(api[_-]?key|secret|token)\\s*[:=]\"`\n  plus the private deny-list terms — any hit blocks the push until scrubbed\n  (amend\u002Frebase, don't stack a \"remove\" commit: the leak would stay in history).\n\n## Releasing (every release needs a CHANGELOG entry)\n\n1. **Update `CHANGELOG.md`** — add `## [x.y.z] — YYYY-MM-DD` (Added\u002FChanged\u002FFixed\u002FSecurity).\n2. Bump version in `src-tauri\u002Ftauri.conf.json`, `package.json`, `src-tauri\u002FCargo.toml`\n   (keep in sync).\n3. git-flow to `main`, then `git tag vX.Y.Z && git push origin vX.Y.Z`.\n4. `.github\u002Fworkflows\u002Frelease.yml` builds macOS (arm+intel) + Linux + Windows, signs\n   updater artifacts, writes `latest.json`, creates a **draft** release → review\n   bundles, publish.\n5. Signing: repo secret `TAURI_SIGNING_PRIVATE_KEY` (private key at `~\u002F.tauri\u002Feridian-\n   updater.key`); no password secret (key has none; GitHub rejects empty secrets).\n   Public key lives in `tauri.conf.json` → `plugins.updater.pubkey`.\n","# Eridian development\n\nEridian is a local, **read-only** desktop dashboard (Tauri 2 + Rust core \u002F React + TS)\nfor AI coding agents (Claude Code + OpenCode). Follow this on every change. Deeper\ndetail: `CONTRIBUTING.md`, `CLAUDE.md`, `PLAN.md`.\n\n## Guardrails (never violate)\n\n1. **Read-only against agent data.** Never write\u002Frename\u002Ftruncate under `~\u002F.claude\u002F`,\n   `~\u002F.config\u002Fopencode\u002F`, `~\u002F.local\u002Fshare\u002Fopencode\u002F`. Files opened read-only; the\n   OpenCode DB uses `SQLITE_OPEN_READ_ONLY`. Eridian writes only its own app-data dir.\n   Two user-invoked exceptions: (a) starting\u002Fstopping an Eridian-*managed*\n   `opencode serve` (localhost); (b) the **security guard** installing\u002Fremoving *only\n   its own* scoped `PreToolUse` entry in `~\u002F.claude\u002Fsettings.json` (marker-tagged,\n   atomic + backup) — never transcripts\u002Fsession data. Guard's opt-in LLM deep-scan\n   spawns the user's `claude` CLI (child process), not an Eridian socket.\n2. **Never crash ingest on bad input** → store `kind=\"unknown\"` + raw, `tracing::warn!`\n   (path\u002Foffset only), continue. No `unwrap()\u002Fexpect()` in ingest\u002Fcommand paths; use\n   `anyhow::Result` + `?`.\n3. **Transcripts are sensitive** — never log event\u002Fmessage bodies, tool inputs\u002Foutputs,\n   or `raw_json`. Log paths\u002Fcounts\u002Foffsets\u002Fdurations only. DB is `0600`.\n4. **Local only** — no network except `http:\u002F\u002Flocalhost:\u003Copencode_port>`; no telemetry.\n   One opt-in exception: catalog browsing (Settings toggle, default off) may make\n   GET-only requests to a compiled-in allowlist — `registry.modelcontextprotocol.io`,\n   `api.github.com`, `raw.githubusercontent.com` — for public catalog metadata; nothing\n   uploaded, responses cached locally. No POSTs, no scraping, never on the update path.\n5. **No dependencies without stating why.** Frontend renders zero-dep (own Markdown +\n   syntax highlighter) — no highlight.js\u002Fshiki\u002FTailwind.\n\n## Commands (run before every commit)\n\n```bash\npnpm tauri dev                     # run the app\npnpm test        pnpm test:cov     # frontend tests (Vitest) + coverage gate\npnpm exec tsc --noEmit             # frontend typecheck\npnpm build                         # frontend build\ncd src-tauri && cargo test         # Rust tests\ncargo clippy -- -D warnings        # Rust lint\ncargo cov-gate                     # Rust coverage gate (≥90%); rm target\u002Fllvm-cov-target after\n```\n\nKeep both coverage gates green (logic modules ≥90%).\n\n## Conventions\n\n- **Change normalizer output → bump `NORMALIZER_VERSION`** in `store.rs` (store drops its\n  derived cache and re-ingests on next launch).\n- **Format change → add a fixture first** in `src-tauri\u002Ffixtures\u002F`, then fix.\n- **Rules of Hooks:** every `useState\u002FuseEffect\u002FuseRef\u002FuseMemo` goes **above** any early\n  `return` — TS won't catch a conditional hook; it blanks the UI at runtime.\n- Timestamps stored ISO-8601 UTC. Single writer; `commit_batches` writes events + offset\n  atomically; `insert_event` dedups on a globally-unique `source_uuid`.\n- Subagent↔parent links are **real** (sidechain `sessionId`) — never revert to heuristics.\n  Risk tags **are** heuristic — keep them labeled as such in the UI.\n- UI reads only through Tauri commands (`src\u002Flib\u002Fapi.ts`); never touch agent files from\n  the frontend. New Tauri command → register in `lib.rs`.\n\n## Git & commits\n\n- **git-flow:** production `main`, develop `develop`; work on `develop` \u002F `feature\u002F*`;\n  releases via `release\u002F*`. Origin `git@github.com:slaveofcode\u002FEridian.git`.\n- **Conventional Commits.**\n- **NEVER add any Claude\u002FAI attribution or contributor to commits** — no\n  `Co-Authored-By`, no \"Generated with…\", no AI author\u002Fcommitter identity, in the\n  message body, trailers, or metadata. (Referencing \"Claude Code\" as the *supported\n  agent* in a message is fine, e.g. \"Claude Code ingest\".)\n\n## Public-repo hygiene (security — this repo is public)\n\n- **Commit identity is `Kresna \u003Cslaveofcode@users.noreply.github.com>`** (set in this\n  repo's local git config). Never commit with a work\u002Femployer email.\n- **No employer\u002Fwork identifiers anywhere** — not in code, config, tests, fixtures,\n  commit messages, or docs: no employer email domains or URLs, no work-machine\n  usernames or absolute home paths, no internal tool\u002Fskill\u002Fticket names, no\n  chat-platform app ids\u002Fsecrets. Use neutral placeholders in tests (e.g.\n  `sample-review`). Do not list the concrete forbidden terms in this repo either —\n  the deny-list itself would leak them; it lives in private session memory.\n- **Fixtures use neutral content** — scrubbed real sessions, never raw. Shell\u002Ftool\n  fixtures use generic commands (`git status`, `ls`, `cargo test`) and relative or\n  generic-root paths (`\u002Fwork\u002Fproject`), never a real `\u002FUsers\u002F\u003Cname>\u002F…` home path or\n  machine username. Same for command *output* captured into fixtures: strip emails,\n  hostnames, ad\u002Ftracking IDs, and absolute home paths before saving.\n- **Never paste raw command\u002Ftool output into commit messages** — `claude mcp list`,\n  server lists, env dumps, connection strings. Summarize the verification result\n  instead. (This once leaked internal MCP URLs + a chat-platform app secret into a\n  public commit; it forced a full history rewrite.)\n- **Bundle identifier is `com.velmlabs.eridian`** — never revert it to anything\n  containing a personal\u002Fwork handle.\n- **Before pushing**, scan the outgoing range:\n  `git log origin\u002Fdevelop.. -p | grep -iE \"kresna@|cli_[a-z0-9]{10,}|(api[_-]?key|secret|token)\\s*[:=]\"`\n  plus the private deny-list terms — any hit blocks the push until scrubbed\n  (amend\u002Frebase, don't stack a \"remove\" commit: the leak would stay in history).\n\n## Releasing (every release needs a CHANGELOG entry)\n\n1. **Update `CHANGELOG.md`** — add `## [x.y.z] — YYYY-MM-DD` (Added\u002FChanged\u002FFixed\u002FSecurity).\n2. Bump version in `src-tauri\u002Ftauri.conf.json`, `package.json`, `src-tauri\u002FCargo.toml`\n   (keep in sync).\n3. git-flow to `main`, then `git tag vX.Y.Z && git push origin vX.Y.Z`.\n4. `.github\u002Fworkflows\u002Frelease.yml` builds macOS (arm+intel) + Linux + Windows, signs\n   updater artifacts, writes `latest.json`, creates a **draft** release → review\n   bundles, publish.\n5. Signing: repo secret `TAURI_SIGNING_PRIVATE_KEY` (private key at `~\u002F.tauri\u002Feridian-\n   updater.key`); no password secret (key has none; GitHub rejects empty secrets).\n   Public key lives in `tauri.conf.json` → `plugins.updater.pubkey`.\n",{"name":5,"description":7},"main","5525b1dd9145a4d630de1675ed3048c97af80c4f",".claude\u002Fskills\u002Feridian-development","https:\u002F\u002Fgithub.com\u002Fslaveofcode\u002FEridian","https:\u002F\u002Fgithub.com\u002Fslaveofcode","https:\u002F\u002Fkresna.dev","The more you know, the more you don't know","2026-09-11 23:47:17",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add slaveofcode\u002FEridian --skill eridian-development",{"tool":38,"command":39},"bunx","bunx skills add slaveofcode\u002FEridian --skill eridian-development",{"tool":41,"command":42},"pnpm","pnpm dlx skills add slaveofcode\u002FEridian --skill eridian-development","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fslaveofcode\u002FEridian\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Feridian-development\u002FSKILL.md",true,[],[47,54,61],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7ABAFMRW0NZ2KEE3VAPJ2DE","tdd","Write a failing test first, then the minimal code to pass it","https:\u002F\u002Fgithub.com\u002Fslaveofcode\u002FEridian\u002Fblob\u002Fmain\u002Fsrc-tauri\u002Ffixtures\u002Fmarket\u002Fplugins-cache\u002Fofficial\u002Fsupertools\u002F1.2.0\u002Fskills\u002Ftdd\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7ABAE7P9D9SZ0WTD28YXFZQ","brainstorm","Turn ideas into designs through collaborative dialogue","https:\u002F\u002Fgithub.com\u002Fslaveofcode\u002FEridian\u002Fblob\u002Fmain\u002Fsrc-tauri\u002Ffixtures\u002Fmarket\u002Fplugins-cache\u002Fofficial\u002Fsupertools\u002F1.2.0\u002Fskills\u002Fbrainstorm\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7ABAB44Y4YGA9ZVPFX5NEQV","design","Component design patterns for small, focused UI files","https:\u002F\u002Fgithub.com\u002Fslaveofcode\u002FEridian\u002Fblob\u002Fmain\u002Fsrc-tauri\u002Ffixtures\u002Fmarket\u002Fplugins-cache\u002Fcommunity\u002Fuikit\u002F0.9.1\u002Fskills\u002Fdesign\u002FSKILL.md",[],[]]