單元測試
5220 skills in 測試與安全 > 單元測試
tdd
PROACTIVELY enforce Test-Driven Development when implementing features or fixing bugs. Ensures tests are written BEFORE code. Use for new methods, services, repositories, or bug fixes. Guides RED-GREEN-REFACTOR cycle.
openapi-toolkit-anthropic-dart
Automates updating anthropic_sdk_dart when Anthropic OpenAPI spec changes. Fetches latest spec, compares against current, generates changelogs and prioritized implementation plans. Use for: (1) Checking for API updates, (2) Generating implementation plans for spec changes, (3) Creating new models/endpoints from spec, (4) Syncing local spec with upstream. Triggers: "update api", "sync openapi", "new endpoints", "api changes", "check for updates", "update spec", "api version", "fetch spec", "compare spec", "what changed in the api", "implementation plan".
code-review
Review, analyze, and inspect code for Photo Map MVP project following Spring Boot, Angular 18, and shared project conventions. Check security, performance, naming, testing, and MVP scope compliance. Use when reviewing pull requests, conducting code audits, analyzing code quality, inspecting Java or TypeScript files, or ensuring quality before commits. File types: .java, .ts, .html, .xml, .properties, .css, .scss
bdd-workflow
Complete Behavior-Driven Development workflow coordinating SCENARIO → STEP DEFINITIONS → IMPLEMENT → REFACTOR cycle with Given/When/Then scenarios. Use when writing BDD tests or implementing features from user stories.
openspec-apply
Use when implementing an APPROVED OpenSpec change. Read tasks.md and follow EXACTLY. Do not deviate, add features, or skip tasks. Use with test-tdd for each code task.
scale-game
Test at extremes (1000x bigger/smaller, instant/year-long) to expose fundamental truths hidden at normal scales
github-project-automation
This skill provides comprehensive automation for GitHub repository setup and configuration.It should be used when creating new projects, setting up CI/CD pipelines, configuring issuetemplates, enabling security scanning, or migrating existing projects to GitHub automation.The skill prevents 18 documented errors in GitHub Actions YAML syntax, workflow configuration,issue template structure, Dependabot setup, and CodeQL security scanning. It includes 12production-tested workflow templates, 4 issue templates, security configurations, and automationscripts for rapid project setup.Use when: setting up GitHub Actions CI/CD, creating issue/PR templates, enabling Dependabot,configuring CodeQL scanning, automating GitHub repository setup, fixing YAML syntax errors,integrating security scanning, deploying to Cloudflare Workers via GitHub Actions, orimplementing multi-framework testing matrices.Keywords: github actions, github workflow, ci/cd, issue templates, pull request templates,dependabot, codeql, se
frontend-accessibility
Build accessible user interfaces following WCAG guidelines with semantic HTML, keyboard navigation, and screen reader support. When creating or modifying UI components, pages, forms, or interactive elements. When working on files that render HTML, JSX, or template markup. When implementing keyboard navigation, focus management, or ARIA attributes. When adding form inputs, buttons, links, modals, or any interactive UI elements. When ensuring color contrast, alternative text for images, or proper heading structure. When building or testing components for screen reader compatibility.
development-guides
Comprehensive development guides for advanced Kailash SDK features including custom node development, MCP development, async patterns, testing strategies, production deployment, RAG systems, security patterns, monitoring, and SDK internals. Use when asking about 'development guide', 'advanced features', 'custom node development', 'async node development', 'MCP development', 'production deployment', 'testing strategies', 'RAG implementation', 'security patterns', 'monitoring setup', 'circuit breaker', 'compliance', 'edge computing', or 'SDK internals'.
generate-modes
Generates three project-specific behavioral mode skills (planner, debugger, qa-tester) from project memories and bundled templates, and makes them selectable via switching-modes. Use when creating project-local agent modes for a repository.
go-development
Expert Go/Golang development including writing code, APIs, handlers, middleware, testing with go test, dependency management with go mod, and applying best practices from Context7. Use when user asks to write, modify, or debug Go code, mentions Golang, Go modules, go test, go build, REST APIs in Go, or working with .go files.
backend-dev-guidelines
Node.js/Express/TypeScript microservices development patterns. Use when workingwith backend code: routes, controllers, services, repositories, middleware, APIs.Covers:- Layered architecture (routes → controllers → services → repositories)- Express routing and middleware patterns- Prisma database access and ORM best practices- Zod validation and input sanitization- Sentry error tracking integration- BaseController pattern and dependency injection- Async/await patterns and error handling- Testing strategies and performance monitoring
test-backend
Run and verify backend tests for the FastAPI/Python application.
test-runner
Know exactly what failed, where, and why. No output parsing.
metadata-manager
Use this skill when creating or updating DAG configurations (dags.yaml), schema.yaml, and metadata.yaml files for BigQuery tables. Handles creating new DAGs when needed and coordinates test updates when queries are modified (invokes sql-test-generator as needed). Works with bigquery-etl-core, query-writer, and sql-test-generator skills.
diagnostics-runner
Run comprehensive system diagnostics including dependency checks, test suite execution, git status, and pipeline health verification. Use when troubleshooting issues, verifying system readiness, or preparing for a release.
phoenix-truth-case-orchestrator
End-to-end truth-case orchestration for the Phoenix VC fund-modeling platform. Use when running tests/truth-cases/runner.test.ts, computing module-level pass rates, updating docs/phase0-validation-report.md and docs/failure-triage.md, or deciding between Phase 1A/1B/1C.
nested-test-skill
A test skill in a nested directory with file references
generate-test-stub
Generates comprehensive gdUnit4 test stub files for GDScript classes with structured JSON output and automated remediation support.
azure-devops
Comprehensive skill for working with Azure DevOps REST API across all services including Boards (work items, queries, backlogs), Repos (Git, pull requests, commits), Pipelines (builds, releases, deployments), Test Plans, Artifacts, organizations, projects, security, extensions, and more. Use when implementing Azure DevOps integrations, automating DevOps workflows, or building applications that interact with Azure DevOps services.