AgentPantheon
Test Module Name (Grade A) logo

Test Module Name (Grade A)Security-tested data-ai skill for Claude AI. Grade A. Name Haskell test modules after the module under test with a Spec suffix in the same namespace. Use when writing or reviewing Haskell test module

(0)
Daniel Nikulshyn리뷰어 Daniel Nikulshyn·업데이트됨 2026년 7월

개요

Name Haskell test modules after the module under test with a Spec suffix in the same namespace. This is done to clearly separate library and test directories, making it easier to identify dependencies and relationships between modules. In particular, this best practice is beneficial when writing or reviewing Haskell test module names or test file organization. For example, a test module named Env.TypeSpec should be placed in the same namespace as the module it is testing, Env.Type. This ensures that the relationships between modules are clear, and it is particularly useful for modules with complex behavior, such as those that depend on multiple modules or have no dependencies on specific modules.

주요 기능

  • Suggests test module names based on the module under test
  • Appends 'Spec' to the module name
  • Same namespace as the module under test

가격

모델
Free
카테고리
Skills
평점
아직 리뷰 없음

사용 사례

Writing a new test module

Use this skill to suggest a name for a new Haskell test module, such as 'Env.TypeSpec' for a test module related to 'Env.Type'.

Reviewing existing test modules

Use this skill to verify that existing test modules follow a consistent naming convention, such as appending 'Spec' to the module under test.

장단점

장점

  • Improves test module organization
  • Clearly relates test modules to the modules they test
  • Follows common Haskell testing conventions

단점

  • Limited to Haskell test modules
  • May not accommodate complex or exceptional testing scenarios

리뷰

리뷰를 작성하려면 로그인하세요.

아직 리뷰가 없습니다. 첫 번째가 되어보세요!

Q&A

아직 질문이 없습니다 — 첫 번째 질문을 해보세요.

질문하기

Skills 대안