單元測試
5220 skills in 測試與安全 > 單元測試
content-atomizer
Transform one piece of content into platform-optimized assets across LinkedIn, Twitter/X, Instagram, TikTok, and YouTube. Use when someone has existing content (blog post, newsletter, podcast, video) and wants to maximize distribution. Covers format specs, hook formulas, algorithm signals, and creator-tested patterns for each platform. Triggers on: repurpose this, turn this into social posts, atomize this content, create social content from, LinkedIn post from this, thread from this. Outputs platform-specific content ready to publish.
playwright-testing
RPA workflow testing with Playwright browser automation. Covers page object model, wait strategies, screenshot testing, and browser node testing patterns. Use when: testing browser nodes, page object model, wait strategies, screenshot testing, visual regression, browser automation tests.
tdd-cycle
Execute a complete TDD cycle (RED → GREEN → REFACTOR) for one test. Orchestrates the full workflow from writing a failing test through implementation and refactoring to commit.
test-pipeline
Run pytest test suite for the video processing pipeline with coverage analysis. Use when the user wants to run tests, check test coverage, validate code quality, or verify pipeline functionality.
uv-project-manager
Create and manage UV-based Python projects with sensible defaults, flexible folder structures (flat or src/), and optional code quality standards (Ruff, Mypy, pytest). Supports APIs, libraries, scripts, and services.
spring-framework-patterns
Comprehensive Spring Framework and Spring Boot best practices including dependency injection patterns, bean lifecycle and scopes, REST API development, Spring Data JPA, service layer design, Spring Security, testing strategies, caching, AOP, async processing, error handling, and common anti-patterns. Essential reference for code reviews and Spring Boot application development.
textual
Expert guidance for building TUI (Text User Interface) applications with the Textual framework. Invoke when user asks about Textual development, TUI apps, widgets, screens, CSS styling, reactive programming, or testing Textual applications.
date-timezone
Handle date and timezone conversions correctly in forms and displays. Use when working with: Date inputs, new Date(), formatDate, toLocaleDateString, getDate(), getMonth(), getFullYear(), date parsing, UTC conversion, timezone issues, dates displaying wrong day, date-only fields in forms, YYYY-MM-DD parsing. Triggers: dates off by one day, timezone bugs, form date handling, competition dates, event dates, calendar dates.
sdd-planning
Generate comprehensive implementation plans using Specification-Driven Development (SDD)methodology. Use when creating technical design, implementation roadmap, or executingthe /plan command.This skill orchestrates the plan-template.md execution flow, generating research, datamodels, API contracts, and test scenarios. It validates constitutional compliance(Library-First, Test-First, Contract-First) and prepares for task generation.Triggered by: /plan command, user request for "implementation plan", "technical design","how to implement", or "design this feature".
phase-workflow-runner
Runs a complete phase workflow: audit existing work, fill gaps, run tests, verify acceptance criteria, and report readiness for next phase. Use when user asks to run or complete a project phase.
quality-strategy-architect
Defines the project's holistic quality strategy, test policies, and the 'Unified Feedback Protocol'. Establishes the single source of truth for all quality assurance procedures, unifying both automated and human-driven governance.
exhaustive-testing
Write comprehensive test coverage across unit, integration, regression, end-to-end, and manual tests. Watch for deprecation warnings in test output and address them immediately. Use when writing tests, implementing features, or before creating pull requests.
golang-testing-strategies
Comprehensive Go testing strategies including table-driven tests, testify assertions, gomock interface mocking, benchmark testing, and CI/CD integration
brainstorm-acceptance-test
Gather examples for the acceptance test; use when we are about to start development of a new feature
global-tech-stack
Reference and maintain documentation of the project's technical stack including frameworks, languages, databases, testing tools, and third-party services. Use this skill when choosing technologies for implementation, adding new dependencies or libraries, setting up project infrastructure, configuring build tools and package managers, integrating third-party services (authentication, email, monitoring), selecting appropriate frameworks for features, ensuring consistency with existing technology choices, documenting technology decisions, reviewing technology compatibility, or onboarding team members to the tech stack. Apply this skill when making technology decisions, adding new tools or services, documenting the stack, or ensuring new code aligns with the project's established technical architecture.
test
Execute tests following TDD cycle: RED (verify test fails) → GREEN (implement to pass) → REFACTOR.Interprets tests.json and performs steps using available tools (browser MCP, API, CLI, etc.).WHEN TO USE:- Starting implementation of a ticket with TDD: yes- After writing test spec (3-spec.md) and tests.json- When user says "run tests", "test this", "TDD cycle"- After fixing a failing testREQUIRES:- Ticket with 3-spec.md- tests.json in .pmc/docs/tests/tickets/T0000N/
tdd-enforcer
Use when implementing new features. Enforces TDD workflow - write tests FIRST, then implementation. Ensures AAA pattern, proper coverage, and quality test design.
testing-gh-skills
SLASH COMMAND ONLY - Do NOT invoke automatically. Only runs via /test-gh-skills command. Executes Python test orchestrator for 80 tests across 6 skill groups.
smc-harness
SMC trading agent skill for Alpha Harness backtesting. Provides ICT/SMC methodology,decision frameworks, and behavioral guidelines for autonomous trading in simulatedenvironments. USE WHEN agent wakes in harness, needs to analyze markets, decide onsetups, or place orders.
create-bap-identity
Create new BAP (Bitcoin Attestation Protocol) identities using the bap CLI. Supports Type42 (modern) and Legacy identity formats. Creates encrypted .bep backup files stored in Flow's /.flow/.bsv/backups/ directory.