everything-claude-code-zh / rules
Cursor rule2k starsChanged 9 months agoMITView on GitHub
安全:强制检查、密钥管理、响应协议
Trending
More talk lately.thin dataabout the whole repository
Who's talking about xu-xiang/everything-claude-code-zh
The biggest 1 of 1 mention linking to the repository that our crawl found. Each line is their own headline.
In this repository114 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .codex/AGENTS.mdAGENTS.md
- rules/agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- examples/CLAUDE.mdCLAUDE.md
- .cursor/rules/common-agents.mdCursor rule
- .cursor/rules/common-coding-style.mdCursor rule
- .cursor/rules/common-development-workflow.mdCursor rule
- .cursor/rules/common-git-workflow.mdCursor rule
- .cursor/rules/common-hooks.mdCursor rule
- .cursor/rules/common-patterns.mdCursor rule
- .cursor/rules/common-performance.mdCursor rule
- .cursor/rules/common-testing.mdCursor rule
- .cursor/rules/golang-coding-style.mdCursor rule
- .cursor/rules/golang-hooks.mdCursor rule
- .cursor/rules/golang-patterns.mdCursor rule
- .cursor/rules/golang-security.mdCursor rule
- .cursor/rules/golang-testing.mdCursor rule
- .cursor/rules/python-coding-style.mdCursor rule
- .cursor/rules/python-hooks.mdCursor rule
- .cursor/rules/python-patterns.mdCursor rule
- .cursor/rules/python-security.mdCursor rule
- .cursor/rules/python-testing.mdCursor rule
- .cursor/rules/swift-coding-style.mdCursor rule
- .cursor/rules/swift-hooks.mdCursor rule
- .cursor/rules/swift-patterns.mdCursor rule
- .cursor/rules/swift-security.mdCursor rule
- .cursor/rules/swift-testing.mdCursor rule
- .cursor/rules/typescript-coding-style.mdCursor rule
- .cursor/rules/typescript-hooks.mdCursor rule
- .cursor/rules/typescript-patterns.mdCursor rule
- .cursor/rules/typescript-security.mdCursor rule
- .cursor/rules/typescript-testing.mdCursor rule
- api-designSkill
- article-writingSkill
- backend-patternsSkill
- coding-standardsSkill
- content-engineSkill
- e2e-testingSkill
- eval-harnessSkill
- frontend-patternsSkill
- frontend-slidesSkill
- investor-materialsSkill
- investor-outreachSkill
- market-researchSkill
- security-reviewSkill
- strategic-compactSkill
- tdd-workflowSkill
- verification-loopSkill
- oneskillSkill
- article-writingSkill
- content-engineSkill
- frontend-slidesSkill
- investor-materialsSkill
- investor-outreachSkill
- market-researchSkill
- api-designSkill
- article-writingSkill
- autonomous-loopsSkill
- backend-patternsSkill
- The first 60 shown.
The file
Files
安全指南 (Security Guidelines)
强制安全检查 (Mandatory Security Checks)
在进行任何提交 (commit) 之前:
- 严禁硬编码密钥(API 密钥 (API keys)、密码、令牌 (tokens))
- 所有用户输入均已验证
- 预防 SQL 注入 (SQL injection)(使用参数化查询 (parameterized queries))
- 预防跨站脚本攻击 (XSS prevention)(对 HTML 进行清理/转义 (sanitized HTML))
- 已启用跨站请求伪造 (CSRF) 保护
- 身份验证 (Authentication) / 授权 (Authorization) 已验证
- 所有端点 (endpoints) 均已启用速率限制 (Rate limiting)
- 错误信息不会泄露敏感数据
密钥管理 (Secret Management)
- 严禁在源码中硬编码密钥 (secrets)
- 始终使用环境变量 (environment variables) 或密钥管理器 (secret manager)
- 在启动时验证必要的密钥是否存在
- 轮换 (Rotate) 任何可能已泄露的密钥
安全响应协议 (Security Response Protocol)
如果发现安全问题:
- 立即停止 (STOP)
- 使用 security-reviewer 智能体 (Agent)
- 在继续前修复关键 (CRITICAL) 问题
- 轮换 (Rotate) 任何泄露的密钥
- 审查整个代码库以确认是否存在类似问题
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

