workspace-conventions
What it does
This skill lists the conventions that keep a group of related apps consistent, covering shared code, file storage, credentials, and framework lookups. It is for developers working across several workspace apps.
When to use it
- ✓When you work across more than one app in the same workspace.
- ✓When you need to store a file or a credential in a workspace app.
- ✓When you look up framework APIs or add code that other apps will share.
Skill link
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/workspace-conventions/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Add a shared helper that all the apps in this workspace can use, and keep it in the right place.”
5 new skills a week. 1 minute to read.
How it works
The skill points the agent to the right docs and to the rules for shared versus app-owned code, file storage, and secrets, so changes follow the same pattern everywhere.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Workspace Conventions
The long-form detail behind the workspace AGENTS.md core rules. Read this
before adding shared code, storing files or secrets, creating workspace
resources, or looking up framework APIs.
Framework Docs Lookup
Read agent-native-docs for the lookup workflow (framework-search first, then
the focused docs-search / source-search readers, and the rg fallback).
The workspace-specific slugs it does not list are workspace and
multi-app-workspace. Feature flags and other specialized workflows are
optional; read their skill only when the app uses them. Use package docs for framework APIs,
the package corpus for reusable framework/template patterns, and this
AGENTS.md plus .agents/skills/ for workspace-specific conventions.
Before building common workspace or agent UI, read agent-native-toolkit to
inventory existing public kits and installed package seams. Read
customizing-agent-native before adapting shared UI. Use the supported
ladder: configure → compose → eject the smallest unit → propose a shared seam.
Preview before --apply, commit agent-native.ejections.json, and never edit
node_modules or eject protected runtime contracts.
Shared Conventions
- All AI/LLM behavior goes through the app's agent chat. UI and server code
must not call model providers, AI SDK
generateText()/streamText(), or other inline LLM APIs directly. UsesendToAgentChat()for local app-agent work, including hiddencontextandsubmit: falseprefill/review flows. Keep actions deterministic and focused. If a workflow is framed as research, analysis, generation, recommendation, or synthesis, let the agent orchestrate provider/data actions in the open AgentSidebar instead of hiding the work in one opaque action or a separate follow-up textbox. Only useuseAgentChatContext,setAgentChatContextItem,listAgentChatContext,removeAgentChatContextItem, andclearAgentChatContextwhen UI needs two-way sync with staged context chips. Read.agents/skills/delegate-to-agent/SKILL.mdbefore building agent-driven UI or "AI" features. - Put shared code in
packages/sharedonly when multiple apps need it. - Keep app-specific screens, actions, state, and skills inside
apps/<app>. - SQL is for structured records, metadata, references, and searchable text. Store
large files/blob payloads (base64,
data:URLs, images, video/audio, PDFs, ZIPs, screenshots, thumbnails, session replay chunks) in configured file/blob storage and persist only URLs, ids, or handles. - Store shared runtime configuration in the workspace root
.env; useapps/<app>/.envonly for app-specific overrides. For public app behavior, prefer the default inagent-native.config.tsand use the deterministicAGENT_NATIVE_CONFIG_<UPPER_SNAKE_PATH>alias only when a non-secret value needs a deployment override. Never hardcode API keys, tokens, webhook URLs, signing secrets, private Builder/internal data, customer data, or credential-looking literals in source, docs, prompts, fixtures, application state, action responses, or generated app content. Use secrets/OAuth/runtime configuration and obvious placeholders in examples. - Each app deploys its own
/*page function, and that function ships whatever the app's server bundle depends on — including a dependency only a background job uses. Before an app takes on a heavy runtime (headless browser, ffmpeg, media processing, ML), read.agents/skills/performance/SKILL.md§9 and keep that work in a background function or job. A dependency belonging to one app does not belong inpackages/shared. - Prefer framework defaults until the workspace has a real custom rule, component, plugin, action, or skill to share.
- Keep the Workspace files view for user-authored or user-requested resources.
Agents may create hidden
agent_scratchresources for temporary working notes, scripts, task plans, or intermediate outputs, but should promote them to normal workspace visibility only when the user explicitly asks to keep or manage the file. - Runtime-editable global resources can be managed from Dispatch Resources.
Use
AGENTS.mdorinstructions/<slug>.mdfor always-on guardrails,skills/<slug>/SKILL.mdfor workspace skills,context/<slug>.mdfor personas/positioning/messaging/company facts/brand guidelines, andagents/<slug>.mdfor custom agent profiles. Scope them to All apps when every workspace app
FAQ
Should the agent edit node_modules directly?
No. The skill says never to edit node_modules and to follow the supported steps for customizing shared UI.
Where do AI calls go?
All AI and LLM behavior goes through the app's agent chat, not directly from UI or server code.
How are framework docs found?
The skill says to start with a framework search, then use the focused docs and source readers.
Details
Original description by the author
Shared conventions for a multi-app Agent-Native workspace: finding version-matched framework docs and source, shared vs app-owned code, file and blob storage, env and secrets, agent scratch files, and Dispatch Resources. Use when working across workspace apps, storing files or credentials, or looking up framework APIs.
repo: BuilderIO/agent-native
Popularity
- GitHub stars
- 7.6k
- Ranking position
- #13191
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
design-exploration
7.6kHelps your agent explore several UI design directions side by side, let you pick one, and then refine the chosen design.
visual-edit
7.6kHelps your agent open a running local app in a visual editor so you can review and edit its real screens together.
turn-into-app
7.6kTurns a workflow, spreadsheet or project into a polished visual app, with populated screens and an agent working behind the controls.
visual-plan
7.6kTurns a plain text plan into an interactive visual plan with diagrams, file maps, code snippets and open questions.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.