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

secret-sauce秘制酱汁

Agent Skill

用于辅助安全审计、权限检查、凭据风险、认证流程和常见漏洞排查。它适合让 Agent 梳理敏感配置、检查依赖风险、分析鉴权逻辑或生成安全复核清单。使用时不能把工具输出直接当最终结论,涉及密钥、令牌、用户数据或生产系统时,应先确认最小权限、脱敏方式和操作边界。

总安装

210

周安装

9

GitHub Stars

1

下载量

73
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/co8/cc-plugins --skill secret-sauce

简介

用于辅助安全审计、权限检查和常见漏洞排查。

  • 适合梳理敏感配置、分析鉴权逻辑或生成安全复核清单。
  • 不能将工具输出直接当作最终结论。
  • 安装命令:npx skills add https://github.com/co8/cc-plugins --skill secret-sauce。
  • 涉及密钥或生产系统时需确认最小权限和操作边界。

SKILL.md

Secret Sauce v2

Production-tested coding standards, patterns, and automated quality gates for TypeScript, Next.js, React, and Supabase projects.

14 reference guides covering every layer of the stack, 5 framework-specific rule sets that enforce best practices, 6 ready-to-use project templates, and a parallel review team of specialized subagents that catch bugs, security issues, silent failures, and design flaws before they ship.

Why Secret Sauce?

  • Instant project setup — CLAUDE.md template, settings, and planning docs get you productive in seconds
  • Automated quality gates — 3-agent quick review or 5-agent full review, all dispatched in parallel
  • Real patterns, not theory — Every rule and reference extracted from production codebases
  • AI flow patterns — OpenAI SDK v6 + Anthropic SDK with Zod validation, streaming, tool use
  • Full-stack coverage — TypeScript, Next.js, React, Supabase, Tailwind v4, Vitest, security, deployment

Quick Reference

CategoryReference FileAuto-Review Agent
Tech Stackreferences/tech-stack.md
Project Setupreferences/claude-md-template.md
Project Trackingreferences/project-tracking.md
Coding Standardsreferences/coding-standards.mdfeature-dev:code-reviewer
Centralizationreferences/centralization-patterns.mdpr-review-toolkit:code-simplifier
Tailwind v4references/tailwind-v4.md
AI Developmentreferences/ai-flow-patterns.mdpr-review-toolkit:silent-failure-hunter
Data Fetchingreferences/data-fetching.mdpr-review-toolkit:silent-failure-hunter
Git Workflowreferences/git-workflows.md
Testingreferences/testing-patterns.mdpr-review-toolkit:pr-test-analyzer
Supabasereferences/supabase-patterns.mdpr-review-toolkit:type-design-analyzer
Deploymentreferences/deployment-patterns.md
Browser Toolsreferences/browser-automation.md
Versioningreferences/version-management.md

Framework Rules

FrameworkRule FileAuto-Review Agent
TypeScriptrules/typescript.mdpr-review-toolkit:type-design-analyzer
Next.jsrules/nextjs.mdfeature-dev:code-reviewer
Reactrules/react.mdreact-doctor skill
Supabaserules/supabase.mdfeature-dev:code-reviewer
Securityrules/security.mdpr-review-toolkit:silent-failure-hunter

Templates

TemplatePurpose
templates/CLAUDE.md.templateProject configuration starter
templates/settings.json.templatePermission configuration
templates/project-plan.md.templateProject planning document
templates/implementation-plan.md.templateTechnical implementation plan
templates/code-review.md.templateCode review summary
templates/changelog.md.templateProject changelog

Automated Quality Gates

After completing a feature or significant code change, run these specialized agents to catch issues that manual review misses. Launch them in parallel (single message, multiple Agent tool calls).

Quick Review (3 agents, parallel)

For fast feedback after any code change:

Agent(subagent_type="feature-dev:code-reviewer", prompt="Review changes for bugs, security, conventions...")
Agent(subagent_type="pr-review-toolkit:silent-failure-hunter", prompt="Check error handling in changes...")
Agent(subagent_type="pr-review-toolkit:code-simplifier", prompt="Simplify recently modified code...")

Full Review (5 agents, parallel)

Before merge or PR creation — comprehensive quality check:

Agent(subagent_type="feature-dev:code-reviewer", prompt="Review for bugs, security, conventions...")
Agent(subagent_type="pr-review-toolkit:silent-failure-hunter", prompt="Check error handling...")
Agent(subagent_type="pr-review-toolkit:type-design-analyzer", prompt="Review type design quality...")
Agent(subagent_type="pr-review-toolkit:comment-analyzer", prompt="Check comment accuracy...")
Agent(subagent_type="pr-review-toolkit:pr-test-analyzer", prompt="Review test coverage gaps...")

Skill Integration Points

Invoke these skills at key moments:

MomentSkillPurpose
After UI changesreact-doctorCatch React anti-patterns, hooks issues
After writing testsfull-test-coverageVerify test pyramid coverage
After code changessmart-testRun only relevant tests (fast feedback)
Before mergecode-reviewFull structured review
Before PRpr-review-toolkit:review-prComprehensive PR review

Usage

Starting a New Project

  1. Copy templates/CLAUDE.md.template to your project root as CLAUDE.md
  2. Customize sections for your stack
  3. Reference specific rules: ~/.claude/skills/secret-sauce/rules/typescript.md

Setting Up Permissions

  1. Copy templates/settings.json.template to .claude/settings.json
  2. Adjust permissions for your workflow

Project Documentation

Use templates for consistent project documentation:

  • project-plan.md.template for planning
  • implementation-plan.md.template for technical specs
  • code-review.md.template for reviews

Codebase Exploration

Use specialized agents to understand an existing codebase:

# Quick exploration
Agent(subagent_type="Explore", prompt="Find all API endpoints and their patterns...")

# Deep analysis
Agent(subagent_type="feature-dev:code-explorer", prompt="Trace auth flow end-to-end...")

# Architecture understanding
Agent(subagent_type="feature-dev:code-architect", prompt="Design implementation for <feature>...")

Key Patterns

CLAUDE.md Structure

Every project CLAUDE.md should include:

  1. YAML frontmatter (title, status, owner, tags)
  2. Quick Reference section with key commands
  3. Active/Pending/Completed projects
  4. Stack-specific guidelines
  5. Development patterns

Git Workflow

  • Commit format: <type>(<scope>): <description>
  • Never commit without confirmation
  • Branch naming: feature/<name>, fix/<name>
  • PR template with summary and test plan

Centralization Pattern

All configuration in @/config:

import { env, isProduction, getServiceUrl } from '@/config';

Configuration Hierarchy

  1. Database configuration (system_configuration table)
  2. Environment variables (.env.local)
  3. Hardcoded defaults

Secrets (API keys) → .env.local only Configs (models, URLs) → Database with fallback

Testing Standards

  • Target: >90% coverage
  • Prefer Vitest for new projects (fast, ESM-native); Jest for existing projects
  • Use 30s timeout for ML/AI operations
  • Add new test directories to test runners
  • Security tests required for auth/validation
  • After writing tests → invoke smart-test skill for intelligent test selection

AI Flow Pattern

  1. Zod schemas for input/output
  2. Prompt builder functions
  3. OpenAI SDK v6 with zodResponseFormat() — or Anthropic SDK with structured outputs
  4. Error handling with Result types
  5. Server action wrapper
  6. After implementing → dispatch pr-review-toolkit:silent-failure-hunter to catch swallowed errors in AI error handling

Data Fetching

  • Always pass signal to fetch calls
  • Use isAbortError() to handle cancellation
  • Memoize fetch options to prevent refetches
  • Use usePolling for dashboards with visibility-aware intervals

Security Checklist

  • Strict TypeScript (no any)
  • Zod input validation
  • Safe property access: Object.prototype.hasOwnProperty.call()
  • XSS prevention on all user inputs
  • Rate limiting in API routes
  • After security-sensitive changes → dispatch pr-review-toolkit:silent-failure-hunter

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenCode

40.3%
按下载量换算29

github-copilot

31.1%
按下载量换算23

Claude Code

17.94%
按下载量换算13

Gemini CLI

7.84%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills