Agent skill

modular-architecture-documentation-module-naming

Sub-skill of modular-architecture-documentation: Module Naming (+4).

Stars 4
Forks 4

Install this agent skill to your Project

npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/business/admin/modular-architecture-documentation/module-naming

SKILL.md

Module Naming (+4)

Module Naming

  • Use domain names, not technical terms:

    • invoice, tax_prep, tax_file
    • module1, processor, generator
  • Keep names short and memorable:

    • invoice-gen (CLI command)
    • invoice_generation_automation_tool

Module Boundaries

  • One module = one CLI command = one purpose
  • Clear inputs/outputs per module
  • No circular dependencies between modules
  • Minimize shared components (only truly shared code)

CLI Command Design

  • Consistent flag naming across modules:
    • --help, --verbose, --dry-run, --config
  • Intuitive command names reflecting actions:
    • invoice-gen, tax-prep, tax-file
  • Comprehensive help text with examples

Documentation Standards

  • Document in tech-stack.md: Module structure, CLI commands, adoption path
  • Record in decisions.md: Why modular, alternatives considered, consequences
  • Update roadmap.md: Phased implementation per module
  • Maintain README: Quick start per module

Testing Independence

  • Each module has test directory:
    tests/
    ├── invoice/
    ├── tax_prep/
    ├── tax_file/
    └── shared/
    
  • Mock other modules in tests (don't depend on them)
  • 80% coverage per module, 95% for critical

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results