[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MW8NB4BCAPNY25437VYP7Q":3,"skill-same:01M6MW8NB4BCAPNY25437VYP7Q":83},{"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":33,"linkOnly":34,"markdownContent":35,"markdownBody":36,"frontMatter":37,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":41,"repositoryHtmlUrl":42,"repositoryHomepageUrl":6,"ownerHtmlUrl":43,"ownerBlogUrl":44,"ownerDescription":45,"updatedAt":46,"install":47,"resources":60},"01M6MW8NB4BCAPNY25437VYP7Q","plexium-dev",null,"Develop and contribute to the Plexium codebase — package structure, build commands, test patterns, architecture layers","Clarit-AI\u002FPlexium","Clarit-AI","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F272321547?v=4","01M6MW4NR08BDTM2D9NGWHHD5H","Clarit AI Inc. ","01M6MW4NVR41KB688VHN29VBKE",5,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FClarit-AI\u002FPlexium\u002Fblob\u002Fmain\u002Finternal\u002Fskills\u002Fcontent\u002Fplexium-dev\u002Fskill.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32],"dev","plexium dev","test","architecture","package","contribute","develop","build","patterns","structure","commands","test patterns","layers","codebase","2026-11-10 10:12:30",false,"---\nname: plexium-dev\ndescription: Develop and contribute to the Plexium codebase — package structure, build commands, test patterns, architecture layers\n---\n\n# Contributing to Plexium\n\nPlexium is a Go CLI tool that gives repositories a persistent, agent-maintained wiki. This skill covers the codebase structure, build process, and contribution patterns.\n\n## Build and Test\n\n```bash\n# Build\ngo build .\u002F...\n\n# Run the full test suite across all packages\ngo test .\u002F...\n\n# Run a specific package\ngo test .\u002Finternal\u002Fagent\u002F...\n\n# Build the binary\ngo build -o plexium .\u002Fcmd\u002Fplexium\n\n# Run the binary\n.\u002Fplexium --help\n```\n\n## Package Structure\n\n```text\ncmd\u002Fplexium\u002F          # CLI entry point — cobra commands across multiple *.go files\ninternal\u002F\n  agent\u002F              # Provider cascade, task router, rate limiter, HTTP transport, setup\n  ci\u002F                 # CI check command (diff-aware wiki validation)\n  compile\u002F            # Navigation file regeneration (_index.md, _Sidebar.md)\n  config\u002F             # Config loading (viper), validation, env overrides\n  convert\u002F            # Brownfield ingestion pipeline (scour\u002Ffilter\u002Fingest\u002Flink\u002Flint)\n  daemon\u002F             # Autonomous maintenance loop, workspace manager, runners, trackers\n  generate\u002F           # Page generators for each taxonomy section\n  hook\u002F               # Git hook handlers (pre-commit, post-commit)\n  integrations\u002F\n    beads\u002F            # Task tracking integration\n    memento\u002F          # Session provenance (ingest transcripts, CI gate)\n    pageindex\u002F        # PageIndex search engine, MCP server, retrieval\n    roles\u002F            # Agent role definitions (coder, retriever, documenter, ingestor)\n  lint\u002F               # Deterministic lint + LLM-augmented analysis, doctor\n  manifest\u002F           # Manifest manager (bidirectional source-wiki mapping)\n  markdown\u002F           # Markdown parser (frontmatter extraction, wiki-link parsing)\n  migrate\u002F            # Schema version migrations\n  plugins\u002F            # Plugin architecture (manifest, loader, schema generation)\n  publish\u002F            # GitHub Wiki publishing\n  reports\u002F            # Report generation (bootstrap, sync, lint)\n  retry\u002F              # Exponential backoff with jitter\n  scanner\u002F            # Source file scanner with glob matching\n  template\u002F           # Page templates\n  wiki\u002F               # Wiki scaffolding (init), page operations\n```\n\n## Architecture Layers\n\n```text\nSource Layer (immutable)     — src\u002F**, docs\u002F**\nState Manifest              — .plexium\u002Fmanifest.json\nWiki Layer                  — .wiki\u002F**\nControl Layer               — _schema.md, config.yml, lefthook.yml\nEnforcement                 — Schema (soft) → Git hooks (medium) → CI (hard)\n```\n\n**Invariants** (these must never break):\n- Wiki operations never modify source code\n- Pages with `ownership: human-authored` are never overwritten\n- Partial failures roll back — no half-updated wikis\n- All `[[wiki-links]]` validated before commit\n- Sync is idempotent (same commit → identical output)\n\n## Key Patterns\n\n- **Injectable dependencies**: HTTP functions, runners, trackers use injectable function signatures for testing. See `cascade.go` providers and `daemon\u002Frunner.go`.\n- **Structural interfaces**: `lint.LLMClient`, `daemon.RunnerAdapter`, `daemon.TrackerAdapter` use Go's structural typing — implementations don't import the interface package.\n- **Config-driven behavior**: Everything reads from `.plexium\u002Fconfig.yml` via viper. Zero-value defaults preserve backward compatibility.\n- **Testify for assertions**: All tests use `github.com\u002Fstretchr\u002Ftestify\u002Fassert` and `require`.\n\n## When to Read Reference Docs\n\n- Need to understand a specific package → `reference\u002Fpackages.md`\n- Working on the provider cascade or setup → `reference\u002Fagent-system.md`\n- Working on the daemon or workspace manager → `reference\u002Fdaemon-system.md`\n- Need to understand the test patterns → `reference\u002Ftesting.md`\n","# Contributing to Plexium\n\nPlexium is a Go CLI tool that gives repositories a persistent, agent-maintained wiki. This skill covers the codebase structure, build process, and contribution patterns.\n\n## Build and Test\n\n```bash\n# Build\ngo build .\u002F...\n\n# Run the full test suite across all packages\ngo test .\u002F...\n\n# Run a specific package\ngo test .\u002Finternal\u002Fagent\u002F...\n\n# Build the binary\ngo build -o plexium .\u002Fcmd\u002Fplexium\n\n# Run the binary\n.\u002Fplexium --help\n```\n\n## Package Structure\n\n```text\ncmd\u002Fplexium\u002F          # CLI entry point — cobra commands across multiple *.go files\ninternal\u002F\n  agent\u002F              # Provider cascade, task router, rate limiter, HTTP transport, setup\n  ci\u002F                 # CI check command (diff-aware wiki validation)\n  compile\u002F            # Navigation file regeneration (_index.md, _Sidebar.md)\n  config\u002F             # Config loading (viper), validation, env overrides\n  convert\u002F            # Brownfield ingestion pipeline (scour\u002Ffilter\u002Fingest\u002Flink\u002Flint)\n  daemon\u002F             # Autonomous maintenance loop, workspace manager, runners, trackers\n  generate\u002F           # Page generators for each taxonomy section\n  hook\u002F               # Git hook handlers (pre-commit, post-commit)\n  integrations\u002F\n    beads\u002F            # Task tracking integration\n    memento\u002F          # Session provenance (ingest transcripts, CI gate)\n    pageindex\u002F        # PageIndex search engine, MCP server, retrieval\n    roles\u002F            # Agent role definitions (coder, retriever, documenter, ingestor)\n  lint\u002F               # Deterministic lint + LLM-augmented analysis, doctor\n  manifest\u002F           # Manifest manager (bidirectional source-wiki mapping)\n  markdown\u002F           # Markdown parser (frontmatter extraction, wiki-link parsing)\n  migrate\u002F            # Schema version migrations\n  plugins\u002F            # Plugin architecture (manifest, loader, schema generation)\n  publish\u002F            # GitHub Wiki publishing\n  reports\u002F            # Report generation (bootstrap, sync, lint)\n  retry\u002F              # Exponential backoff with jitter\n  scanner\u002F            # Source file scanner with glob matching\n  template\u002F           # Page templates\n  wiki\u002F               # Wiki scaffolding (init), page operations\n```\n\n## Architecture Layers\n\n```text\nSource Layer (immutable)     — src\u002F**, docs\u002F**\nState Manifest              — .plexium\u002Fmanifest.json\nWiki Layer                  — .wiki\u002F**\nControl Layer               — _schema.md, config.yml, lefthook.yml\nEnforcement                 — Schema (soft) → Git hooks (medium) → CI (hard)\n```\n\n**Invariants** (these must never break):\n- Wiki operations never modify source code\n- Pages with `ownership: human-authored` are never overwritten\n- Partial failures roll back — no half-updated wikis\n- All `[[wiki-links]]` validated before commit\n- Sync is idempotent (same commit → identical output)\n\n## Key Patterns\n\n- **Injectable dependencies**: HTTP functions, runners, trackers use injectable function signatures for testing. See `cascade.go` providers and `daemon\u002Frunner.go`.\n- **Structural interfaces**: `lint.LLMClient`, `daemon.RunnerAdapter`, `daemon.TrackerAdapter` use Go's structural typing — implementations don't import the interface package.\n- **Config-driven behavior**: Everything reads from `.plexium\u002Fconfig.yml` via viper. Zero-value defaults preserve backward compatibility.\n- **Testify for assertions**: All tests use `github.com\u002Fstretchr\u002Ftestify\u002Fassert` and `require`.\n\n## When to Read Reference Docs\n\n- Need to understand a specific package → `reference\u002Fpackages.md`\n- Working on the provider cascade or setup → `reference\u002Fagent-system.md`\n- Working on the daemon or workspace manager → `reference\u002Fdaemon-system.md`\n- Need to understand the test patterns → `reference\u002Ftesting.md`\n",{"name":5,"description":7},"main","f6a2ee3740e95ae29a69a1fc347c9dcb9c53ea68","internal\u002Fskills\u002Fcontent\u002Fplexium-dev",0,"https:\u002F\u002Fgithub.com\u002FClarit-AI\u002FPlexium","https:\u002F\u002Fgithub.com\u002FClarit-AI","Clarit.ai","Effectively treats: context loss, memory drift, and cognitive overhead in AI systems.\r\nAsk your agent if persistent memory is right for you... or them.","2026-11-02 11:31:08",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add Clarit-AI\u002FPlexium --skill plexium-dev",{"tool":53,"command":54},"bunx","bunx skills add Clarit-AI\u002FPlexium --skill plexium-dev",{"tool":56,"command":57},"pnpm","pnpm dlx skills add Clarit-AI\u002FPlexium --skill plexium-dev","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FClarit-AI\u002FPlexium\u002Fblob\u002Fmain\u002Finternal\u002Fskills\u002Fcontent\u002Fplexium-dev\u002Fskill.md",true,[61,67,71,75,79],{"path":62,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":66},"reference\u002Fagent-system.md","REFERENCE","参考文档",2849,"https:\u002F\u002Fgithub.com\u002FClarit-AI\u002FPlexium\u002Fblob\u002Fmain\u002Finternal\u002Fskills\u002Fcontent\u002Fplexium-dev\u002Freference\u002Fagent-system.md",{"path":68,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":69,"sourceHtmlUrl":70},"reference\u002Fdaemon-system.md",2811,"https:\u002F\u002Fgithub.com\u002FClarit-AI\u002FPlexium\u002Fblob\u002Fmain\u002Finternal\u002Fskills\u002Fcontent\u002Fplexium-dev\u002Freference\u002Fdaemon-system.md",{"path":72,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":73,"sourceHtmlUrl":74},"reference\u002Findex.md",558,"https:\u002F\u002Fgithub.com\u002FClarit-AI\u002FPlexium\u002Fblob\u002Fmain\u002Finternal\u002Fskills\u002Fcontent\u002Fplexium-dev\u002Freference\u002Findex.md",{"path":76,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":77,"sourceHtmlUrl":78},"reference\u002Fpackages.md",3709,"https:\u002F\u002Fgithub.com\u002FClarit-AI\u002FPlexium\u002Fblob\u002Fmain\u002Finternal\u002Fskills\u002Fcontent\u002Fplexium-dev\u002Freference\u002Fpackages.md",{"path":80,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":81,"sourceHtmlUrl":82},"reference\u002Ftesting.md",2491,"https:\u002F\u002Fgithub.com\u002FClarit-AI\u002FPlexium\u002Fblob\u002Fmain\u002Finternal\u002Fskills\u002Fcontent\u002Fplexium-dev\u002Freference\u002Ftesting.md",[84,104,109,114,135,146],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":33},"01M6MW91DQB5R5F3K2DN3ZWS58","plexium-user","Operate within a Plexium-powered repository — read wiki before work, update wiki after changes, follow ownership rules, use retrieval","https:\u002F\u002Fgithub.com\u002FClarit-AI\u002FPlexium\u002Fblob\u002Fmain\u002Fskills\u002Fplexium-user\u002Fskill.md",[],[91,92,93,94,95,96,97,98,99,100,101,102,103],"plexium user","user","changes","operate","ownership","update","repository","wiki","Rules","retrieval","work","use","read",{"skillNo":105,"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":106,"categories":107,"keywords":108,"publishedAt":33},"01M6MW8WD43P56N0FV8NXB9R1K","https:\u002F\u002Fgithub.com\u002FClarit-AI\u002FPlexium\u002Fblob\u002Fmain\u002Fskills\u002Fplexium-dev\u002Fskill.md",[],[19,20,28,21,22,23,24,25,26,27,29,30,31,32],{"skillNo":110,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":33},"01M6MW8RCVRQ3A5JD3VARXV49A","https:\u002F\u002Fgithub.com\u002FClarit-AI\u002FPlexium\u002Fblob\u002Fmain\u002Finternal\u002Fskills\u002Fcontent\u002Fplexium-user\u002Fskill.md",[],[92,91,95,101,94,93,100,96,97,98,99,103,102],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":33},"01M6MW8HR4CD6J2HQKG8JTGEFD","setup-plexium","Use when the user wants to initialize Plexium, set up the current repository for Codex, verify readiness, or connect Plexium's MCP server in Codex.","https:\u002F\u002Fgithub.com\u002FClarit-AI\u002FPlexium\u002Fblob\u002Fmain\u002Fdistribution\u002Fcodex-plugin\u002Fskills\u002Fsetup-plexium\u002FSKILL.md",[],[121,122,123,124,125,126,127,128,97,129,130,92,102,131,132,133,134],"setup plexium","setup","SET","MCP","codex","mcp server","connect","server","verify","initialize","up","verify readiness","readiness","for",{"skillNo":136,"name":137,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":33},"01M6MW8DNPWN7K0T56SXYBFEA8","query-plexium-wiki","Use when the user wants to search or retrieve information from the Plexium wiki in the current repository.","https:\u002F\u002Fgithub.com\u002FClarit-AI\u002FPlexium\u002Fblob\u002Fmain\u002Fdistribution\u002Fcodex-plugin\u002Fskills\u002Fquery-plexium-wiki\u002FSKILL.md",[],[142,143,98,144,97,92,102,145],"query plexium wiki","query","search","information",{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":33},"01M6MW8B0WMC5MEA44GJM4KPRH","install-plexium","Use when the user wants to install or verify the Plexium CLI from inside Codex.","https:\u002F\u002Fgithub.com\u002FClarit-AI\u002FPlexium\u002Fblob\u002Fmain\u002Fdistribution\u002Fcodex-plugin\u002Fskills\u002Finstall-plexium\u002FSKILL.md",[],[153,154,125,129,92,102,155],"install plexium","install","cli"]