[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74G6CES7WPE4Z7ARJQJ8WX2":3,"skill-same:01M74G6CES7WPE4Z7ARJQJ8WX2":44},{"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":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M74G6CES7WPE4Z7ARJQJ8WX2","audit-marketplace",null,"Adversarially audit the Polymath marketplace for production readiness, gaps, and bloat.","MohammadBafkar\u002Fpolymath","MohammadBafkar","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F34940462?v=4","01M74G540TQFZWK6KVAPKFVGNR","Mohammad Bafkar","01M74G541HG19QP9V5DQCJVKYE",0,"MIT","https:\u002F\u002Fgithub.com\u002FMohammadBafkar\u002Fpolymath\u002Fblob\u002Fmain\u002Fplugins\u002Fpolymath-author\u002Fskills\u002Faudit-marketplace\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: audit-marketplace\ndescription: Adversarially audit the Polymath marketplace for production readiness, gaps, and bloat.\n---\n\n# audit-marketplace\n\n> Walk every plugin and tool as a hostile reviewer. Emit one ranked ADD\u002FFIX\u002FCONSOLIDATE\u002FREMOVE list — simplicity is the tiebreaker.\n\n**Mode:** analytical — judgment inside a fixed frame. Keep the output shape; every verdict cites its evidence; unknowns are marked `[TBD]` or `[VERIFY]`, never filled in.\n\n## When to use\n\n- A release or maturity review of the whole marketplace (\"audit the marketplace\", \"red-team every plugin\").\n- After a burst of plugin\u002Fskill additions, to catch redundancy and over-engineering before it sets.\n- You suspect surfaces exist that no real workflow, command, or user reaches.\n\nNot for reviewing one SKILL.md (`polymath-author:skill-author-critic`) or one plugin's structure (`polymath-author:validate-plugin`) — this is the marketplace-wide lens that calls those per item.\n\n## Inputs\n\n- The marketplace root (default: the repo you are in).\n- Optional scope: a subset of plugins\u002Ftools. Absent → the whole catalog.\n\n## Procedure\n\n### 1. Enumerate from ground truth, not memory\n\nRun the deterministic inventory first — never audit from recollection:\n\n```bash\ntools\u002Ftoken-report.py budget          # always-on cost per plugin\ntools\u002Fcheck-command-overlap.py        # commands that only shadow a skill\ntools\u002Fcheck-workflow-invokes.py       # workflow steps -> real skills\ntools\u002Flint-descriptions.py --strict   # description collisions = redundancy signal\ntools\u002Fbuild-surface-index.py --check  # every routed surface, in sync\ntools\u002Fcheck-skill-shape.py --modes    # every skill's declared mode (deterministic \u002F analytical \u002F generative)\n```\n\nBuild the work-list — each entry is one audit unit:\n\n- every plugin (`plugins\u002Fpolymath-*\u002F`)\n- every catalog tool-surface (`plugins\u002F*\u002Ftools\u002F*\u002Ftool.json`) — **not** the top-level `tools\u002F` dir, which holds maintainer\u002FCI scripts (audit those as a separate pass)\n- every workflow (`plugins\u002Fpolymath-flows\u002Fworkflows\u002F*.yaml`)\n\n### 2. Loop — the devil's-advocate lens (per unit)\n\nFor each unit, answer all five. Quote a `file:line` for every claim:\n\n1. **Would a real practitioner reach for this mid-SDLC, or is it theater?** Name the concrete scenario. No scenario → REMOVE candidate.\n2. **What breaks the first real use?** Walk the unhappy path, not the demo — including an unattended run (workflow step, subagent) where nobody answers questions.\n3. **What does it duplicate?** Overlapping description, twin procedure, or a workflow that already chains it.\n4. **Cost vs. payoff.** Always-on tokens (step 1 numbers) against the manual work it actually saves.\n5. **Deletion test.** If removed, who complains and why? Nobody → REMOVE.\n\nDelegate the deep per-item critique instead of redoing it inline:\n\n- SKILL.md craft → `polymath-author:skill-author-critic`\n- Adversarial design objections → `polymath-thinking:red-team` \u002F the `architecture-critic` agent\n- Structure \u002F manifest → `polymath-author:validate-plugin`\n\n### 3. Hunt the two failure directions\n\n- **Gaps (ADD).** Per SDLC stage, name a real scenario a team hits that nothing covers. A gap is real only if (a) a concrete scenario needs it and (b) no existing surface — even an adjacent one — covers it. Otherwise it is not a gap.\n- **Bloat (REMOVE \u002F CONSOLIDATE).** Surfaces with no invoker, twin skills, commands that only shim a skill (the promotion policy in `docs\u002FPLUGIN-AUTHORING.md` §5.1 at the marketplace root), machinery with no user, references nothing links to.\n\n### 4. Classify and rank\n\nEvery unit gets exactly one verdict: ADD \u002F FIX \u002F CONSOLIDATE \u002F REMOVE \u002F KEEP. Each carries evidence (`file:line` or tool output), the real-world scenario, severity (blocker \u002F major \u002F minor), and effort.\n\nSimplicity is the tiebreaker:\n\n- ADD only with a named scenario **and** proof nothing covers it.\n- Prefer CONSOLIDATE over ADD; prefer REMOVE over FIX when a surface has no demonstrated use.\n- Track the **net surface delta** (added − removed). It must be ≤ 0 unless a gap is proven — a quality audit shrinks the catalog more often than it grows it.\n\n## Output\n\n```text\naudit-marketplace: \u003Cmarketplace> @ \u003Ccommit>\n\nScorecard:\n  plugins N · skills N · tools N · workflows N · always-on tokens N\n  verdicts: ADD a · FIX f · CONSOLIDATE c · REMOVE r · KEEP k\n  net surface delta: +a −r = \u003C±n>   (target ≤ 0)\n\nBlockers (production readiness):\n  - [FIX] polymath-foo:bar (SKILL.md:42) — breaks on \u003Cunhappy path>. Scenario: \u003Creal use>. Fix: \u003Cchange>.\n\nConsolidate:\n  - [CONSOLIDATE] polymath-x:a + polymath-x:b — twin procedures (a\u002FSKILL.md:10 ≈ b\u002FSKILL.md:12). Merge into a; drop b. Saves \u003Cn> tokens.\n\nRemove:\n  - [REMOVE] polymath-y:z — no workflow\u002Fcommand\u002Fuser invokes it. Deletion test: nobody complains. Evidence: check-workflow-invokes.py.\n\nAdd (gaps — each with proof nothing covers it):\n  - [ADD] \u003Cstage>: \u003Cscenario>. Nearest existing: \u003Csurface> — why it does not cover it.\n\nVerdict: SHIP \u002F FIX-FIRST \u002F OVERBUILT.\n  Top 3 actions, in order.\n```\n\n## Quality bar\n\n- Every finding cites `file:line` or the tool output that proves it. No \"feels redundant\".\n- Each ADD names the real-world scenario and the nearest existing surface it is NOT covered by.\n- The net surface delta is stated. An audit that only adds is a failed audit.\n- Verdicts are decisions (REMOVE — not \"consider removing\").\n\n## Anti-patterns to avoid\n\n- Auditing from memory instead of running the inventory tools in step 1.\n- Proposing a new plugin\u002Fskill when an existing one stretches to cover the scenario.\n- \"Nice to have\" ADDs with no scenario — that is how the bloat got here.\n- Re-implementing red-team \u002F skill-author-critic \u002F validate-plugin inline instead of delegating.\n- Polishing minor wording while a surface that nothing invokes survives.\n","# audit-marketplace\n\n> Walk every plugin and tool as a hostile reviewer. Emit one ranked ADD\u002FFIX\u002FCONSOLIDATE\u002FREMOVE list — simplicity is the tiebreaker.\n\n**Mode:** analytical — judgment inside a fixed frame. Keep the output shape; every verdict cites its evidence; unknowns are marked `[TBD]` or `[VERIFY]`, never filled in.\n\n## When to use\n\n- A release or maturity review of the whole marketplace (\"audit the marketplace\", \"red-team every plugin\").\n- After a burst of plugin\u002Fskill additions, to catch redundancy and over-engineering before it sets.\n- You suspect surfaces exist that no real workflow, command, or user reaches.\n\nNot for reviewing one SKILL.md (`polymath-author:skill-author-critic`) or one plugin's structure (`polymath-author:validate-plugin`) — this is the marketplace-wide lens that calls those per item.\n\n## Inputs\n\n- The marketplace root (default: the repo you are in).\n- Optional scope: a subset of plugins\u002Ftools. Absent → the whole catalog.\n\n## Procedure\n\n### 1. Enumerate from ground truth, not memory\n\nRun the deterministic inventory first — never audit from recollection:\n\n```bash\ntools\u002Ftoken-report.py budget          # always-on cost per plugin\ntools\u002Fcheck-command-overlap.py        # commands that only shadow a skill\ntools\u002Fcheck-workflow-invokes.py       # workflow steps -> real skills\ntools\u002Flint-descriptions.py --strict   # description collisions = redundancy signal\ntools\u002Fbuild-surface-index.py --check  # every routed surface, in sync\ntools\u002Fcheck-skill-shape.py --modes    # every skill's declared mode (deterministic \u002F analytical \u002F generative)\n```\n\nBuild the work-list — each entry is one audit unit:\n\n- every plugin (`plugins\u002Fpolymath-*\u002F`)\n- every catalog tool-surface (`plugins\u002F*\u002Ftools\u002F*\u002Ftool.json`) — **not** the top-level `tools\u002F` dir, which holds maintainer\u002FCI scripts (audit those as a separate pass)\n- every workflow (`plugins\u002Fpolymath-flows\u002Fworkflows\u002F*.yaml`)\n\n### 2. Loop — the devil's-advocate lens (per unit)\n\nFor each unit, answer all five. Quote a `file:line` for every claim:\n\n1. **Would a real practitioner reach for this mid-SDLC, or is it theater?** Name the concrete scenario. No scenario → REMOVE candidate.\n2. **What breaks the first real use?** Walk the unhappy path, not the demo — including an unattended run (workflow step, subagent) where nobody answers questions.\n3. **What does it duplicate?** Overlapping description, twin procedure, or a workflow that already chains it.\n4. **Cost vs. payoff.** Always-on tokens (step 1 numbers) against the manual work it actually saves.\n5. **Deletion test.** If removed, who complains and why? Nobody → REMOVE.\n\nDelegate the deep per-item critique instead of redoing it inline:\n\n- SKILL.md craft → `polymath-author:skill-author-critic`\n- Adversarial design objections → `polymath-thinking:red-team` \u002F the `architecture-critic` agent\n- Structure \u002F manifest → `polymath-author:validate-plugin`\n\n### 3. Hunt the two failure directions\n\n- **Gaps (ADD).** Per SDLC stage, name a real scenario a team hits that nothing covers. A gap is real only if (a) a concrete scenario needs it and (b) no existing surface — even an adjacent one — covers it. Otherwise it is not a gap.\n- **Bloat (REMOVE \u002F CONSOLIDATE).** Surfaces with no invoker, twin skills, commands that only shim a skill (the promotion policy in `docs\u002FPLUGIN-AUTHORING.md` §5.1 at the marketplace root), machinery with no user, references nothing links to.\n\n### 4. Classify and rank\n\nEvery unit gets exactly one verdict: ADD \u002F FIX \u002F CONSOLIDATE \u002F REMOVE \u002F KEEP. Each carries evidence (`file:line` or tool output), the real-world scenario, severity (blocker \u002F major \u002F minor), and effort.\n\nSimplicity is the tiebreaker:\n\n- ADD only with a named scenario **and** proof nothing covers it.\n- Prefer CONSOLIDATE over ADD; prefer REMOVE over FIX when a surface has no demonstrated use.\n- Track the **net surface delta** (added − removed). It must be ≤ 0 unless a gap is proven — a quality audit shrinks the catalog more often than it grows it.\n\n## Output\n\n```text\naudit-marketplace: \u003Cmarketplace> @ \u003Ccommit>\n\nScorecard:\n  plugins N · skills N · tools N · workflows N · always-on tokens N\n  verdicts: ADD a · FIX f · CONSOLIDATE c · REMOVE r · KEEP k\n  net surface delta: +a −r = \u003C±n>   (target ≤ 0)\n\nBlockers (production readiness):\n  - [FIX] polymath-foo:bar (SKILL.md:42) — breaks on \u003Cunhappy path>. Scenario: \u003Creal use>. Fix: \u003Cchange>.\n\nConsolidate:\n  - [CONSOLIDATE] polymath-x:a + polymath-x:b — twin procedures (a\u002FSKILL.md:10 ≈ b\u002FSKILL.md:12). Merge into a; drop b. Saves \u003Cn> tokens.\n\nRemove:\n  - [REMOVE] polymath-y:z — no workflow\u002Fcommand\u002Fuser invokes it. Deletion test: nobody complains. Evidence: check-workflow-invokes.py.\n\nAdd (gaps — each with proof nothing covers it):\n  - [ADD] \u003Cstage>: \u003Cscenario>. Nearest existing: \u003Csurface> — why it does not cover it.\n\nVerdict: SHIP \u002F FIX-FIRST \u002F OVERBUILT.\n  Top 3 actions, in order.\n```\n\n## Quality bar\n\n- Every finding cites `file:line` or the tool output that proves it. No \"feels redundant\".\n- Each ADD names the real-world scenario and the nearest existing surface it is NOT covered by.\n- The net surface delta is stated. An audit that only adds is a failed audit.\n- Verdicts are decisions (REMOVE — not \"consider removing\").\n\n## Anti-patterns to avoid\n\n- Auditing from memory instead of running the inventory tools in step 1.\n- Proposing a new plugin\u002Fskill when an existing one stretches to cover the scenario.\n- \"Nice to have\" ADDs with no scenario — that is how the bloat got here.\n- Re-implementing red-team \u002F skill-author-critic \u002F validate-plugin inline instead of delegating.\n- Polishing minor wording while a surface that nothing invokes survives.\n",{"name":5,"description":7},"main","23f6e21841a39580c9da2b5ec941f39dda17cd86","plugins\u002Fpolymath-author\u002Fskills\u002Faudit-marketplace","https:\u002F\u002Fgithub.com\u002FMohammadBafkar\u002Fpolymath","https:\u002F\u002Fgithub.com\u002FMohammadBafkar","2026-10-29 18:34:59",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add MohammadBafkar\u002Fpolymath --skill audit-marketplace",{"tool":36,"command":37},"bunx","bunx skills add MohammadBafkar\u002Fpolymath --skill audit-marketplace",{"tool":39,"command":40},"pnpm","pnpm dlx skills add MohammadBafkar\u002Fpolymath --skill audit-marketplace","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMohammadBafkar\u002Fpolymath\u002Fblob\u002Fmain\u002Fplugins\u002Fpolymath-author\u002Fskills\u002Faudit-marketplace\u002FSKILL.md",true,[],[45,52,59,66,73,80],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":19},"01M74GN87EBRHM9N87M7AP1HDD","runbook","Write or refresh an operational runbook for an alert\u002Fsymptom; structured as TL;DR + Pre-checks + Steps + Verification + Rollback + Escalation.","https:\u002F\u002Fgithub.com\u002FMohammadBafkar\u002Fpolymath\u002Fblob\u002Fmain\u002Fplugins\u002Fpolymath-writing\u002Fskills\u002Frunbook\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M74GN5GPKEC1JEKP2DFQNEQJ","rfc","Draft a lightweight design RFC to docs\u002Frfcs\u002F\u003Cslug>.md; Summary, Motivation, Detailed design, Drawbacks, Alternatives, Unresolved questions. A proposal to debate, not a recorded decision (adr).","https:\u002F\u002Fgithub.com\u002FMohammadBafkar\u002Fpolymath\u002Fblob\u002Fmain\u002Fplugins\u002Fpolymath-writing\u002Fskills\u002Frfc\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M74GN2F4CWPMV4X09TG4E304","editorial-pass","Review and tighten prose in a Markdown artifact for a target tone (terse, formal, friendly) without dropping information; preserve quotations and load-bearing constraints.","https:\u002F\u002Fgithub.com\u002FMohammadBafkar\u002Fpolymath\u002Fblob\u002Fmain\u002Fplugins\u002Fpolymath-writing\u002Fskills\u002Feditorial-pass\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M74GMZWGYMZ37C4DYGT6P23G","architecture-review-facilitation","Run an architecture review as a process — entry criteria, reviewer checklist, decision log, and follow-up actions — pairing the design artifact with a red-team pass.","https:\u002F\u002Fgithub.com\u002FMohammadBafkar\u002Fpolymath\u002Fblob\u002Fmain\u002Fplugins\u002Fpolymath-writing\u002Fskills\u002Farchitecture-review-facilitation\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M74GMXVX0YX3ETDXS527XDGM","architecture-doc","Write a C4-style architecture document; System Context + Containers (+ Components when interesting) with mermaid diagrams. Describes structure, not a decision (adr) or proposal (rfc).","https:\u002F\u002Fgithub.com\u002FMohammadBafkar\u002Fpolymath\u002Fblob\u002Fmain\u002Fplugins\u002Fpolymath-writing\u002Fskills\u002Farchitecture-doc\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M74GMVG1WSMCK066S3KE6V5K","adr","Write an Architecture Decision Record (Michael Nygard format) to docs\u002Fadrs\u002FNNNN-\u003Cslug>.md; frontmatter validated by the ADR artifact schema. Records a made decision, not a proposal to debate (rfc).","https:\u002F\u002Fgithub.com\u002FMohammadBafkar\u002Fpolymath\u002Fblob\u002Fmain\u002Fplugins\u002Fpolymath-writing\u002Fskills\u002Fadr\u002FSKILL.md",[],[]]