[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6K21GBVZP22D2R0FPGG8P1J":3,"skill-same:01M6K21GBVZP22D2R0FPGG8P1J":63},{"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":34,"linkOnly":35,"markdownContent":36,"markdownBody":37,"frontMatter":38,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":42,"repositoryHtmlUrl":43,"repositoryHomepageUrl":44,"ownerHtmlUrl":45,"ownerBlogUrl":46,"ownerDescription":47,"updatedAt":48,"install":49,"resources":62},"01M6K21GBVZP22D2R0FPGG8P1J","ruleset-lifecycle-operations",null,"Add or update rule definitions, create and manage rule groups, and migrate rules across groups in skeptic using the property-based layout. Use when the user asks to add\u002Fupdate rules, add\u002Fmanage groups, or reorganize `internal\u002Frules`.","TGPSKI\u002Fskeptic","TGPSKI","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12532803?v=4","01M6K20PYXDJ1HVD04MF5W8W09","Tyler Pate","01M6K20Q2S3W3JSXJZRF0C91S3",2,"GPL-3.0","https:\u002F\u002Fgithub.com\u002FTGPSKI\u002Fskeptic\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fruleset-lifecycle-operations\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33],"lifecycle","operations","ruleset lifecycle operations","create","update","migrate","Rules","user","use","skeptic","manage","across","layout","add","rule","2026-11-10 10:12:30",false,"---\nname: ruleset-lifecycle-operations\ndescription: Add or update rule definitions, create and manage rule groups, and migrate rules across groups in skeptic using the property-based layout. Use when the user asks to add\u002Fupdate rules, add\u002Fmanage groups, or reorganize `internal\u002Frules`.\n---\n\n# Ruleset Lifecycle Operations\n\n## Required Reference\n\nBefore making any rule or group change, read:\n\n- `docs\u002FRULESET_GROUPING.md`\n\nThis document is the source of truth for:\n\n- active group files\n- deterministic `DefaultRules()` composition order\n- per-group testing expectations\n- maintenance constraints (property-based groups, no versioned buckets)\n\n## Operations\n\n### 1) Add Rule\n\n1. Pick the target group file by threat property:\n   - behavior\u002Fpayload signals: `rules_behavioral_signals.go`\n   - agentic\u002FLLM surfaces: `rules_agentic_surfaces.go`\n   - non-code SCM\u002Fconfig surfaces: `rules_non_code_surfaces.go`\n   - identity\u002FIaC exposure: `rules_identity_exposure.go`\n   - broad ATT&CK heuristics: `rules_attack_tactics.go`\n   - campaign IOCs: use the `threat-rules-ingestion` skill (signed JSON rulepacks in `rulepacks\u002Fcampaigns\u002F`, not built-in rule files)\n2. Add a `Rule` literal with full metadata (`ID`, `Title`, `Description`, `Category`, `Mitre`, `Severity`, `Pattern`, `Target`). Optionally set `ConfidenceClass` to override the default derived from the rule ID prefix (see `model.DefaultConfidenceForRuleID`); most rules should omit this and rely on the prefix-based default (`AGT-TRUST-` → definitive, `AGT-SKL-` → heuristic, `COR-`\u002F`DRIFT-` → correlated, etc.).\n3. Use `PathPattern` and\u002For `ContextPattern` only when narrowing is required to avoid broad false positives.\n4. Update that group's `_test.go`:\n   - expected rule count\n   - sentinel IDs where appropriate\n5. If total rules changed, update `rules_core_test.go` total count and docs metadata in `docs\u002FRULESET_GROUPING.md`.\n\n### 2) Update Rule\n\n1. Locate rule by stable `ID` (keep `ID` unchanged unless there is explicit migration intent).\n2. Apply the minimal change (pattern, severity, description, context gates).\n3. Ensure RE2 compatibility (`regexp` package only; no lookaheads\u002Fbackreferences).\n4. Re-run group tests and full rules tests.\n5. Update docs only if behavior, grouping, or metadata summaries changed.\n\n### 3) Add Group\n\n1. Create a new descriptive file name: `rules_\u003Cproperty>_\u003Csurface>.go` (no version\u002Fphase naming).\n2. Add one top-level function returning `[]Rule` for that group.\n3. Create matching test file `rules_\u003Cproperty>_\u003Csurface>_test.go` with:\n   - `assertRuleCount`\n   - `validateRuleSlice` sentinel checks\n4. Wire the group into `DefaultRules()` in `rules_core.go` at the correct risk-order boundary.\n5. Update:\n   - `docs\u002FRULESET_GROUPING.md`\n   - `docs\u002FARCHITECTURE.md` rules layout table\n\n### 4) Manage Group\n\nUse when tuning a group without introducing a new file:\n\n- rebalance categories\u002Fseverity\n- tighten patterns with `PathPattern`\u002F`ContextPattern`\n- remove overlap or duplicates\n- keep group cohesive by threat property\n\nAlways keep the group's test count\u002Fsentinels current.\n\n### 5) Migrate Group\n\nUse when moving rules between group files:\n\n1. Move rules by property (not chronology).\n2. Keep deterministic order stable unless explicitly changing strategy.\n3. Update both source and target group tests (counts + sentinels).\n4. Update `DefaultRules()` composition if boundaries changed.\n5. Refresh docs in `docs\u002FRULESET_GROUPING.md` and `docs\u002FARCHITECTURE.md`.\n\n## Validation Commands\n\n```bash\n# Fast package validation\ngo test .\u002Finternal\u002Frules -count=1\n\n# Full verification\ngo test .\u002F... -count=1\ngo vet .\u002F...\n```\n\n## Non-Rule Findings\n\nSome finding families are emitted by `internal\u002Fchecks\u002F` rather than rule files:\n\n- `DOM-TYPO-001`–`003`: structural domain typosquat (emitted by `internal\u002Fchecks\u002Fdomain_checks.go`)\n- `DEP-TYPO-001`–`002`: dependency typosquat (emitted by `internal\u002Fchecks\u002Fdep_checks.go`)\n- `GRAPH-001`–`010`, `MID-*`: identity graph findings (emitted by `internal\u002Fchecks\u002Fgraph*.go`)\n- `POL-GHA-002`–`004`, `POL-DOCKER-001`: policy checks (emitted by `internal\u002Fchecks\u002Fpolicy_checks.go`)\n- `BHV-*`: behavior chain findings (emitted by `internal\u002Fchecks\u002Fbehavior_checks.go`)\n- `COR-*`, `DRIFT-*`: correlation findings (emitted by `internal\u002Fcorrelation\u002F`)\n\nThese are not in `internal\u002Frules\u002F` group files and do not count toward the built-in rule total.\n\n## Guardrails\n\n- Keep property-based naming and grouping.\n- Avoid reintroducing versioned\u002Fphase buckets.\n- Every group file must have a corresponding test file.\n- Keep `DefaultRules()` as the single composition\u002Fordering point.\n- Update documentation when group structure, counts, or strategy changes.\n","# Ruleset Lifecycle Operations\n\n## Required Reference\n\nBefore making any rule or group change, read:\n\n- `docs\u002FRULESET_GROUPING.md`\n\nThis document is the source of truth for:\n\n- active group files\n- deterministic `DefaultRules()` composition order\n- per-group testing expectations\n- maintenance constraints (property-based groups, no versioned buckets)\n\n## Operations\n\n### 1) Add Rule\n\n1. Pick the target group file by threat property:\n   - behavior\u002Fpayload signals: `rules_behavioral_signals.go`\n   - agentic\u002FLLM surfaces: `rules_agentic_surfaces.go`\n   - non-code SCM\u002Fconfig surfaces: `rules_non_code_surfaces.go`\n   - identity\u002FIaC exposure: `rules_identity_exposure.go`\n   - broad ATT&CK heuristics: `rules_attack_tactics.go`\n   - campaign IOCs: use the `threat-rules-ingestion` skill (signed JSON rulepacks in `rulepacks\u002Fcampaigns\u002F`, not built-in rule files)\n2. Add a `Rule` literal with full metadata (`ID`, `Title`, `Description`, `Category`, `Mitre`, `Severity`, `Pattern`, `Target`). Optionally set `ConfidenceClass` to override the default derived from the rule ID prefix (see `model.DefaultConfidenceForRuleID`); most rules should omit this and rely on the prefix-based default (`AGT-TRUST-` → definitive, `AGT-SKL-` → heuristic, `COR-`\u002F`DRIFT-` → correlated, etc.).\n3. Use `PathPattern` and\u002For `ContextPattern` only when narrowing is required to avoid broad false positives.\n4. Update that group's `_test.go`:\n   - expected rule count\n   - sentinel IDs where appropriate\n5. If total rules changed, update `rules_core_test.go` total count and docs metadata in `docs\u002FRULESET_GROUPING.md`.\n\n### 2) Update Rule\n\n1. Locate rule by stable `ID` (keep `ID` unchanged unless there is explicit migration intent).\n2. Apply the minimal change (pattern, severity, description, context gates).\n3. Ensure RE2 compatibility (`regexp` package only; no lookaheads\u002Fbackreferences).\n4. Re-run group tests and full rules tests.\n5. Update docs only if behavior, grouping, or metadata summaries changed.\n\n### 3) Add Group\n\n1. Create a new descriptive file name: `rules_\u003Cproperty>_\u003Csurface>.go` (no version\u002Fphase naming).\n2. Add one top-level function returning `[]Rule` for that group.\n3. Create matching test file `rules_\u003Cproperty>_\u003Csurface>_test.go` with:\n   - `assertRuleCount`\n   - `validateRuleSlice` sentinel checks\n4. Wire the group into `DefaultRules()` in `rules_core.go` at the correct risk-order boundary.\n5. Update:\n   - `docs\u002FRULESET_GROUPING.md`\n   - `docs\u002FARCHITECTURE.md` rules layout table\n\n### 4) Manage Group\n\nUse when tuning a group without introducing a new file:\n\n- rebalance categories\u002Fseverity\n- tighten patterns with `PathPattern`\u002F`ContextPattern`\n- remove overlap or duplicates\n- keep group cohesive by threat property\n\nAlways keep the group's test count\u002Fsentinels current.\n\n### 5) Migrate Group\n\nUse when moving rules between group files:\n\n1. Move rules by property (not chronology).\n2. Keep deterministic order stable unless explicitly changing strategy.\n3. Update both source and target group tests (counts + sentinels).\n4. Update `DefaultRules()` composition if boundaries changed.\n5. Refresh docs in `docs\u002FRULESET_GROUPING.md` and `docs\u002FARCHITECTURE.md`.\n\n## Validation Commands\n\n```bash\n# Fast package validation\ngo test .\u002Finternal\u002Frules -count=1\n\n# Full verification\ngo test .\u002F... -count=1\ngo vet .\u002F...\n```\n\n## Non-Rule Findings\n\nSome finding families are emitted by `internal\u002Fchecks\u002F` rather than rule files:\n\n- `DOM-TYPO-001`–`003`: structural domain typosquat (emitted by `internal\u002Fchecks\u002Fdomain_checks.go`)\n- `DEP-TYPO-001`–`002`: dependency typosquat (emitted by `internal\u002Fchecks\u002Fdep_checks.go`)\n- `GRAPH-001`–`010`, `MID-*`: identity graph findings (emitted by `internal\u002Fchecks\u002Fgraph*.go`)\n- `POL-GHA-002`–`004`, `POL-DOCKER-001`: policy checks (emitted by `internal\u002Fchecks\u002Fpolicy_checks.go`)\n- `BHV-*`: behavior chain findings (emitted by `internal\u002Fchecks\u002Fbehavior_checks.go`)\n- `COR-*`, `DRIFT-*`: correlation findings (emitted by `internal\u002Fcorrelation\u002F`)\n\nThese are not in `internal\u002Frules\u002F` group files and do not count toward the built-in rule total.\n\n## Guardrails\n\n- Keep property-based naming and grouping.\n- Avoid reintroducing versioned\u002Fphase buckets.\n- Every group file must have a corresponding test file.\n- Keep `DefaultRules()` as the single composition\u002Fordering point.\n- Update documentation when group structure, counts, or strategy changes.\n",{"name":5,"description":7},"main","c712742a4c0e0d44b1ab5ed65e93e93288c2fb3d",".agents\u002Fskills\u002Fruleset-lifecycle-operations",0,"https:\u002F\u002Fgithub.com\u002FTGPSKI\u002Fskeptic","https:\u002F\u002Fskeptic.sh","https:\u002F\u002Fgithub.com\u002FTGPSKI","pate.sh","Principal Software Engineer, App SRE @ Red Hat","2026-08-27 15:30:12",{"source":8,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add TGPSKI\u002Fskeptic --skill ruleset-lifecycle-operations",{"tool":55,"command":56},"bunx","bunx skills add TGPSKI\u002Fskeptic --skill ruleset-lifecycle-operations",{"tool":58,"command":59},"pnpm","pnpm dlx skills add TGPSKI\u002Fskeptic --skill ruleset-lifecycle-operations","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTGPSKI\u002Fskeptic\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fruleset-lifecycle-operations\u002FSKILL.md",true,[],[64,73,82,107,129,150],{"skillNo":65,"name":66,"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":67,"categories":68,"keywords":69,"publishedAt":34},"01M6K228SZDWW2VHNSZ7C2SY9B","correlation-multi","https:\u002F\u002Fgithub.com\u002FTGPSKI\u002Fskeptic\u002Fblob\u002Fmain\u002Ftestdata\u002Fproof\u002Fcorrelation-multi\u002Fskill.md",[],[70,71,72],"correlation","multi","correlation multi",{"skillNo":74,"name":75,"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":76,"categories":77,"keywords":78,"publishedAt":34},"01M6K223W4DGD1TH0CHNY5QAVS","agentic-mcp-creds","https:\u002F\u002Fgithub.com\u002FTGPSKI\u002Fskeptic\u002Fblob\u002Fmain\u002Ftestdata\u002Fproof\u002Fagentic-mcp-creds\u002FSKILL.md",[],[79,80,81],"MCP","agentic","agentic mcp creds",{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":34},"01M6K21Y9Q62SEJFV60JPCB274","workflow-action-updates","Audit and update GitHub Actions workflow files to use the latest action releases pinned to full commit SHAs. Scans all .github\u002Fworkflows\u002F*.yml files, resolves current vs latest versions, and applies upgrades. Use when the user asks to update actions, check for outdated workflow dependencies, pin actions to SHAs, or audit CI workflow hygiene.","https:\u002F\u002Fgithub.com\u002FTGPSKI\u002Fskeptic\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fworkflow-action-updates\u002FSKILL.md",[],[89,90,91,92,93,94,95,23,96,97,98,99,100,101,102,103,104,105,27,106],"action","workflow","updates","workflow action updates","check","workflows","commit","audit","actions","ci","github actions","pin","for","github actions workflow","full","files","releases","upgrades",{"skillNo":108,"name":109,"nameZh":6,"description":110,"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":34},"01M6K21NBNBDKEMYY6VZB5V6SY","threat-rules-ingestion","Ingest fresh security research from URLs\u002Ffiles, generate signed scanner rule packs, and validate with policy and behavior scan styles across ecosystems. Use when the user asks to operationalize new threat intel into skeptic detections.","https:\u002F\u002Fgithub.com\u002FTGPSKI\u002Fskeptic\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fthreat-rules-ingestion\u002FSKILL.md",[],[25,114,115,116,30,117,118,119,120,121,122,123,124,125,126,127,27,128,28,104],"threat","ingestion","threat rules ingestion","ecosystems","fresh","security research","styles","with","scan","scanner","security","policy","research","generate","ingest",{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":34},"01M6K21CP4GEXZ0GN7C5M1DBXF","go-release","Manage the full Go module release lifecycle: determine next semver version, update CHANGELOG.md, create and push a git tag, and verify pkg.go.dev picks up the new version. Use when the user asks to tag a release, bump the version, update the changelog, or publish a new module version.","https:\u002F\u002Fgithub.com\u002FTGPSKI\u002Fskeptic\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgo-release\u002FSKILL.md",[],[136,137,138,139,140,141,27,142,19,143,144,145,29,146,147,23,22,148,103,149],"go","release","go release","dev","bump","up","update changelog","publish","push","changelog","semver","git","next","module",{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":34},"01M6K216FX4EJWB2KV9W3RX1NS","documentation-lifecycle","Generate, update, and maintain per-module documentation under docs\u002Fmodules\u002F, keep ARCHITECTURE.md and README.md current, and produce Mermaid diagrams for data-flow, block, and dependency views. Use when the user asks to document a package, update architecture docs, generate diagrams, or audit documentation freshness.","https:\u002F\u002Fgithub.com\u002FTGPSKI\u002Fskeptic\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdocumentation-lifecycle\u002FSKILL.md",[],[157,158,19,159,160,161,162,127,23,163,164,96,165,166,149,101,167,168,169,27],"documentation","documentation lifecycle","README","flow","architecture","mermaid","produce","package","data","maintain","diagrams","modules","dependency"]