Basinfy/Basinfy-SaaS-Studio / .agents/skills/saas-create-architecture
saas-create-architecture
UnverifiedAuthor the master SaaS system architecture blueprint, C4 layers, and DB boundaries.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 7.6 KB |
| references/0-load-context.md | markdown | 10.7 KB |
| references/1-layers.md | markdown | 2.6 KB |
| references/2-module-ownership.md | markdown | 1.1 KB |
| references/3-data-flow.md | markdown | 1009 B |
| references/4-api-boundaries.md | markdown | 1.0 KB |
| references/5-adr-audit.md | markdown | 1.9 KB |
| references/6-missing-adrs.md | markdown | 782 B |
| references/7-write.md | markdown | 4.8 KB |
| references/8-handoff.md | markdown | 2.5 KB |
references/4-api-boundaries.md
View on GitHub# /saas-create-architecture — Phase 4: API Boundaries
> Part of `/saas-create-architecture`. `SKILL.md` names when to read this file; the settings it
> resolved and the rules under its later headings still apply here.
## Phase 4: API Boundaries
Define the public contracts between modules. For each boundary:
- What is the interface a module exposes to the rest of the system?
- What are the entry points (functions/signals/properties)?
- What invariants must callers respect?
- What must the module guarantee to callers?
Write in pseudocode or the project's actual language (from technical preferences).
These become the contracts programmers implement against.
**Engine awareness check**: If any interface uses stack-specific types (e.g.
`Node`, `Resource`, `Signal` in Next.js), flag the version and verify the type
exists and has not changed signature in the target engine version.
Get user approval on the API boundaries, then record them in
`production/session-state/active.md`; they are written at Phase 7.
---
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |