[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78054CDW8YG2R2QQHJY4TAD":3,"skill-same:01M78054CDW8YG2R2QQHJY4TAD":59},{"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":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M78054CDW8YG2R2QQHJY4TAD","actions-state-and-secrets",null,"Use when persisting values across a GitHub Action's pre\u002Fmain\u002Fpost phase boundary, handling a Redacted secret anywhere in @effected\u002Fgithub-actions, deciding whether a value belongs in ActionState or ActionOutputs, framing a blob with metadata for a cache or object store, reaping a detached child process, or rendering an Action's top-level failure. Also use when: ActionState, Redacted secret, BlobEnvelope, Secret.forChildEnv, Secret.forRunnerFile, Secret.forSigning, Secret.adopt, DryRun, DetachedProcess, GITHUB_STATE, ChildEnv PATH prepend","spencerbeggs\u002Feffected","spencerbeggs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F109114?v=4","01M77ZTHB70K5Y2VVTRCFY50A5","C. Spencer Beggs","01M77ZTHCC41NXBT3X906K6QM1",8,"MIT","https:\u002F\u002Fgithub.com\u002Fspencerbeggs\u002Feffected\u002Fblob\u002Fmain\u002Fplugin\u002Fbuilds\u002Fcopilot\u002Fskills\u002Factions-state-and-secrets\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: actions-state-and-secrets\ndescription: \"Use when persisting values across a GitHub Action's pre\u002Fmain\u002Fpost phase boundary, handling a Redacted secret anywhere in @effected\u002Fgithub-actions, deciding whether a value belongs in ActionState or ActionOutputs, framing a blob with metadata for a cache or object store, reaping a detached child process, or rendering an Action's top-level failure. Also use when: ActionState, Redacted secret, BlobEnvelope, Secret.forChildEnv, Secret.forRunnerFile, Secret.forSigning, Secret.adopt, DryRun, DetachedProcess, GITHUB_STATE, ChildEnv PATH prepend\"\n---\n\n# Actions state and secrets\n\nEverything in `@effected\u002Fgithub-actions` that crosses a phase boundary, or that must not leak. Each phase (`pre`\u002F`main`\u002F`post`) is a **separate process**; GitHub's own mechanism for carrying a value between them is a write-only file (`GITHUB_STATE`) whose entries the runner republishes to the next phase as `STATE_\u003Ckey>` environment variables. That asymmetry — write through a file, read through the environment — is why `ActionState` is a service rather than a pair of helper functions.\n\nFor general Effect v4 service\u002Flayer shape, typed errors, `Cause`, and `Scope`, see `effect-v4-services-layers`, `effect-v4-idioms`, `effect-v4-schema`. This skill carries only the Actions-specific instance of those rules.\n\n## What you have\n\n| Construct | Import | Reach for it when |\n| --- | --- | --- |\n| `ActionState.save` \u002F `.get` \u002F `.getOptional` | `import { ActionState } from \"@effected\u002Fgithub-actions\"` | round-tripping an ordinary, non-secret value across `pre`\u002F`main`\u002F`post` |\n| `ActionState.saveSecret` | same | persisting a value that came from a `Redacted` across the phase boundary |\n| `Secret.forChildEnv` \u002F `.forRunnerFile` \u002F `.forSigning` \u002F `.adopt` | `import { Secret } from \"@effected\u002Fgithub-actions\"` | the one module that turns a `Redacted` into a plaintext string, masking first |\n| `DryRun.guard` | `import { DryRun } from \"@effected\u002Fgithub-actions\"` | running a mutation for real, or logging and returning a fallback in a rehearsal |\n| `DetachedProcess.reap` | `import { DetachedProcess } from \"@effected\u002Fgithub-actions\"` | signalling a child process by a pid read back out of `GITHUB_STATE` |\n| `ChildEnv.prependPath` | `import { ChildEnv } from \"@effected\u002Fgithub-actions\"` | safely extending a spawned child's `PATH` across platforms |\n| `BlobEnvelope` | `import { BlobEnvelope } from \"@effected\u002Fgithub-actions\"` | framing bytes with caller-owned metadata before they reach a cache or blob store — full treatment in `actions-cache-and-artifacts`' `references\u002Fblob-stores.md` |\n\n## Standards\n\n- **Choose `ActionState` vs `ActionOutputs` mechanically, not stylistically.** `ActionState` crosses `pre → main → post` of the *same* action and never persists past the run; `ActionOutputs` crosses one step to a *later* step (possibly a different action) via `with:` outputs. A provisioned token or a detached child's pid is state; a value the workflow author wired into `steps.\u003Cid>.outputs.\u003Cname>` is an output.\n- **Design every state field's encoded form as plain JSON.** Use `Schema.OptionFromNullOr`, never `Schema.Option`, for an optional field — the latter's encoded form is an `Option` instance, not a JSON primitive, and the failure lands one phase later than the mistake.\n- **Call `saveSecret` for anything that came from a `Redacted`, ever; call plain `save` for everything else.** Only `saveSecret` masks before persisting. `GITHUB_STATE` is plaintext by GitHub's protocol, so the mask coupled to the write is the only defense a persisted secret gets.\n- **Let `Secret.ts` be the only place a `Redacted` becomes a string.** When a genuine third need for a raw secret shows up, add a member to `Secret` rather than granting an exception elsewhere — masking and declassifying are the same call by design.\n- **Give `DryRun.guard` a real fallback, always.** The fallback is required, not optional, so a rehearsal's return value is a design decision, not an afterthought.\n- **Validate a pid on the way *out* of `ActionState`, and again in `DetachedProcess.reap`.** A pid that crosses a text-file boundary has already lost whatever type safety it had; guard it at both ends rather than trusting the second guard alone.\n- **Audit every ported error channel for whether it can actually fire.** A channel wrapped around a body that can never throw is worse than no channel — delete the reason from the signature, or write a test that fires it.\n\n## Footguns\n\n- An `Option` field encoded with `Schema.Option` instead of `Schema.OptionFromNullOr` reports success in `main` and fails to decode in `post` — the mistake and its failure land in different phases. See `references\u002Fcross-phase-state.md`.\n- `DetachedProcess.reap` takes a plain `number`: an absent state key, a truncated file, or a bad parse all decode to `0`, and `process.kill(0, …)` signals the caller's entire process group. See `references\u002Fdetached-processes.md`.\n- `env` passed to a spawn call without `extendEnv: true` replaces the child's whole environment, including the `PATH` a caller meant to extend. See `references\u002Fdetached-processes.md`.\n- `BlobEnvelope`'s wire format, five-reason error union, and why a legacy raw blob decodes as a clean miss rather than garbage live in `actions-cache-and-artifacts`, not here — don't re-derive the frame shape from this skill's description alone.\n- **A `Schema.Redacted` field persisted as JSON round-trips to the literal string `\u003Credacted>`.** This is core Effect behavior, not a kit choice, and it is silent — the write succeeds, the read succeeds, and the value is garbage. Probed (`Schema.Redacted` encode → an object whose `JSON.stringify` is `\"\u003Credacted>\"`; `Schema.RedactedFromValue` encode → `\"s3cret\"`):\n\n  ```text\n  Schema.Redacted(Schema.String)      encode -> a Redacted object\n                                      JSON.stringify of that -> \"\u003Credacted>\"\n  Schema.RedactedFromValue(Schema.String)  encode -> \"s3cret\"   (the real value)\n  ```\n\n  `Redacted`'s own `toString`\u002F`toJSON` are what emit the sentinel, so **anything** that serializes a `Redacted` — `JSON.stringify`, a log line, a state field — gets `\u003Credacted>` rather than the secret. That is the right default and the reason it exists. But it means `Schema.Redacted` is the wrong schema for a value you intend to read back: use **`Schema.RedactedFromValue`**, whose encoded form *is* the underlying value (and which takes `disallowEncode` when you want the write to fail loudly instead). In an Actions context that round trip is `ActionState.saveSecret` on the way in — it masks before persisting — and `ActionState.get` \u002F `getOptional` on the way back out. One consumer lost real time to a token-theft theory before finding the sentinel was simply the encoder's output.\n\n## Additional resources\n\n- [references\u002Fcross-phase-state.md](references\u002Fcross-phase-state.md) — `ActionState`'s full shape and round-trip mechanics, the `ActionState`-vs-`ActionOutputs` decision table in full, `DryRun`'s safe-default contract, and the failure-channel discipline that decides demote-vs-die before a `Cause` ever reaches `Action.run`. Load when: designing a state bundle, choosing between state and outputs, or auditing an error channel.\n- [references\u002Fsecrets.md](references\u002Fsecrets.md) — `Secret`'s four members in full, the v4 fact that keeps the seam small (`HttpClientRequest.bearerToken` accepting a `Redacted` directly), the structural scan that proves only `Secret.ts` unwraps one, and `@effected\u002Fcommands`' `Redaction` for value-based scrubbing. Load when: adding a new place a secret needs to leave `Redacted`, or reviewing a suspected leak.\n- [references\u002Fdetached-processes.md](references\u002Fdetached-processes.md) — `DetachedProcess.reap`'s bare-pid guard and its test discipline, `ProcessId`'s validating constructor, and `ChildEnv`'s three PATH-prepending traps (`extendEnv`, Windows casing, `.cmd` shim shells). Load when: spawning or reaping a detached child process, or prepending to a child's `PATH`.\n","# Actions state and secrets\n\nEverything in `@effected\u002Fgithub-actions` that crosses a phase boundary, or that must not leak. Each phase (`pre`\u002F`main`\u002F`post`) is a **separate process**; GitHub's own mechanism for carrying a value between them is a write-only file (`GITHUB_STATE`) whose entries the runner republishes to the next phase as `STATE_\u003Ckey>` environment variables. That asymmetry — write through a file, read through the environment — is why `ActionState` is a service rather than a pair of helper functions.\n\nFor general Effect v4 service\u002Flayer shape, typed errors, `Cause`, and `Scope`, see `effect-v4-services-layers`, `effect-v4-idioms`, `effect-v4-schema`. This skill carries only the Actions-specific instance of those rules.\n\n## What you have\n\n| Construct | Import | Reach for it when |\n| --- | --- | --- |\n| `ActionState.save` \u002F `.get` \u002F `.getOptional` | `import { ActionState } from \"@effected\u002Fgithub-actions\"` | round-tripping an ordinary, non-secret value across `pre`\u002F`main`\u002F`post` |\n| `ActionState.saveSecret` | same | persisting a value that came from a `Redacted` across the phase boundary |\n| `Secret.forChildEnv` \u002F `.forRunnerFile` \u002F `.forSigning` \u002F `.adopt` | `import { Secret } from \"@effected\u002Fgithub-actions\"` | the one module that turns a `Redacted` into a plaintext string, masking first |\n| `DryRun.guard` | `import { DryRun } from \"@effected\u002Fgithub-actions\"` | running a mutation for real, or logging and returning a fallback in a rehearsal |\n| `DetachedProcess.reap` | `import { DetachedProcess } from \"@effected\u002Fgithub-actions\"` | signalling a child process by a pid read back out of `GITHUB_STATE` |\n| `ChildEnv.prependPath` | `import { ChildEnv } from \"@effected\u002Fgithub-actions\"` | safely extending a spawned child's `PATH` across platforms |\n| `BlobEnvelope` | `import { BlobEnvelope } from \"@effected\u002Fgithub-actions\"` | framing bytes with caller-owned metadata before they reach a cache or blob store — full treatment in `actions-cache-and-artifacts`' `references\u002Fblob-stores.md` |\n\n## Standards\n\n- **Choose `ActionState` vs `ActionOutputs` mechanically, not stylistically.** `ActionState` crosses `pre → main → post` of the *same* action and never persists past the run; `ActionOutputs` crosses one step to a *later* step (possibly a different action) via `with:` outputs. A provisioned token or a detached child's pid is state; a value the workflow author wired into `steps.\u003Cid>.outputs.\u003Cname>` is an output.\n- **Design every state field's encoded form as plain JSON.** Use `Schema.OptionFromNullOr`, never `Schema.Option`, for an optional field — the latter's encoded form is an `Option` instance, not a JSON primitive, and the failure lands one phase later than the mistake.\n- **Call `saveSecret` for anything that came from a `Redacted`, ever; call plain `save` for everything else.** Only `saveSecret` masks before persisting. `GITHUB_STATE` is plaintext by GitHub's protocol, so the mask coupled to the write is the only defense a persisted secret gets.\n- **Let `Secret.ts` be the only place a `Redacted` becomes a string.** When a genuine third need for a raw secret shows up, add a member to `Secret` rather than granting an exception elsewhere — masking and declassifying are the same call by design.\n- **Give `DryRun.guard` a real fallback, always.** The fallback is required, not optional, so a rehearsal's return value is a design decision, not an afterthought.\n- **Validate a pid on the way *out* of `ActionState`, and again in `DetachedProcess.reap`.** A pid that crosses a text-file boundary has already lost whatever type safety it had; guard it at both ends rather than trusting the second guard alone.\n- **Audit every ported error channel for whether it can actually fire.** A channel wrapped around a body that can never throw is worse than no channel — delete the reason from the signature, or write a test that fires it.\n\n## Footguns\n\n- An `Option` field encoded with `Schema.Option` instead of `Schema.OptionFromNullOr` reports success in `main` and fails to decode in `post` — the mistake and its failure land in different phases. See `references\u002Fcross-phase-state.md`.\n- `DetachedProcess.reap` takes a plain `number`: an absent state key, a truncated file, or a bad parse all decode to `0`, and `process.kill(0, …)` signals the caller's entire process group. See `references\u002Fdetached-processes.md`.\n- `env` passed to a spawn call without `extendEnv: true` replaces the child's whole environment, including the `PATH` a caller meant to extend. See `references\u002Fdetached-processes.md`.\n- `BlobEnvelope`'s wire format, five-reason error union, and why a legacy raw blob decodes as a clean miss rather than garbage live in `actions-cache-and-artifacts`, not here — don't re-derive the frame shape from this skill's description alone.\n- **A `Schema.Redacted` field persisted as JSON round-trips to the literal string `\u003Credacted>`.** This is core Effect behavior, not a kit choice, and it is silent — the write succeeds, the read succeeds, and the value is garbage. Probed (`Schema.Redacted` encode → an object whose `JSON.stringify` is `\"\u003Credacted>\"`; `Schema.RedactedFromValue` encode → `\"s3cret\"`):\n\n  ```text\n  Schema.Redacted(Schema.String)      encode -> a Redacted object\n                                      JSON.stringify of that -> \"\u003Credacted>\"\n  Schema.RedactedFromValue(Schema.String)  encode -> \"s3cret\"   (the real value)\n  ```\n\n  `Redacted`'s own `toString`\u002F`toJSON` are what emit the sentinel, so **anything** that serializes a `Redacted` — `JSON.stringify`, a log line, a state field — gets `\u003Credacted>` rather than the secret. That is the right default and the reason it exists. But it means `Schema.Redacted` is the wrong schema for a value you intend to read back: use **`Schema.RedactedFromValue`**, whose encoded form *is* the underlying value (and which takes `disallowEncode` when you want the write to fail loudly instead). In an Actions context that round trip is `ActionState.saveSecret` on the way in — it masks before persisting — and `ActionState.get` \u002F `getOptional` on the way back out. One consumer lost real time to a token-theft theory before finding the sentinel was simply the encoder's output.\n\n## Additional resources\n\n- [references\u002Fcross-phase-state.md](references\u002Fcross-phase-state.md) — `ActionState`'s full shape and round-trip mechanics, the `ActionState`-vs-`ActionOutputs` decision table in full, `DryRun`'s safe-default contract, and the failure-channel discipline that decides demote-vs-die before a `Cause` ever reaches `Action.run`. Load when: designing a state bundle, choosing between state and outputs, or auditing an error channel.\n- [references\u002Fsecrets.md](references\u002Fsecrets.md) — `Secret`'s four members in full, the v4 fact that keeps the seam small (`HttpClientRequest.bearerToken` accepting a `Redacted` directly), the structural scan that proves only `Secret.ts` unwraps one, and `@effected\u002Fcommands`' `Redaction` for value-based scrubbing. Load when: adding a new place a secret needs to leave `Redacted`, or reviewing a suspected leak.\n- [references\u002Fdetached-processes.md](references\u002Fdetached-processes.md) — `DetachedProcess.reap`'s bare-pid guard and its test discipline, `ProcessId`'s validating constructor, and `ChildEnv`'s three PATH-prepending traps (`extendEnv`, Windows casing, `.cmd` shim shells). Load when: spawning or reaping a detached child process, or prepending to a child's `PATH`.\n",{"name":5,"description":7},"main","11d6b3ae59538b0e16ad67c315ecb0c25fcb0125","plugin\u002Fbuilds\u002Fcopilot\u002Fskills\u002Factions-state-and-secrets",2,"https:\u002F\u002Fgithub.com\u002Fspencerbeggs\u002Feffected","https:\u002F\u002Fgithub.com\u002Fspencerbeggs","2026-11-14 07:03:25",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add spencerbeggs\u002Feffected --skill actions-state-and-secrets",{"tool":37,"command":38},"bunx","bunx skills add spencerbeggs\u002Feffected --skill actions-state-and-secrets",{"tool":40,"command":41},"pnpm","pnpm dlx skills add spencerbeggs\u002Feffected --skill actions-state-and-secrets","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fspencerbeggs\u002Feffected\u002Fblob\u002Fmain\u002Fplugin\u002Fbuilds\u002Fcopilot\u002Fskills\u002Factions-state-and-secrets\u002FSKILL.md",true,[45,51,55],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"references\u002Fcross-phase-state.md","REFERENCE","参考文档",7868,"https:\u002F\u002Fgithub.com\u002Fspencerbeggs\u002Feffected\u002Fblob\u002Fmain\u002Fplugin\u002Fbuilds\u002Fcopilot\u002Fskills\u002Factions-state-and-secrets\u002Freferences\u002Fcross-phase-state.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fdetached-processes.md",5754,"https:\u002F\u002Fgithub.com\u002Fspencerbeggs\u002Feffected\u002Fblob\u002Fmain\u002Fplugin\u002Fbuilds\u002Fcopilot\u002Fskills\u002Factions-state-and-secrets\u002Freferences\u002Fdetached-processes.md",{"path":56,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fsecrets.md",7907,"https:\u002F\u002Fgithub.com\u002Fspencerbeggs\u002Feffected\u002Fblob\u002Fmain\u002Fplugin\u002Fbuilds\u002Fcopilot\u002Fskills\u002Factions-state-and-secrets\u002Freferences\u002Fsecrets.md",[60,67,74,81,88,95],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M780NVTD800KMFV869YNZED6","testing-actions","Use when writing or reviewing tests for @effected\u002Fgithub-actions, @effected\u002Fgithub, @effected\u002Fsbom or @effected\u002Fcommands — stubbing the GitHub API, writing a service's layerTest or makeTest double, testing the pre\u002Fmain\u002Fpost lifecycle through Action.run, or debugging why a test hits the real network or hangs.","https:\u002F\u002Fgithub.com\u002Fspencerbeggs\u002Feffected\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Ftesting-actions\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M780NPDSGFC0FCP7696NW11J","supply-chain-attestation","Use when generating a CycloneDX SBOM, checking NTIA minimum elements, building an in-toto statement or a SLSA provenance predicate, signing into a Sigstore DSSE bundle, or uploading an attestation to GitHub.","https:\u002F\u002Fgithub.com\u002Fspencerbeggs\u002Feffected\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Fsupply-chain-attestation\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M780NGP4QNZDH8T8Q8WZ18SA","structuring-an-action","Use when laying out a new GitHub Action repository on the @effected suite, deciding where a piece of code belongs (an entry point, a step, a shared service, a shim), or reviewing an existing action's file structure against the canonical shape.","https:\u002F\u002Fgithub.com\u002Fspencerbeggs\u002Feffected\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Fstructuring-an-action\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M780NCD52H1Y03FS83WJ8BT5","running-commands-and-tools","Use when running a subprocess in Effect v4, spawning a command, capturing stdout\u002Fstderr\u002Fexit code, checking whether a CLI tool is installed or which copy to run, running a package-manager script through the project's launcher, detaching a background process, or redacting a secret from argv or captured output.","https:\u002F\u002Fgithub.com\u002Fspencerbeggs\u002Feffected\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Frunning-commands-and-tools\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M780N823DWNRMSY5X2NT5MSR","release-and-publish","Use when publishing a package to npm, reading the npm registry from Effect v4, checking whether a version is already published, cutting a release tag or GitHub release from an action, applying a release-age gate, or deriving tracking tags for GitHub Actions distribution.","https:\u002F\u002Fgithub.com\u002Fspencerbeggs\u002Feffected\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Frelease-and-publish\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M780MXRF6H20KCESTSSFB3HQ","hardening-a-parser-port","Use when porting or writing a recursive-descent parser, lexer, or tree-walker over untrusted text in the @effected monorepo — the class of hardening the cloud reviewer scans for on every migration. Covers stack-overflow depth guards (on EVERY recursion surface, which a facade has N of — not two), numeric bound guards that must reject NaN and non-integers, code-point range checks scoped to formats with wide escapes, prototype-pollution, control-character rejection, and the invariant that malformed input must fail through the typed error channel, never as an unhandled defect.","https:\u002F\u002Fgithub.com\u002Fspencerbeggs\u002Feffected\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Fhardening-a-parser-port\u002FSKILL.md",[],[]]