Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计异常

production-ready生产准备就绪

Agent Skill

production-ready 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

906

周安装

37

GitHub Stars

7

下载量

290
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:production-ready(生产准备就绪)
来源仓库:https://github.com/adamos486/skills
仓库路径:skills/production-ready
安装命令:
npx skills add https://github.com/adamos486/skills --skill production-ready
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/adamos486/skills --skill production-ready

简介

production-ready 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 可结合来源仓库、安装命令和原始 README 继续核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用于需要快速获取特定信息或筛选结果的场景。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Production Ready

Comprehensive production readiness, security hardening, and professional release preparation for any project.

When to Use

  • Before deploying to production for the first time
  • After major changes before release
  • When conducting security audits
  • When open-sourcing a project
  • During compliance reviews
  • When onboarding to a new codebase

Quick Start

First, ask the user which mode:

Which level of audit do you need?

1. **Quick** - Fast CI-suitable checks (~2 min)
   - Secret scanning
   - Critical vulnerabilities only

2. **Security** - Deep security audit (~10 min)
   - All vulnerability severities
   - SBOM generation
   - Configuration hardening

3. **Full** - Comprehensive audit (~15 min)
   - All security checks
   - Documentation review
   - CI/CD validation
   - Monitoring setup check

Step 1: Detect Tech Stack

Before scanning, identify the project's tech stack and dependencies:

# Detect project files to determine stack
ls -la | grep -E "package.json|requirements.txt|Cargo.toml|go.mod|Gemfile|pom.xml|build.gradle|composer.json|pubspec.yaml|*.csproj"
File DetectedStackPrimary Security Tools
package.jsonNode.js/JavaScriptnpm audit, snyk, retire.js
requirements.txt / pyproject.tomlPythonpip-audit, safety, bandit
Cargo.tomlRustcargo-audit, cargo-deny
go.modGogovulncheck, gosec
GemfileRubybundle-audit, brakeman
pom.xml / build.gradleJavaOWASP Dependency-Check, SpotBugs
composer.jsonPHPcomposer audit, phpstan
*.csproj.NETdotnet list package --vulnerable
pubspec.yamlDart/Flutterdart pub outdated

Step 2: Recommend Security Tools

Based on detected stack, recommend appropriate tools. ALWAYS ask the user before installing any tools.

Universal Tools (All Projects)

Free/Open-Source (Industry Standard):

ToolPurposeInstall Command
gitleaksSecret detection in git historybrew install gitleaks or `curl -sSfL https://raw.githubusercontent.com/gitleaks/gitleaks/main/scripts/install.sh \sh`
trufflehogDeep secret scanning with verificationbrew install trufflehog or `curl -sSfL https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/scripts/install.sh \sh`
syftSBOM generationbrew install syft or `curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh \sh`
grypeVulnerability scanner (multi-language)brew install grype or `curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh \sh`
trivyComprehensive security scannerbrew install trivy or see trivy docs
semgrepStatic analysis (SAST)brew install semgrep or pip install semgrep

Paid/Enterprise (State of the Art):

ToolPurposeNotes
SnykFull-spectrum security (SCA, SAST, containers)Free tier available, enterprise features paid
Sonatype Nexus LifecycleEnterprise dependency managementIndustry leader in SCA
CheckmarxEnterprise SAST/DASTComprehensive enterprise solution
VeracodeApplication security platformEnterprise-grade scanning
GitHub Advanced SecurityIntegrated security (CodeQL, Dependabot)Native GitHub integration

Language-Specific Tools

JavaScript/Node.js:

Python:

Go:

Rust:

Ruby:

Java:

Step 3: Ask User to Install Tools

CRITICAL: ALWAYS ask the user before installing any tools.

Present the recommended tools based on detected stack:

I've detected your project uses [STACK]. Here are the recommended security scanning tools:

**Required (Universal):**
- gitleaks - Secret detection
- grype - Vulnerability scanning
- syft - SBOM generation

**Stack-Specific ([STACK]):**
- [tool1] - [purpose]
- [tool2] - [purpose]

**Optional (Enhanced Coverage):**
- trivy - Comprehensive scanner
- semgrep - Static analysis

Would you like me to install these tools?
1. Yes, install all recommended tools
2. Yes, but only the required universal tools
3. Let me select which ones to install
4. No, I'll install them manually

If user selects option 1, 2, or 3: Proceed with installation using the appropriate package manager, then continue to Step 4.

If user selects option 4: Provide installation commands and proceed to Step 4 when they confirm tools are installed.

Step 4: Run Security Scans

Execute scans based on installed tools and audit mode:

Quick Mode

# Secret scanning
gitleaks detect --source=. --no-banner

# Critical vulnerabilities only
grype dir:. --fail-on=critical --only-fixed

Security Mode (includes Quick)

# Deep secret scan with verification
trufflehog filesystem . --only-verified

# All high+ vulnerabilities
grype dir:. --fail-on=high --only-fixed

# Generate SBOM
syft dir:. -o cyclonedx-json=sbom.json

# Static analysis (if semgrep installed)
semgrep --config auto --error

Full Mode (includes Security)

All security checks plus documentation, CI/CD, and observability validation.

Step 5: Generate Report

Reports MUST be written to docs/reports/ directory.

Create the directory if it doesn't exist:

mkdir -p docs/reports

Generate a markdown report with today's date:

# Report filename format
REPORT_FILE="docs/reports/security-audit-$(date +%Y-%m-%d).md"

Report Template

The generated report should follow this structure:

# Security Audit Report

**Project:** [project-name]
**Date:** [YYYY-MM-DD]
**Audit Mode:** [Quick|Security|Full]
**Auditor:** Claude Code (production-ready skill)

## Executive Summary

- **Total Checks:** X
- **Passed:** X
- **Failed:** X
- **Warnings:** X

## Tech Stack Detected

- Primary Language: [language]
- Package Manager: [manager]
- Frameworks: [frameworks]

## Tools Used

| Tool | Version | Purpose |
|------|---------|---------|
| gitleaks | X.X.X | Secret detection |
| grype | X.X.X | Vulnerability scanning |
| ... | ... | ... |

## Findings

### Critical Issues (Must Fix)

1. **[Issue Title]**
   - Severity: Critical
   - Location: [file:line]
   - Description: [description]
   - Remediation: [steps to fix]

### High Severity Issues

...

### Medium/Low Severity Issues

...

## Dependency Vulnerabilities

| Package | Current | Fixed In | Severity | CVE |
|---------|---------|----------|----------|-----|
| ... | ... | ... | ... | ... |

## SBOM Summary

- Total Packages: X
- Direct Dependencies: X
- Transitive Dependencies: X
- SBOM Location: `docs/reports/sbom-[date].json`

## Recommendations

1. [Prioritized recommendation]
2. [Prioritized recommendation]
...

## Next Steps

- [ ] Fix critical vulnerabilities
- [ ] Review and remediate high-severity issues
- [ ] Update dependencies with known fixes
- [ ] Re-run audit after fixes

---
*Generated by production-ready skill v2.0.0*

Audit Mode Checklists

Quick Mode Checklist

  • Secrets: Run gitleaks detect --source=.
  • Critical Vulns: Run grype dir:. --fail-on=critical
  • Config Basics: Verify.gitignore includes .env, *.key, *.pem
  • Generate Report: Write findings to docs/reports/security-audit-[date].md

Security Mode Checklist (includes Quick)

  • All vulnerabilities: grype dir:. --fail-on=high
  • SBOM generation: syft dir:. -o cyclonedx-json=docs/reports/sbom-[date].json
  • Secret deep scan: trufflehog filesystem. --only-verified
  • Static analysis: semgrep --config auto (if installed)
  • Dependency review: Check for outdated/unmaintained packages
  • Configuration hardening:

- No hardcoded localhost/ports in config files - Environment variables for all secrets - .env.example exists with placeholder values

  • Docker security (if applicable):

- Non-root user specified - Pinned base image versions - .dockerignore exists

  • Generate Report: Write comprehensive findings to docs/reports/security-audit-[date].md

Full Mode Checklist (includes Security)

Documentation:

  • README.md exists with setup instructions
  • LICENSE file present
  • CHANGELOG.md maintained
  • SECURITY.md with vulnerability reporting process
  • CONTRIBUTING.md (for open source)

CI/CD:

  • CI pipeline configured (GitHub Actions, GitLab CI, etc.)
  • Automated tests run on PR/push
  • Security scanning in pipeline
  • Build artifacts validated

Observability:

  • Health check endpoint (/health or /healthz)
  • Structured logging configured
  • Error tracking setup (Sentry, etc.)
  • Metrics collection (if applicable)

Operational:

  • Environment-specific configs separated
  • Backup/restore procedures documented
  • Rollback plan documented
  • On-call runbook (for critical services)

Generate Report: Write comprehensive findings to docs/reports/security-audit-[date].md

Web Search for Latest Tools

If the detected tech stack requires specialized tools not listed above, search the internet for current (2025+) industry-standard security scanners for that specific technology. Prioritize:

  1. Tools recommended by official language/framework documentation
  2. OWASP-recommended tools
  3. Tools with active maintenance (commits in last 6 months)
  4. Tools with significant GitHub stars (>1000) and community adoption

Security Standards Reference

Based on OWASP Top 10 2025:

RiskKey Mitigations
A01: Broken Access ControlDeny by default, validate permissions server-side
A02: Security MisconfigurationAutomated hardening, remove defaults, security headers
A03: Supply ChainSBOM, dependency scanning, signed builds
A04: InjectionParameterized queries, input validation
A05: Cryptographic FailuresTLS everywhere, strong algorithms, no hardcoded keys

Common Issues & Fixes

Secrets Found

# Rotate the compromised credential immediately
# Then remove from git history:
git filter-branch --force --index-filter \
  "git rm --cached --ignore-unmatch PATH/TO/FILE" \
  --prune-empty --tag-name-filter cat -- --all

# Or use BFG Repo-Cleaner (faster):
bfg --delete-files "*.env"

Vulnerable Dependencies

# Update to patched version
npm update PACKAGE  # or
pip install PACKAGE --upgrade  # or
cargo update PACKAGE

# If no patch available, evaluate alternatives

Exit Criteria

The project is production-ready when:

  1. Zero high/critical vulnerabilities with available fixes
  2. Zero hardcoded secrets detected
  3. All required documentation present
  4. CI/CD pipeline passes all security checks
  5. SBOM generated and stored in docs/reports/
  6. Health checks operational
  7. Security audit report generated in docs/reports/security-audit-[date].md

References

See references/ directory for:

  • research.md - Detailed research findings
  • sources.md - Authoritative sources and links

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

29.22%
按下载量换算85

Codex

22.21%
按下载量换算64

OpenCode

17.6%
按下载量换算51

Antigravity

11.75%
按下载量换算34

windsurf

8.11%
按下载量换算24

trae

3.89%
按下载量换算11

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills