federal-pre-deployment-check
Run the 62-item federal pre-deployment security checklist against a codebase.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Run the 62-item federal pre-deployment security checklist against a codebase.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Detect available credentials, diagnose gaps against PROJECT_PLAN.md, and guide setup for AI agents in any environment
Collect and verify all ATO submission artifacts into a review-ready package
Deploy applications to cloud.gov — sandbox setup, manifest generation, CI/CD pipeline
Review AI-assisted code changes and create compliant pull requests with proper attribution
Create, validate, and index architectural and security decision records using MADR format with federal compliance extensions.
Initialize a code repository with federal security compliance defaults including .gitignore, pre-commit hooks, .editorconfig, and CI/CD security baseline.
| name | federal-pre-deployment-check |
| title | Federal Pre-Deployment Check |
| description | Run the 62-item federal pre-deployment security checklist against a codebase. |
| status | canonical |
| tier | 2 |
| last_updated | 2026-06-01 |
| load_priority | on-demand |
| audience | ["developers","agents"] |
| triggers | ["deploy","pre-deploy","checklist","security check"] |
| dependencies | [] |
This skill executes the 62-item pre-deployment security checklist from
checklists/pre-deployment.md, combining automated tool checks with
human-verified items to produce a completed checklist report.
See references/CHECK_AUTOMATION.md for the full classification of all 60 items. Summary:
| Type | Count | How It Works |
|---|---|---|
| Automated | 18 | Agent runs a tool, checks exit code or output |
| Semi-automated | 24 | Agent reads files or config, reports findings |
| Manual | 18 | Agent asks the human to verify |
Ask the user for:
Run make pre-deploy to execute all automatable checks:
make pre-deploy
The script checks for:
Output is structured JSON with pass/fail for each automated check.
For each semi-automated check, read the relevant files and report findings:
Category 1 — Code Review and Provenance:
Co-Authored-By) (item 1.2)Category 3 — Input Validation:
eval(, innerHTML, string concatenation in SQL (items 3.2, 3.5)Category 6 — Error Handling:
Category 7 — Cryptography:
Category 8 — API Security:
Category 10 — Infrastructure:
For items that require human judgment, present them to the user one category at a time. For each item, explain what to verify and ask for Pass/Fail/N/A.
Items requiring human verification:
| Item | Question to Ask |
|---|---|
| 1.1 | "Has all AI-generated code been reviewed by someone other than the person who prompted the agent?" |
| 1.3 | "Did all changes go through the standard PR/code review process?" |
| 1.5 | "Does the reviewer understand what the code does and verify it matches intended behavior?" |
| 4.1 | "Are all protected endpoints authenticated?" |
| 4.2 | "Is authorization enforced server-side on every request?" |
| 4.3 | "Is least privilege applied (no excessive permissions)?" |
| 4.4 | "Does session management use secure defaults?" |
| 4.5 | "Are there any hardcoded roles or auth bypasses?" |
| 5.4 | "Have all new dependency licenses been reviewed for compatibility?" |
| 5.7 | "Has the SBOM been generated/updated (if required by agency policy)?" |
| 6.4 | "Does audit logging cover authentication, authorization, and data access events?" |
| 6.5 | "Is the log format structured (JSON) with required fields?" |
| 9.1 | "Are there unit tests for all new functionality?" |
| 9.3 | "Are error paths and edge cases tested?" |
| 9.6 | "Has AI-generated code been reviewed for hallucinated APIs or deprecated methods?" |
| 10.3 | "Are services configured with least-privilege IAM roles?" |
| 10.4 | "Is logging and monitoring enabled for all deployed services?" |
| 10.6 | "Does deployment require a human approval gate for production?" |
Merge all results (automated + semi-automated + manual) into a completed checklist:
python3 skills/federal-pre-deployment-check/scripts/generate-checklist-report.py \
--automated-results results.json \
--manual-results manual.json \
--output completed-checklist.md
Or, construct the completed checklist inline by filling in the Pass/Fail/N/A
status and notes for each of the 60 items in the checklist format from
checklists/pre-deployment.md.
Present the summary:
## Pre-Deployment Check Results
| Category | Pass | Fail | N/A |
|----------|------|------|-----|
| 1. Code Review | X | X | X |
| ... | | | |
| **Total** | XX | XX | XX |
### Failed Items
- [X.X] Description — Suggested remediation
- [X.X] Description — Suggested remediation
### Deployment Recommendation
[Approved / Conditionally Approved / Not Approved]
If any items fail, recommend "Not Approved" and list the remediation steps
with references to the relevant policy documents (use the
federal-security-controls-lookup skill to find guidance).
make pre-deploy) are read-only. They do not modify files, install packages, or make network calls.docs/TRACEABILITY.md Table 3.checklists/pre-deployment.md for the full checklist, docs/TRACEABILITY.md for control mappings.