[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6X7V5YGJVG9ZX7K2AS4742B":3,"skill-same:01M6X7V5YGJVG9ZX7K2AS4742B":78},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":54,"ownerHtmlUrl":55,"ownerBlogUrl":54,"ownerDescription":56,"updatedAt":57,"install":58,"resources":71},"01M6X7V5YGJVG9ZX7K2AS4742B","standards-from-config",null,"Use when you need this project's coding standards (line length, quotes, import order, naming, commit format) — derive them from the REAL tooling config as a pointer + digest, never a guessed claim.","event4u-app\u002Fagent-config","event4u-app","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F199339632?v=4","01M6X5TWBNCQCE1VDKT4E9KF7N","event4u.app","01M6X5TWF4HRM266RG2Q5VVH1X",19,"MIT","https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config\u002Fblob\u002Fmain\u002Fsrc\u002Fskills\u002Fstandards-from-config\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"config","standards from config","standards","project","commit","when","quotes","you","naming","import","line","as","format","digest","claim","base","coding standards","tooling","never","use","2026-11-10 10:12:30",false,"---\nmodel_tier: medium\nname: standards-from-config\ndescription: \"Use when you need this project's coding standards (line length, quotes, import order, naming, commit format) — derive them from the REAL tooling config as a pointer + digest, never a guessed claim.\"\ndomain: engineering\nworkspaces:\n  - engineering\npacks:\n  - engineering-base\n---\n\n# standards-from-config\n\nEvidence v2 **Class A** — configured convention. The safe, on-thesis half of\nself-building project context: coding standards are not *guessed* and not\n*observed*, they are **derived from the real tooling config**. The config *is*\nthe standard; this skill produces a **pointer + digest**, never a flattened\nclaim. High-trust, auto-refreshable, drift-proof — because the truth lives in\nthe config file, and the card only points at it plus distils the 3–5 points an\nagent needs most while writing.\n\nDefinitions (Class A\u002FB\u002FC, trust tiers, the v1↔v2 isolation contract) live in\n[`evidence-discipline`](..\u002F..\u002Fagent-src\u002Fcontexts\u002Fexecution\u002Fevidence-discipline.md);\nthe parent context mechanism is [`context-document`](..\u002Fcontext-document\u002FSKILL.md).\n\n## When to use\n\n- Before writing or reformatting code in an unfamiliar project and you need its\n  enforced style (indent, line length, quote style, import order, naming).\n- Before writing a commit message \u002F branch name and you need the project's\n  commit convention.\n- When orienting in a repo and a committed Class-A standards card would save the\n  next agent from re-deriving the same config.\n\nDo NOT use for: a standard that has **no** config backing (that is a *guessed*\nor *observed* convention — Class B, not A; never invent a Class-A claim); the\nconcrete shape of code (that is v1 `source-discovery`, read fresh); a project\nwith no tooling config at all (record a negative fact: \"no enforced standard\nfound\", do not fabricate one).\n\n## Procedure\n\n1. **Detect the real config sources** (read fresh, never from memory). Common\n   sources, by ecosystem — inspect what actually exists:\n   - cross-stack: `.editorconfig`, `CONTRIBUTING.md`, commitlint \u002F\n     `.gitmessage`, the lint\u002Fformat steps in the CI workflow.\n   - JS\u002FTS: `eslint.config.js` \u002F `.eslintrc*`, `.prettierrc*`, `biome.json`,\n     `tsconfig.json` (strictness).\n   - PHP: `pint.json`, `.php-cs-fixer.dist.php`, `phpcs.xml`.\n   - Python: `pyproject.toml` \u002F `ruff.toml` (`[tool.ruff]`, `[tool.black]`),\n     `setup.cfg`.\n   - Ruby: `.rubocop.yml`. Go: `gofmt`\u002F`golangci.yml`.\n2. **Follow the chain before you digest, and pick the config NEAREST the edit.**\n   Read literally — one file, one parse — this procedure returns a null on a\n   repository whose root config is a single `extends`. A fourteen-line linter\n   config whose only load-bearing line points into a package in the same\n   workspace is not a project without standards; it is a project whose standards\n   are one hop away, and \"no enforced standard found\" there is a false negative\n   that reads exactly like a true one. `extends` is specified in TypeScript,\n   ESLint, Biome and Stylelint; `includes` plays the same role in PHPStan and\n   Rector; `workspace:` is documented in npm, yarn, pnpm and bun.\n   - **Precedence is nearest-first, and it is not a preference.** The config in\n     the edited path's own directory governs, then its parent, up to the\n     repository root. A per-package `tsconfig.json`, `.eslintrc`, `.env` or\n     deployment manifest is the one that package's build reads; a root file it\n     does not extend has no effect on it. Reading the root config for an edit\n     inside a package that carries its own is a **wrong** answer, not a coarse\n     one. Report the outranked root candidate too, so the precedence is visible.\n   - **An unresolvable hop is a named gap with a PARTIAL digest, never an\n     absence.** Say which hop failed and why. A partial digest naming its gap is\n     usable; a null that reads as \"no standards\" is a lie.\n   - **A hop that leaves the repository is labelled `external` and excluded from\n     the digest.** Presenting a third-party preset as the project's own standard\n     is worse than reporting nothing — the reader cannot tell which rules the\n     project chose. Report it with its path; do not merge it.\n3. **Derive as pointer + digest, never a flattened claim.** Each standard is one\n   line: the **value**, the **config file it came from**, and the **scope** it\n   applies to. Write `ruff.toml → line-length = 88 (scope: src\u002F**\u002F*.py)`, NOT\n   \"the project uses line length 88\". The pointer makes the claim re-checkable\n   and the next agent can open the config to confirm.\n4. **Preserve scope; surface conflicts, never flatten them.** If two configs (or\n   an inline \u002F per-directory override) give two values, emit **two pointers with\n   two values + their scopes** — never one ambiguous merged claim. A visible\n   conflict is correct; a hidden flattened guess is the failure mode.\n   Instruction files (`AGENTS.md`, `CLAUDE.md`, `.cursorrules`) are a conflict\n   source too: prose that contradicts a config is a second pointer, not a\n   correction of the first. A user correction repeated against the config\n   (\"tabs, for the third time\") is asked about — which one should change? —\n   never silently adopted over the config.\n5. **Stamp staleness.** Record each source's `config_mtime` (or content hash).\n   The digest is stale when the config file's mtime\u002Fhash changes → re-derive. No\n   human gate is needed (Class A is deterministic) — the digest is **regenerated\n   from the config, never hand-edited**.\n6. **Persist** as a Class-A context card under `agents\u002Fsettings\u002Fcontexts\u002F` (see\n   Output format). Class A is high-trust *because* config-derived — it is read\n   for heuristics only and never bypasses a fresh structural read (the v1↔v2\n   isolation contract in `evidence-discipline`).\n\n## Output format\n\nA Class-A standards card MUST contain, in order:\n\n1. **Frontmatter** `class: A`, `trust: high (config-derived)`, and a\n   `sources:` list of `{path, config_mtime}` for every config the digest reads.\n2. **A pointer+digest table** — one row per standard: `standard | value | source\n   (file:key) | scope`. No standard appears without a `source` cell pointing at\n   a real config file.\n3. **A conflicts block** (may be empty) listing any standard where ≥2 sources \u002F\n   scopes disagree, as two-or-more rows, never one merged value.\n4. **A refresh line** stating the card is regenerated when any listed\n   `config_mtime` changes, and is read for heuristics only (never a structural\n   bypass).\n\n## Gotcha\n\n- A standard with no config backing is **not** Class A — do not write it here;\n  it is a guessed\u002Fobserved convention (Class B) or nothing. Class A never\n  fabricates.\n- Do not flatten conflicting configs into one value — the conflict is the\n  signal; surface both pointers.\n- The card is a **regenerated digest**, not a hand-edited doc — editing the\n  value by hand instead of the config defeats the drift-proofing.\n- A green pointer is not \"the code obeys this\" — it means the config declares it;\n  whether a given file complies is a fresh read, not this card's claim.\n\n## Do NOT\n\n- Do NOT emit a coding standard as a believed fact (\"we use 4 spaces\") — emit a\n  pointer to the config that declares it.\n- Do NOT merge conflicting configs into a single claim.\n- Do NOT hand-edit the digest value instead of the config.\n- Do NOT use a Class-A card to skip a fresh structural read (v1 stays in force).\n- Do NOT commit the card without permission (`scope-control`).\n\n## See also\n\n- [`evidence-discipline`](..\u002F..\u002Fagent-src\u002Fcontexts\u002Fexecution\u002Fevidence-discipline.md) — Class A\u002FB\u002FC, trust tiers, the isolation contract.\n- [`context-document`](..\u002Fcontext-document\u002FSKILL.md) — the parent context mechanism + storage locations.\n- [`source-discovery`](..\u002Fsource-discovery\u002FSKILL.md) — v1 structural discovery (read fresh; Class A never bypasses it).\n","# standards-from-config\n\nEvidence v2 **Class A** — configured convention. The safe, on-thesis half of\nself-building project context: coding standards are not *guessed* and not\n*observed*, they are **derived from the real tooling config**. The config *is*\nthe standard; this skill produces a **pointer + digest**, never a flattened\nclaim. High-trust, auto-refreshable, drift-proof — because the truth lives in\nthe config file, and the card only points at it plus distils the 3–5 points an\nagent needs most while writing.\n\nDefinitions (Class A\u002FB\u002FC, trust tiers, the v1↔v2 isolation contract) live in\n[`evidence-discipline`](..\u002F..\u002Fagent-src\u002Fcontexts\u002Fexecution\u002Fevidence-discipline.md);\nthe parent context mechanism is [`context-document`](..\u002Fcontext-document\u002FSKILL.md).\n\n## When to use\n\n- Before writing or reformatting code in an unfamiliar project and you need its\n  enforced style (indent, line length, quote style, import order, naming).\n- Before writing a commit message \u002F branch name and you need the project's\n  commit convention.\n- When orienting in a repo and a committed Class-A standards card would save the\n  next agent from re-deriving the same config.\n\nDo NOT use for: a standard that has **no** config backing (that is a *guessed*\nor *observed* convention — Class B, not A; never invent a Class-A claim); the\nconcrete shape of code (that is v1 `source-discovery`, read fresh); a project\nwith no tooling config at all (record a negative fact: \"no enforced standard\nfound\", do not fabricate one).\n\n## Procedure\n\n1. **Detect the real config sources** (read fresh, never from memory). Common\n   sources, by ecosystem — inspect what actually exists:\n   - cross-stack: `.editorconfig`, `CONTRIBUTING.md`, commitlint \u002F\n     `.gitmessage`, the lint\u002Fformat steps in the CI workflow.\n   - JS\u002FTS: `eslint.config.js` \u002F `.eslintrc*`, `.prettierrc*`, `biome.json`,\n     `tsconfig.json` (strictness).\n   - PHP: `pint.json`, `.php-cs-fixer.dist.php`, `phpcs.xml`.\n   - Python: `pyproject.toml` \u002F `ruff.toml` (`[tool.ruff]`, `[tool.black]`),\n     `setup.cfg`.\n   - Ruby: `.rubocop.yml`. Go: `gofmt`\u002F`golangci.yml`.\n2. **Follow the chain before you digest, and pick the config NEAREST the edit.**\n   Read literally — one file, one parse — this procedure returns a null on a\n   repository whose root config is a single `extends`. A fourteen-line linter\n   config whose only load-bearing line points into a package in the same\n   workspace is not a project without standards; it is a project whose standards\n   are one hop away, and \"no enforced standard found\" there is a false negative\n   that reads exactly like a true one. `extends` is specified in TypeScript,\n   ESLint, Biome and Stylelint; `includes` plays the same role in PHPStan and\n   Rector; `workspace:` is documented in npm, yarn, pnpm and bun.\n   - **Precedence is nearest-first, and it is not a preference.** The config in\n     the edited path's own directory governs, then its parent, up to the\n     repository root. A per-package `tsconfig.json`, `.eslintrc`, `.env` or\n     deployment manifest is the one that package's build reads; a root file it\n     does not extend has no effect on it. Reading the root config for an edit\n     inside a package that carries its own is a **wrong** answer, not a coarse\n     one. Report the outranked root candidate too, so the precedence is visible.\n   - **An unresolvable hop is a named gap with a PARTIAL digest, never an\n     absence.** Say which hop failed and why. A partial digest naming its gap is\n     usable; a null that reads as \"no standards\" is a lie.\n   - **A hop that leaves the repository is labelled `external` and excluded from\n     the digest.** Presenting a third-party preset as the project's own standard\n     is worse than reporting nothing — the reader cannot tell which rules the\n     project chose. Report it with its path; do not merge it.\n3. **Derive as pointer + digest, never a flattened claim.** Each standard is one\n   line: the **value**, the **config file it came from**, and the **scope** it\n   applies to. Write `ruff.toml → line-length = 88 (scope: src\u002F**\u002F*.py)`, NOT\n   \"the project uses line length 88\". The pointer makes the claim re-checkable\n   and the next agent can open the config to confirm.\n4. **Preserve scope; surface conflicts, never flatten them.** If two configs (or\n   an inline \u002F per-directory override) give two values, emit **two pointers with\n   two values + their scopes** — never one ambiguous merged claim. A visible\n   conflict is correct; a hidden flattened guess is the failure mode.\n   Instruction files (`AGENTS.md`, `CLAUDE.md`, `.cursorrules`) are a conflict\n   source too: prose that contradicts a config is a second pointer, not a\n   correction of the first. A user correction repeated against the config\n   (\"tabs, for the third time\") is asked about — which one should change? —\n   never silently adopted over the config.\n5. **Stamp staleness.** Record each source's `config_mtime` (or content hash).\n   The digest is stale when the config file's mtime\u002Fhash changes → re-derive. No\n   human gate is needed (Class A is deterministic) — the digest is **regenerated\n   from the config, never hand-edited**.\n6. **Persist** as a Class-A context card under `agents\u002Fsettings\u002Fcontexts\u002F` (see\n   Output format). Class A is high-trust *because* config-derived — it is read\n   for heuristics only and never bypasses a fresh structural read (the v1↔v2\n   isolation contract in `evidence-discipline`).\n\n## Output format\n\nA Class-A standards card MUST contain, in order:\n\n1. **Frontmatter** `class: A`, `trust: high (config-derived)`, and a\n   `sources:` list of `{path, config_mtime}` for every config the digest reads.\n2. **A pointer+digest table** — one row per standard: `standard | value | source\n   (file:key) | scope`. No standard appears without a `source` cell pointing at\n   a real config file.\n3. **A conflicts block** (may be empty) listing any standard where ≥2 sources \u002F\n   scopes disagree, as two-or-more rows, never one merged value.\n4. **A refresh line** stating the card is regenerated when any listed\n   `config_mtime` changes, and is read for heuristics only (never a structural\n   bypass).\n\n## Gotcha\n\n- A standard with no config backing is **not** Class A — do not write it here;\n  it is a guessed\u002Fobserved convention (Class B) or nothing. Class A never\n  fabricates.\n- Do not flatten conflicting configs into one value — the conflict is the\n  signal; surface both pointers.\n- The card is a **regenerated digest**, not a hand-edited doc — editing the\n  value by hand instead of the config defeats the drift-proofing.\n- A green pointer is not \"the code obeys this\" — it means the config declares it;\n  whether a given file complies is a fresh read, not this card's claim.\n\n## Do NOT\n\n- Do NOT emit a coding standard as a believed fact (\"we use 4 spaces\") — emit a\n  pointer to the config that declares it.\n- Do NOT merge conflicting configs into a single claim.\n- Do NOT hand-edit the digest value instead of the config.\n- Do NOT use a Class-A card to skip a fresh structural read (v1 stays in force).\n- Do NOT commit the card without permission (`scope-control`).\n\n## See also\n\n- [`evidence-discipline`](..\u002F..\u002Fagent-src\u002Fcontexts\u002Fexecution\u002Fevidence-discipline.md) — Class A\u002FB\u002FC, trust tiers, the isolation contract.\n- [`context-document`](..\u002Fcontext-document\u002FSKILL.md) — the parent context mechanism + storage locations.\n- [`source-discovery`](..\u002Fsource-discovery\u002FSKILL.md) — v1 structural discovery (read fresh; Class A never bypasses it).\n",{"name":5,"packs":44,"domain":46,"model_tier":47,"workspaces":48,"description":7},[45],"engineering-base","engineering","medium",[46],"main","12bd765ce1d800501d45dfb8232102793af01290","src\u002Fskills\u002Fstandards-from-config",1,"https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config","https:\u002F\u002Fevent4u.app","https:\u002F\u002Fgithub.com\u002Fevent4u-app","Your events in your hand","2026-11-14 02:29:41",{"source":8,"skillName":5,"commands":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add event4u-app\u002Fagent-config --skill standards-from-config",{"tool":64,"command":65},"bunx","bunx skills add event4u-app\u002Fagent-config --skill standards-from-config",{"tool":67,"command":68},"pnpm","pnpm dlx skills add event4u-app\u002Fagent-config --skill standards-from-config","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config\u002Fblob\u002Fmain\u002Fsrc\u002Fskills\u002Fstandards-from-config\u002FSKILL.md",true,[72],{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"evals\u002Ftriggers.json","REFERENCE","参考文档",3174,"https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config\u002Fblob\u002Fmain\u002Fsrc\u002Fskills\u002Fstandards-from-config\u002Fevals\u002Ftriggers.json",[79,92,104,115,126,135],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":39},"01M6X84PK96XBPENXH66JCTSD1","unknown-key-fixture","Declares a key the schema does not know.","https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config\u002Fblob\u002Fmain\u002Ftests\u002Fscripts\u002Ffixtures\u002Fbody-portable\u002Funknown-key\u002FSKILL.md",[],[86,87,88,89,90,91],"unknown key fixture","Unknown key","fixture","unknown","schema","package",{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":39},"01M6X84HW7NAHZ7GZMQ9RXK1XJ","portable-fixture","Declares only semantics the MCP-lite carrier transports whole.","https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config\u002Fblob\u002Fmain\u002Ftests\u002Fscripts\u002Ffixtures\u002Fbody-portable\u002Fportable\u002FSKILL.md",[],[88,99,100,101,102,91,103],"portable","portable fixture","engineer","only","MCP",{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":39},"01M6X84F29FE0RGGZ1ZTFGZTX2","non-portable-fixture","Declares a runtime semantic the carrier drops.","https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config\u002Fblob\u002Fmain\u002Ftests\u002Fscripts\u002Ffixtures\u002Fbody-portable\u002Fnon-portable\u002FSKILL.md",[],[100,111,99,88,112,113,114,91],"non portable fixture","semantic","high","runtime",{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":39},"01M6X848F706PT9MDCX75JKJ6B","candidate-zero-width","A candidate whose prose carries an invisible joiner.","https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskill-scout-candidates\u002Fzero-width-injection\u002FSKILL.md",[],[122,123,124,125],"candidate zero width","candidate","ZeRO","prose",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":39},"01M6X841SSC2T31VDF41SA6DG1","candidate-disclosure-suppression","A candidate whose prose tells the agent to withhold from the user.","https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskill-scout-candidates\u002Fdisclosure-suppression\u002FSKILL.md",[],[133,123,125,134],"candidate disclosure suppression","user",{"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":39},"01M6X83TFS5AGPBPVTQNWP0BB3","candidate-dangerous-frontmatter","A candidate claiming an unscoped tool grant and a permission bypass.","https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskill-scout-candidates\u002Fdangerous-frontmatter\u002FSKILL.md",[],[142,123,143,144,145,146],"candidate dangerous frontmatter","frontmatter","shell","permission","tool"]