security-bluebook-builder – skill Bảo mật cho agent AI
Xây dựng chính sách bảo mật tối thiểu nhưng thực tế cho ứng dụng nhạy cảm. Đầu ra là một tài liệu Blue Book mạch lạc, dùng ngôn ngữ MUST/SHOULD/CAN, nêu rõ giả định, phạm vi và cổng bảo mật.
Cài skill security-bluebook-builder bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/security-bluebook-builder-c5a40.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /security-bluebook-builder – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/security-bluebook-builder-c5a40.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $security-bluebook-builder – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/security-bluebook-builder-c5a40.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /security-bluebook-builder – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/security-bluebook-builder-c5a40.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /security-bluebook-builder – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
Supporting material availability
This catalog copy contains the inline guidance below, but does not include the following supporting paths. They are external prerequisites, not bundled files:
<support-root>/references/bluebook_template.md
Ask for the original supporting material or an existing installation before using a step that depends on these paths; this catalog does not identify a verified download source for them. Resolve each path relative to that installation, inspect its contents, and verify any applicable license and execution prerequisites. Do not run a command or claim a referenced procedure was followed until its required file exists. Do not fabricate the missing scripts or treat an unrelated file with the same name as equivalent. Independent steps fully documented here can proceed within the user’s authorized scope; report any dependent step as unavailable.
Security Bluebook Builder
When to Use
- You need a concise but enforceable security policy for an app handling sensitive data.
- You want a single Blue Book document with explicit assumptions, controls, and go/no-go gates.
- The user needs policy guidance grounded in scope, threat model, and operational security defaults rather than generic advice.
Overview
Build a minimal but real security policy for sensitive apps. The output is a single, coherent Blue Book document using MUST/SHOULD/CAN language, with explicit assumptions, scope, and security gates.
Workflow
1) Gather inputs (ask only if missing)
Collect just enough context to fill the template. If the user has not provided details, ask up to 6 short questions:
- What data classes are handled (PII, PHI, financial, tokens, content)?
- What are the trust boundaries (client/server/third parties)?
- How do users authenticate (OAuth, email/password, SSO, device sessions)?
- What storage is used (DB, object storage, logs, analytics)?
- What connectors or third parties are used?
- Retention and deletion expectations (default + user-initiated)?
If the user cannot answer, proceed with safe defaults and mark TODOs.
2) Draft the Blue Book
If the original supporting installation is available, load <support-root>/references/bluebook_template.md and fill it with the provided details. Otherwise draft an independent policy using the Quality checks below and disclose that the upstream template was unavailable. Keep it concise and distinguish proposed controls from controls actually implemented or verified.
3) Enforce guardrails
- Do not include secrets, tokens, or internal credentials.
- If something is unknown, write "TODO" plus a clear assumption.
- Fail closed: if a capability is required but unavailable, call it out explicitly.
- Keep scope minimal; do not add features or tools beyond what the user asked for.
4) Quality checks
Confirm the Blue Book includes:
- Threat model (assumptions + out-of-scope)
- Data classification + handling rules
- Trust boundaries + controls
- Auth/session policy
- Token handling policy
- Logging/audit policy
- Retention/deletion
- Incident response mini-runbook
- Security gates + go/no-go checklist
Resources
<support-root>/references/bluebook_template.md
Example
User request:
> Create a concise, enforceable security policy for this sensitive application using explicit MUST, SHOULD, and CAN requirements.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Skill liên quan
- security-checklist – Rà soát kiến trúc trong phạm vi xác định theo các kiểm soát dựa trên bằng chứng: mạng…
- security-compliance-compliance-check – Bạn là chuyên gia tuân thủ, am hiểu các yêu cầu pháp lý cho hệ thống phần mềm như GDPR…
- security-requirement-extraction – Suy ra yêu cầu bảo mật từ mô hình mối đe dọa và bối cảnh kinh doanh. Dùng khi chuyển mối…
- security-scanning-security-dependencies – Bạn là chuyên gia bảo mật, chuyên phân tích lỗ hổng dependency, tạo SBOM và bảo mật…
- security-scanning-security-hardening – Điều phối quét bảo mật và tăng cường bảo mật nhiều lớp trên ứng dụng, hạ tầng và các…
- security-scanning-security-sast – Kiểm thử bảo mật tĩnh (SAST) để phân tích lỗ hổng trong mã nguồn trên nhiều ngôn ngữ và…
- semgrep-rule-creator – Tạo rule Semgrep tùy chỉnh để phát hiện lỗ hổng bảo mật, lỗi và mẫu code. Dùng khi viết…
- sharp-edges – Rà soát các API bảo mật dễ bị dùng sai, cấu hình mặc định, giao diện mật mã và trải…