What this skill does

Codebase Design examines the relationship between a module's interface and implementation. A good interface offers substantial behaviour with few rules to learn. The skill helps identify where to put interfaces, adapt dependencies and focus changes and tests on a clear responsibility.

Development teams can use it when designing a feature or reviewing a difficult module. The AI employee explains what each consumer needs to know and proposes alternatives. The owner decides whether the proposal improves everyday work, accounting for migration costs and the project's existing contracts.

When it can help

  • Design a new module's interface.
  • Reduce unnecessary dependencies between parts of the code.
  • Prepare an entry point that is easy to test.

A task to get started

Propose an interface for calculating quotations that hides internal rules and makes important cases testable. Explain what consumers need to know and how we would preserve the current contract.

What you need

  • Context about the code, its consumers and its rules.
  • Acceptance criteria for important behaviours.

Limits and result review

  • A smaller interface is not automatically better in every context.
  • Structural changes must justify their cost and preserve required contracts.

How to add it to your employee in Hub Bot

Hub Bot's library lets you review and add skills from public GitHub repositories. You need an account and permission to manage team skills.

  1. Sign in to Hub Bot and open Skills library, or type /skills in chat.
  2. Find codebase-design and check the author: mattpocock.
  3. Open the details and review the version, requirements and original content.
  4. Choose the permitted scope—company, department or employees—and add the skill.
  5. Check the employee's tools and connections before assigning work. Review the first result.
Use in Hub Bot ↗

Account required. Select and review the skill in the library.

A skill provides a procedure. Each employee's permissions, approvals and connections still determine available actions. Adding it does not automatically install software or execute the author's scripts.

Sources and documentation

An iabot editorial explanation based on original documentation. Authorship remains with mattpocock. This guide is not a Hub compatibility test and does not distribute a translation of the author’s code.

Read the iabot manual →