一键导入
testing-standards
Write comprehensive tests following TDD and best practices. Use when generating unit tests, integration tests, or end-to-end tests for any code
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Write comprehensive tests following TDD and best practices. Use when generating unit tests, integration tests, or end-to-end tests for any code
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
CI pipeline design, parallel execution, caching strategies, and quality gates. Use when setting up CI/CD pipelines, configuring GitHub Actions, automating deployments, optimizing build times, or implementing quality gates. Triggers on 'CI/CD pipeline', 'GitHub Actions', 'deploy', 'build pipeline', 'continuous integration', 'automated deployment'.
Add comprehensive documentation including JSDoc/TSDoc, inline comments, README updates, and OpenAPI 3.0 API docs. Use when documenting code, generating docs, improving project documentation, adding docstrings, writing README files, or creating API specifications. Triggers on 'add docs', 'document this', 'write README', 'API spec', 'add docstrings', 'generate documentation'.
Greet all installed tools and generate a health report
Switch between model modes or check current mode. Use /model-mode status to see current setting, /model-mode opus-only to always use Opus, /model-mode default for auto-switching.
Generate project scaffolding, boilerplate code, and project structure for React, Next.js, Express, NestJS, FastAPI, Django, and more. Use when starting a new project, generating boilerplate, or setting up project structure. Triggers on 'scaffold', 'create project', 'new app', 'bootstrap', 'boilerplate', 'starter template', 'project structure', 'monorepo'.
Manage the RAG MCP server — index codebases, search semantically, configure backends (ChromaDB/Redis/Qdrant)
| name | testing-standards |
| description | Write comprehensive tests following TDD and best practices. Use when generating unit tests, integration tests, or end-to-end tests for any code |
describe('Component/Function Name', () => {
it('should do something specific', () => {
// Arrange - Set up test data
const input = { foo: 'bar' }
// Act - Execute the code
const result = functionUnderTest(input)
// Assert - Verify results
expect(result).toEqual(expectedOutput)
})
})
it('should return 401 when token is expired')