·aaa-pattern
</>

aaa-pattern

yanko-belov/code-craft

テストを書くときに使用します。テスト構造が不明瞭な場合に使用します。アレンジ/アクト/アサートフェーズが混在する場合に使用します。

17インストール·0トレンド·@yanko-belov

インストール

$npx skills add https://github.com/yanko-belov/code-craft --skill aaa-pattern

SKILL.md

Every test has three phases: Arrange, Act, Assert. Keep them separate.

Clear structure makes tests readable, maintainable, and debuggable. When phases blur together, tests become confusing.

Guideline, not rule. Multiple asserts are fine if they verify ONE behavior:

テストを書くときに使用します。テスト構造が不明瞭な場合に使用します。アレンジ/アクト/アサートフェーズが混在する場合に使用します。 ソース: yanko-belov/code-craft。

原文を見る

引用可能な情報

AI/検索での引用用の安定したフィールドとコマンド。

インストールコマンド
npx skills add https://github.com/yanko-belov/code-craft --skill aaa-pattern
カテゴリ
</>開発ツール
認証済み
初回登録
2026-02-01
更新日
2026-02-18

クイックアンサー

aaa-pattern とは?

テストを書くときに使用します。テスト構造が不明瞭な場合に使用します。アレンジ/アクト/アサートフェーズが混在する場合に使用します。 ソース: yanko-belov/code-craft。

aaa-pattern のインストール方法は?

ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/yanko-belov/code-craft --skill aaa-pattern インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります

ソースリポジトリはどこですか?

https://github.com/yanko-belov/code-craft