Give the outside team one domain with a written API contract, your conventions in a form a linter can check, and a rule that tests run in your pipeline before anything merges. At DL we take one domain behind a defined API, build to the agency's conventions, and hand it back with tests. The agency sells the project without hiring, and the client sees one team.
What does a software development subcontractor for agencies take on?
The unit of handoff is a domain: the tables, the API in front of them, and the tests. Payments is a domain. So is admin, the AI layer, or an integration with a POS or a billing provider.
Tickets pulled out of a shared backlog usually touch files your own team is also editing. A domain has an edge, so the outside team works inside it and your team keeps working in theirs.
The outside team needs the contract and the conventions. Your team keeps the context for the rest of the product.
Which modules are safe to hand to an outside team?
The ones that already have a boundary, or can be given one in a short design step. A quick check: can you describe what the rest of the app needs from this module in a page of endpoints and events?
If you can, hand it off. If the honest answer is that it reads from six tables owned by other parts of the app, fix that first. Otherwise the subcontractor inherits the tangle.
Integrations with systems you don't control are often good candidates. Grill Masters Pro Shop's referral CRM has a POS integration and subscription billing. We treat that kind of integration as its own domain, with its own tables and tests.
How do you write conventions an outside team can follow?
Send things they can run, along with things they read. A style document tells them what you intended. A lint config in the repo tells them when they missed it.
Here is what we ask an agency to put in front of us before we start a domain:
- Lint and formatter config, committed in the repo
- Folder and module layout, with one existing module as the reference
- Naming rules for tables, columns, endpoints and events
- The error response shape and status code rules
- How migrations are written and named
- Branch, PR and commit rules, and who reviews
- Test layout and the one command that runs everything
We copy the shape of the reference module. If a convention only lives in someone's head, we ask you to write it down before we start, because a guess made in week one gets repeated all through the module.
What goes in the API contract between your team and the subcontractor?
The contract is agreed before code. It covers the endpoints with request and response shapes, how auth works, how a user or tenant identity gets passed in, the error format, the events the module sends or listens to, and how versions change.
It also covers data. The module owns its tables, and nothing outside it reads them directly. If your team needs a field from payments, it asks through the API, and the change lands behind the contract.
With that rule in place, a migration inside the module can't break a test in your code. Both sides keep their own tests green.
What should come back with the code?
A data model, an API spec, the migrations and the tests. All of it in your repo, in your structure.
The tests run in your CI before you accept the handoff. We will run them in front of you if you want, and walk through what they cover. A payments module, for example, comes with the test that shows a refund can't go through twice.
Your own engineers can then read the API and the tests and extend the module. Or we keep owning the domain while your team stays on the others.
How does the client end up seeing one team?
You keep the client relationship, the roadmap and the repo. Our code goes through your pull request process and your reviewers, like any other contributor's. Status reaches the client through you.
Whether the client ever hears our name is your call. What makes it look like one team is mostly shared conventions: the same folder layout, the same error format, the same commit style.
When should you not subcontract a module?
When the module has no edge yet. If it writes to tables across the app, a handoff turns into a negotiation about who changes what.
Also when the agency has no written conventions at all. In that case the first domain your own team builds becomes the reference, and you subcontract the next one.
Where the boundary is unclear but the work is real, we sketch the data model and API for the domain first and agree it with you before building.
FAQ
Can our engineers take over the module later?
Yes. It comes back with its data model, API spec and tests, so an engineer can read those and start work the same week.
Do you work in our repo?
Yes, if that is how you want it. We build to your folder layout, naming and review process, and the code goes through your pull requests.
What if the boundary isn't clear yet?
We sketch the data model and API for the domain first and agree it with you. Building starts after that.
If there is a domain on a client project you would rather not staff, tell us about it.

