Orm consumer link test

From haustle/notion-orm · View interactive version

Orm consumer link test is an AI agent skill from the GitHub repository haustle/notion-orm. Validates local integration of @haustle/notion-orm changes across consuming applications. Use when the user updates the orm package and needs to build, link, regenerate types, and verify behavior in one or more consuming apps.

How to use this skill

Skill file

ORM Consumer Link Test

Purpose

Ensure changes made in the ORM repo are correctly consumed and validated in external apps that depend on @haustle/notion-orm.

When to Use

Use this skill when:

Required Inputs

If consumer_app_paths are missing, ask for them before running commands.

Workflow

Copy this checklist and track progress:

ORM consumer validation progress
- [ ] Build and link package from ORM repo
- [ ] Link package in each consuming app
- [ ] Regenerate generated types in each consuming app
- [ ] Run validation/tests in each consuming app
- [ ] Report per-app results and failures

1) Build package in ORM repo

From orm_repo_path, run:

bun run build

This step must complete successfully before validating consuming apps.

2) Link package in each consuming app

For each path in consumer_app_paths, run:

bun link @haustle/notion-orm

3) Regenerate types in each consuming app

Still inside each consuming app, run:

bun notion sync

4) Validate behavior in each consuming app

Run the app's relevant tests or verification commands. Prefer project-defined scripts (for example bun test, bun run test, or a targeted smoke check) and report what was executed.

If no automated tests exist, perform a manual smoke validation and clearly label it as manual.

Reporting Format

Return results as:

## ORM Consumer Validation Results

- ORM build: PASS/FAIL
- Consumer app: <path>
  - Link step: PASS/FAIL
  - Generate step: PASS/FAIL
  - Validation step: PASS/FAIL
  - Notes: <key output/errors>

Failure Handling

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.