AI-Assisted Development
Give coding agents version-matched Seventh UI implementation context directly from the installed npm package.
Installed Consumer Reference
| Artifact | Purpose |
|---|---|
reference/AGENTS.md |
Implementation rules, package boundaries, asset guidance, and CSS/runtime ownership. |
reference/index.json |
Searchable catalog of components, tokens, layouts, assets, examples, imports, and related entries. |
reference/**/*.html |
Compact markup, variants, states, accessibility requirements, and usage examples. |
Configure a Consumer Repository
For Seventh UI work, first read
node_modules/@seventh-ui/css/reference/AGENTS.md.
Use node_modules/@seventh-ui/css/reference/index.json
to discover the matching contract before implementation.
Recommended Workflow
- Read
reference/AGENTS.mdbefore changing Seventh UI markup or styles. - Search
reference/index.jsonby title, description, or tags. - Open the selected entry's
pathand its related entries. - Import the listed
cssEntrypointsandcssDependencies. - Preserve documented semantic markup, classes, states, and accessibility attributes.
- Implement responsibilities listed under
runtimein the consumer's chosen technology. - Use the full visual documentation for browser review and comparison.
Discover a Contract
node -e '
const { entries } = require(
"./node_modules/@seventh-ui/css/reference/index.json"
);
const term = "combobox";
const matches = entries.filter(({ title, description, tags }) =>
[title, description, ...tags].some((value) =>
value.toLowerCase().includes(term)
)
);
console.table(matches.map(({ id, type, path }) => ({ id, type, path })));
'
Example Agent Request
Implement a searchable single-value field with Seventh UI.
First read node_modules/@seventh-ui/css/reference/AGENTS.md.
Find the appropriate component in reference/index.json.
Use only its public package entrypoints and documented markup.
Implement all runtime and accessibility responsibilities listed by the contract.
Do not copy CSS from the documentation or library source.
Boundaries
- The reference documents the installed package version; update the dependency to receive a newer contract.
- It does not provide JavaScript behavior or choose a framework implementation.
- It does not replace visual validation in a browser.
- It is generated package output and must not be edited inside
node_modules. - It is not imported by CSS and adds no bytes to the application's browser payload.