Agent Skillsmtarcure/claude-vibe-squad › detection-as-code

detection-as-code

GitHub

用于将SIEM/EDR检测规则(Sigma/YARA等)作为代码编写,通过添加正负样本、回溯测试和版本控制确保规则有效性,适用于安全检测工程场景。

.agents/skills/detection-as-code/SKILL.md mtarcure/claude-vibe-squad

触发场景

需要编写或更新SIEM/EDR检测规则 对现有检测规则进行验证和回溯测试

安装

npx skills add mtarcure/claude-vibe-squad --skill detection-as-code -g -y
更多选项

非标准路径

npx skills add https://github.com/mtarcure/claude-vibe-squad/tree/main/.agents/skills/detection-as-code -g -y

不安装直接使用

npx skills use mtarcure/claude-vibe-squad@detection-as-code

指定 Agent (Claude Code)

npx skills add mtarcure/claude-vibe-squad --skill detection-as-code -a claude-code -g -y

安装 repo 全部 skill

npx skills add mtarcure/claude-vibe-squad --all -g -y

预览 repo 内 skill

npx skills add mtarcure/claude-vibe-squad --list

SKILL.md

Frontmatter
{
    "name": "detection-as-code",
    "audience": "specialist",
    "description": "Use when a detection engineer must author a Sigma, YARA, KQL, or SPL SIEM\/EDR rule for a named TTP—pin the telemetry schema, add must-fire and must-not-fire fixtures, and replay representative history before any gated rollout. Not for incident triage or source-code defect scanning."
}

Detection as Code

Author a SIEM/EDR detection rule as tested, versioned code (Sigma/YARA/KQL/SPL).

Steps

  1. State the target TTP, detection platform, and platform/schema version; confirm the telemetry prerequisites exist.
  2. Write the rule against real field names; keep attacker-TTP modelling strictly in service of detection.
  3. Add positive fixtures (must fire) and negative fixtures (must not over-fire); validate syntax.
  4. Backtest/replay against representative history; record expected FP/FN surface and rule cost/cardinality.
  5. Set rollout mode, owner, version, and rollback; deployment is operator-gated (production_mutation).

Acceptance

  • Positive fixture fires and negative fixture does not; syntax validated.
  • Replay/backtest evidence present, or an explicit unvalidated status.
  • Owner, version, and rollback recorded; no live deploy without approval.

版本历史

  • d5262e2 当前 2026-09-11 11:16

同 Skill 集合

.agents/skills/accessible-media-authoring/SKILL.md
.agents/skills/agent-prompt-engineering/SKILL.md
.agents/skills/agentic-safety-audit/SKILL.md
.agents/skills/audio-event-map-authoring/SKILL.md
.agents/skills/auto-scaffold/SKILL.md
.agents/skills/claim-verification/SKILL.md
.agents/skills/code-reachability-audit/SKILL.md
.agents/skills/code-review-loop/SKILL.md
.agents/skills/color-theory/SKILL.md
.agents/skills/conversation-design/SKILL.md
.agents/skills/copy-refinement/SKILL.md
.agents/skills/cross-file-relationship-synthesis/SKILL.md
.agents/skills/dependency-cycle-audit/SKILL.md
.agents/skills/dependency-health-triage/SKILL.md
.agents/skills/diff-aware-semgrep-scan/SKILL.md
.agents/skills/differential-review/SKILL.md
.agents/skills/dimensional-analysis-check/SKILL.md
.agents/skills/dual-level-retrieval/SKILL.md
.agents/skills/figma-implement-design/SKILL.md
.agents/skills/forensic-timeline-authoring/SKILL.md
.agents/skills/game-design-fundamentals/SKILL.md
.agents/skills/game-mechanics-balancing/SKILL.md
.agents/skills/head-tail/SKILL.md
.agents/skills/incident-response-runbook/SKILL.md
.agents/skills/interactive-audio-design/SKILL.md
.agents/skills/interface-ambiguity-check/SKILL.md
.agents/skills/keyword-clustering/SKILL.md
.agents/skills/knowledge-base-integration/SKILL.md
.agents/skills/layered-analysis-loop/SKILL.md
.agents/skills/level-design-patterns/SKILL.md
.agents/skills/locale-adaptation/SKILL.md
.agents/skills/narrative-structure/SKILL.md
.agents/skills/platform-compliance/SKILL.md
.agents/skills/player-engagement-psychology/SKILL.md
.agents/skills/requirements-elicitation/SKILL.md
.agents/skills/rule6-rights-gate/SKILL.md
.agents/skills/rule8-truth-gate/SKILL.md
.agents/skills/sandbox-provision-discipline/SKILL.md
.agents/skills/scope-decomposition/SKILL.md
.agents/skills/scope-estimation/SKILL.md
.agents/skills/security-ownership-map/SKILL.md
.agents/skills/security-threat-model/SKILL.md
.agents/skills/semgrep-rule-author/SKILL.md
.agents/skills/skill-description-trigger-authoring/SKILL.md
.agents/skills/sound-design-principles/SKILL.md
.agents/skills/structured-data-authoring/SKILL.md
.agents/skills/supply-chain-audit/SKILL.md
.agents/skills/take-over-resume/SKILL.md
.agents/skills/technical-seo-audit/SKILL.md

元信息

文件数
0
版本
d5262e2
Hash
230cfa92
收录时间
2026-09-11 11:16

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-12 15:30
浙ICP备14020137号-1 $访客地图$