afc:test

Plan and write tests for specified code targets using the AAA pattern.

7|Updated Feb 19, 2026
One-click install
npx skills add https://github.com/jhlee0409/all-for-claudecode --skill afc-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: afc:test
Source: https://github.com/jhlee0409/all-for-claudecode/tree/main/skills/test
Command: npx skills add https://github.com/jhlee0409/all-for-claudecode --skill afc-test

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you create a robust testing strategy and write comprehensive tests for your code, ensuring quality and reliability.

Core Features & Use Cases

  • Test Strategy Planning: Defines a clear testing approach, including types of tests (unit, integration, E2E) and mocking strategies.
  • Automated Test Writing: Generates tests following best practices like the AAA pattern and clear naming conventions.
  • Coverage Analysis: Evaluates existing test coverage and identifies gaps for remediation.
  • Use Case: After implementing a new feature, use this Skill to automatically generate unit and integration tests, verify their coverage, and ensure they pass, all while adhering to your project's testing framework.

Quick Start

Use the afc:test skill to plan and write tests for the 'src/utils/helpers.js' file.

Frequently Asked Questions about afc:test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I plan a test strategy for a new code feature?

To plan a test strategy, this Skill defines a clear testing approach by determining appropriate test types—unit, integration, or E2E—and establishing mocking strategies for your specified code targets.

Can I automatically generate unit tests using the AAA pattern?

Yes, you can automatically generate unit tests using the AAA pattern. The Skill writes tests following the Arrange-Act-Assert structure with clear naming conventions for your specified file paths or directories.

How do I analyze existing code coverage and identify test gaps?

You can analyze existing code coverage by providing file paths or directory paths to the Skill. It evaluates current coverage, identifies gaps for remediation, and addresses potential bugs found during verification.

Does this testing approach work with my project's existing CI gates?

Yes, the testing approach works with your project's CI gates. The Skill verifies test execution against CI gates while adhering to your project's testing framework to ensure generated tests pass.

What is the best way to write E2E and integration tests for specific feature names?

The best way to write E2E and integration tests is to specify feature names as targets. The Skill analyzes the code, determines the correct test types and strategies, and generates tests to verify execution.