[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M787AQB60K8B3CS266QEC602":3,"skill-same:01M787AQB60K8B3CS266QEC602":99},{"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":25,"commitSha":26,"skillDirectory":27,"forksCount":14,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":29,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M787AQB60K8B3CS266QEC602","phargus-rules",null,"Create and replay Phargus collector alerts or sandboxed diagnostic rules from an observed Node.js runtime problem. Use when defining a threshold, sustained condition, or custom diagnostic finding.","pharn-dev\u002Fpharn-cli","pharn-dev","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F282059132?v=4","01M77KNAQZR604Z1FQXFEA3YAJ","Pharn","01M787AE6B4HVVA8EEV2YRP1WM",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fpharn-dev\u002Fpharn-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fphargus-rules\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: phargus-rules\ndescription: Create and replay Phargus collector alerts or sandboxed diagnostic rules from an observed Node.js runtime problem. Use when defining a threshold, sustained condition, or custom diagnostic finding.\nlicense: Apache-2.0\ncompatibility: Node.js >=22.18.0; a compatible Phargus application; isolated-vm only for sandbox rules.\n---\n\n# Phargus Rules\n\nTurn an observed condition into an executable, replay-tested diagnostic rule.\nRead [rules](references\u002Frules.md), [data semantics](references\u002Fdata.md) and\n[compatibility](references\u002Fcompatibility.md). Use [tools](references\u002Ftools.md) for replay.\n\n1. Establish the condition and select representative normal and incident data. Resolve\n   this skill's absolute directory before invoking scripts\u002Fphargus.mjs.\n2. Prefer collector alert JSON for a single metric threshold. Choose comparison and\n   forWindows deliberately, with thresholds in the metric's native units.\n3. Use a sandbox .js function body for multi-metric\u002Ftrend logic. Return findings with\n   windowStart and message; the host must not evaluate or import rule text.\n4. Run rules on normal and incident data. Inspect equality boundaries, sustained-window\n   behavior, firing\u002Fresolved transitions and false alarms. Explain any input gaps.\n5. Treat missing isolated-vm or ok: false as execution failures. Close runners and provide\n   the actual collector\u002Fplugin activation recipe after replay passes.\n\nReturn the rule files, threshold rationale, both replay results and activation steps.\nAvoid describing a heuristic finding (such as rising heap) as proof of a root cause.\n\nExample request: \"Alert when event-loop delay exceeds 50 ms for three windows without flagging this normal recording.\"\n","# Phargus Rules\n\nTurn an observed condition into an executable, replay-tested diagnostic rule.\nRead [rules](references\u002Frules.md), [data semantics](references\u002Fdata.md) and\n[compatibility](references\u002Fcompatibility.md). Use [tools](references\u002Ftools.md) for replay.\n\n1. Establish the condition and select representative normal and incident data. Resolve\n   this skill's absolute directory before invoking scripts\u002Fphargus.mjs.\n2. Prefer collector alert JSON for a single metric threshold. Choose comparison and\n   forWindows deliberately, with thresholds in the metric's native units.\n3. Use a sandbox .js function body for multi-metric\u002Ftrend logic. Return findings with\n   windowStart and message; the host must not evaluate or import rule text.\n4. Run rules on normal and incident data. Inspect equality boundaries, sustained-window\n   behavior, firing\u002Fresolved transitions and false alarms. Explain any input gaps.\n5. Treat missing isolated-vm or ok: false as execution failures. Close runners and provide\n   the actual collector\u002Fplugin activation recipe after replay passes.\n\nReturn the rule files, threshold rationale, both replay results and activation steps.\nAvoid describing a heuristic finding (such as rising heap) as proof of a root cause.\n\nExample request: \"Alert when event-loop delay exceeds 50 ms for three windows without flagging this normal recording.\"\n",{"name":5,"license":15,"description":7,"compatibility":24},"Node.js >=22.18.0; a compatible Phargus application; isolated-vm only for sandbox rules.","main","e8d0b0497955fc0901ceb7ee2cf1bb62b760d8bb",".agents\u002Fskills\u002Fphargus-rules","https:\u002F\u002Fgithub.com\u002Fpharn-dev\u002Fpharn-cli","https:\u002F\u002Fpharn.dev","https:\u002F\u002Fgithub.com\u002Fpharn-dev","We build the floor for AI-assisted development. The main product is Pharn CI — one CI check that tells a team whether an agent's PR is safe to merge.","2026-11-13 04:12:40",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add pharn-dev\u002Fpharn-cli --skill phargus-rules",{"tool":39,"command":40},"bunx","bunx skills add pharn-dev\u002Fpharn-cli --skill phargus-rules",{"tool":42,"command":43},"pnpm","pnpm dlx skills add pharn-dev\u002Fpharn-cli --skill phargus-rules","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fpharn-dev\u002Fpharn-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fphargus-rules\u002FSKILL.md",true,[47,53,57,61,65,69,75,79,83,87,91,95],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"agents\u002Fopenai.yaml","REFERENCE","参考文档",187,"https:\u002F\u002Fgithub.com\u002Fpharn-dev\u002Fpharn-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fphargus-rules\u002Fagents\u002Fopenai.yaml",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fcompatibility.md",2372,"https:\u002F\u002Fgithub.com\u002Fpharn-dev\u002Fpharn-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fphargus-rules\u002Freferences\u002Fcompatibility.md",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Fdata.md",4274,"https:\u002F\u002Fgithub.com\u002Fpharn-dev\u002Fpharn-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fphargus-rules\u002Freferences\u002Fdata.md",{"path":62,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Frules.md",3134,"https:\u002F\u002Fgithub.com\u002Fpharn-dev\u002Fpharn-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fphargus-rules\u002Freferences\u002Frules.md",{"path":66,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Ftools.md",5303,"https:\u002F\u002Fgithub.com\u002Fpharn-dev\u002Fpharn-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fphargus-rules\u002Freferences\u002Ftools.md",{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"scripts\u002Fcapture.mjs","SCRIPT","脚本",8037,"https:\u002F\u002Fgithub.com\u002Fpharn-dev\u002Fpharn-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fphargus-rules\u002Fscripts\u002Fcapture.mjs",{"path":76,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":77,"sourceHtmlUrl":78},"scripts\u002Foperations.mjs",11842,"https:\u002F\u002Fgithub.com\u002Fpharn-dev\u002Fpharn-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fphargus-rules\u002Fscripts\u002Foperations.mjs",{"path":80,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":81,"sourceHtmlUrl":82},"scripts\u002Fphargus.mjs",6275,"https:\u002F\u002Fgithub.com\u002Fpharn-dev\u002Fpharn-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fphargus-rules\u002Fscripts\u002Fphargus.mjs",{"path":84,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":85,"sourceHtmlUrl":86},"scripts\u002Frecords.mjs",9325,"https:\u002F\u002Fgithub.com\u002Fpharn-dev\u002Fpharn-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fphargus-rules\u002Fscripts\u002Frecords.mjs",{"path":88,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":89,"sourceHtmlUrl":90},"scripts\u002Fsummary.mjs",16771,"https:\u002F\u002Fgithub.com\u002Fpharn-dev\u002Fpharn-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fphargus-rules\u002Fscripts\u002Fsummary.mjs",{"path":92,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":93,"sourceHtmlUrl":94},"scripts\u002Ftypes.d.ts",5116,"https:\u002F\u002Fgithub.com\u002Fpharn-dev\u002Fpharn-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fphargus-rules\u002Fscripts\u002Ftypes.d.ts",{"path":96,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":97,"sourceHtmlUrl":98},"scripts\u002Fupstream.mjs",6118,"https:\u002F\u002Fgithub.com\u002Fpharn-dev\u002Fpharn-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fphargus-rules\u002Fscripts\u002Fupstream.mjs",[100,106,112,119,126,133],{"skillNo":101,"name":102,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M787C8C4G6RV0DZ40BEWR4WG","broken","https:\u002F\u002Fgithub.com\u002Fpharn-dev\u002Fpharn-cli\u002Fblob\u002Fmain\u002F.dev\u002Ffloor\u002Ftest-fixtures\u002Fred\u002Fskill.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":19},"01M787C5K2A96MF2TQMV502VBK","example","https:\u002F\u002Fgithub.com\u002Fpharn-dev\u002Fpharn-cli\u002Fblob\u002Fmain\u002F.dev\u002Ffloor\u002Ftest-fixtures\u002Fgreen\u002Fskill.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":19},"01M787BYT76343MJES3NWDDPNV","pharn-cli","Operate the PHARN CLI (@pharn-dev\u002Fpharn 0.10.0+, best on 0.16.0, with a fallback for 0.9.x) on a project that has PHARN installed. Use when the person asks whether PHARN is up to date, what an update would change, to update it, what is installed, or to add or remove a capability (griller or lens), or when pharn.config.json exists and they mention updating PHARN. When they ask to set up or uninstall PHARN, it tells them how to do it themselves. Read-only checks and a dry-run preview first; never overwrites their edits.","https:\u002F\u002Fgithub.com\u002Fpharn-dev\u002Fpharn-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpharn-cli\u002FSKILL.md",[],[],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":19},"01M787BMPC5P7QB24KV52PSCVG","pharn-ci-install","Add the pharn-ci pull request check (the pharn-dev\u002Fpharn-ci GitHub Action) to a repository, writing pharn-ci 0.9.1 (Report v2, with the test-integrity check and dependency safety) and recognising an existing 0.1.x to 0.9.x setup and what upgrading it changes - lcov or Cobertura coverage output from the project's own test run, checked locally the way pharn-ci reads it, a .pharn\u002Fci.yml with the threshold, and a workflow pinned to a full commit SHA with the test-integrity input. Asks before writing a workflow for a repository on a private registry, because dependency safety flags off-registry sources (D05). Use when the person asks to set up, add, install, update or wire in pharn-ci, a diff coverage gate or test integrity for pull requests, including on fork PRs or in an existing CI job. Never uses pull_request_target, never writes a tag pin, asks before installing anything, never creates or applies the accept label, never switches dependency safety off on its own, never commits. Not for explaining a pharn-ci result (pharn-ci-explain), covering reported lines (pharn-ci-cover) or the PHARN CLI (pharn-cli).","https:\u002F\u002Fgithub.com\u002Fpharn-dev\u002Fpharn-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpharn-ci-install\u002FSKILL.md",[],[],{"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":19},"01M787BAAXPMY6Z6BR7K77BVMW","pharn-ci-explain","Explain a pharn-ci result (the pharn-dev\u002Fpharn-ci GitHub Action or the `pharn-ci check` CLI, 0.1.x to 0.9.x) - why a pull request's pharn-ci check failed or warned, what a message code such as COVERAGE_PATHS_UNMATCHED, TEST_INTEGRITY_TI03, POLICY_P13, AGENT_CONFIG_SECRET_S01, INJECTION_PI01 or DEPENDENCY_D05 means, what its diff coverage number covers, what a test-integrity, org policy, prompt-injection, dependency or stale-instruction finding asks a reviewer to look at, and what to change in this repository. Use when the person asks about a pharn-ci comment, verdict, report.json, diff coverage gate, test integrity, policy, secret, injection, dependency or flaky-test finding or agent setup message, or asks to loosen a policy, add or apply the pharn\u002Faccepted accept label or otherwise get past a block. Read-only unless asked; never applies the accept label, changes a policy, turns dependency safety off or quarantines a test to get a PR through, and never repeats a secret or the text of an injection finding. Not for adding pharn-ci (pharn-ci-install), writing a policy (pharn-ci-policy), acting on fix hints (pharn-ci-fix) or the PHARN CLI (`pharn`, pharn.config.json), which is the pharn-cli skill.","https:\u002F\u002Fgithub.com\u002Fpharn-dev\u002Fpharn-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpharn-ci-explain\u002FSKILL.md",[],[],{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":19},"01M787B1J4F8TGS84HSCCGWYQP","pharn-ci-cover","Write tests for the added lines that a pharn-ci report (the pharn-dev\u002Fpharn-ci GitHub Action or the `pharn-ci check` CLI, 0.1.x with Report v1 or 0.2.x to 0.9.x with Report v2) lists as uncovered, so a pull request's diff coverage meets its threshold. Use when pharn-ci fails with DIFF_COVERAGE_BELOW_THRESHOLD, or the person asks to cover the lines pharn-ci reports, raise diff coverage, get the pharn-ci coverage check passing, or exclude a file from, lower or switch off the pharn-ci coverage gate (it explains what that changes and asks first). Adds tests only - never lowers the threshold, excludes files, edits the pharn-ci config or workflow (including the test-integrity, dependencies and accept-label inputs), adds coverage-ignore comments, skips or focuses tests, weakens test scripts, adds a dependency or edits a lockfile to satisfy a test, adds a test to a quarantine list, imports a changed file into an unrelated test, or applies the accept label. From a 0.9.x report it acts only on fix hints of kind add-test. Not for adding pharn-ci to a repository (pharn-ci-install) or the PHARN CLI (pharn-cli).","https:\u002F\u002Fgithub.com\u002Fpharn-dev\u002Fpharn-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpharn-ci-cover\u002FSKILL.md",[],[]]