Security requirement extraction

From mtecoYY/ai-baike · View interactive version

Security requirement extraction is an AI agent skill from the GitHub repository mtecoYY/ai-baike. Derive security requirements from threat models and business context. Use when translating threats into actionable requirements, creating security user stories, or building security test cases.

How to use this skill

Skill file

Security Requirement Extraction

Transform threat analysis into actionable security requirements.

When to Use This Skill

Core Concepts

1. Requirement Categories

Business Requirements → Security Requirements → Technical Controls
         ↓                       ↓                      ↓
  "Protect customer    "Encrypt PII at rest"   "AES-256 encryption
   data"                                        with KMS key rotation"

2. Security Requirement Types

| Type | Focus | Example |

| ------------------ | ----------------------- | ------------------------------------- |

| Functional | What system must do | "System must authenticate users" |

| Non-functional | How system must perform | "Authentication must complete in <2s" |

| Constraint | Limitations imposed | "Must use approved crypto libraries" |

3. Requirement Attributes

| Attribute | Description |

| ---------------- | --------------------------- |

| Traceability | Links to threats/compliance |

| Testability | Can be verified |

| Priority | Business importance |

| Risk Level | Impact if not met |

Templates and detailed worked examples

Full template library lives in references/details.md. Read that file when you need concrete templates for this skill.

Best Practices

Do's

Don'ts

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.