tool-module-builder

Build or repair one backend tool module from architect task and design and test documents.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Aldebaran638/Invoice-Management-System --skill tool-module-builder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tool-module-builder
Source: https://github.com/Aldebaran638/Invoice-Management-System/tree/main/skills/tool-module-builder
Command: npx skills add https://github.com/Aldebaran638/Invoice-Management-System --skill tool-module-builder

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents backend tool-module development from drifting into legacy assumptions by forcing a single-module implementation to be derived from the architect task, design document, and test document.

Core Features & Use Cases

  • Doc-driven module contract: Converts the task list, design document, and test document into an explicit API contract (paths, permissions, request/response schemas, validation, error cases).
  • Architecture-aligned implementation: Implements exactly one backend tool module within the repository’s module architecture and separation of layers (interface/application/persistence).
  • Verification through module tests: Produces or repairs module tests so behavior is verifiable against the test document, including happy paths and documented failures.

Quick Start

Ask: “Using the architect task, the design doc, the test doc, and the task list, implement or repair exactly one backend tool module named by the task, strictly following the repository module architecture and making the tests match the test document.”

Frequently Asked Questions about tool-module-builder

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

FAQPage Schema
How do I implement a backend module from a design document without drifting into legacy assumptions?

To implement a backend module from a design document without legacy drift, derive the module contract strictly from the architect task, design doc, and test doc, treating them as the single source of truth. This ensures the implementation aligns with the repository architecture and ignores historical code assumptions.

What is a doc-driven API contract for backend module development?

A doc-driven API contract for backend module development converts the task list, design document, and test document into an explicit contract covering paths, permissions, request and response schemas, validation, and error cases. It ensures the module implementation strictly matches documented observable behavior.

How do I build exactly one backend tool module while aligning to existing repository architecture?

Build exactly one backend tool module by deriving its scope from the architect task and implementing it within the repository's separation of layers, including interface, application, and persistence. This approach ensures architecture alignment while strictly limiting development to the allowed module scope.

Can I use an architect task and test document to repair existing backend module tests?

Yes, you can repair existing backend module tests using an architect task and test document. The process updates or produces module tests so behavior is verifiable against the test document, ensuring both happy paths and documented failures match the expected observable outcomes.

Does backend module development require separate design and test documents for API contract generation?

Backend module development requires both a design document and a test document to generate an accurate API contract. These documents, combined with the architect task list, define the request and response schemas, validation rules, and error cases needed for test-driven implementation.

Why should backend module implementation ignore historical assumptions during development?

Backend module implementation should ignore historical assumptions to prevent development drift and ensure the codebase matches current architectural intent. By treating provided documents as the source of truth, developers avoid introducing legacy bugs and maintain strict alignment with the updated repository architecture.