workspace-conventions
하는 일
이 스킬은 관련된 앱 묶음을 일관되게 유지하는 규칙을 정리합니다. 공유 코드, 파일 저장소, 자격 증명, 프레임워크 조회를 다룹니다. 여러 워크스페이스 앱을 함께 작업하는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓같은 워크스페이스에 있는 앱을 둘 이상 다룰 때.
- ✓워크스페이스 앱에 파일이나 자격 증명을 저장해야 할 때.
- ✓프레임워크 API를 찾거나, 다른 앱과 공유할 코드를 추가할 때.
스킬 링크
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/workspace-conventions/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 워크스페이스의 모든 앱이 쓸 수 있는 공유 도우미를 추가하고, 올바른 위치에 두어 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 스킬은 에이전트를 올바른 문서와 공유 코드 및 앱 고유 코드, 파일 저장소, 비밀 값에 대한 규칙으로 안내합니다. 그래서 변경이 어디서든 같은 패턴을 따릅니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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
자주 묻는 질문
에이전트가 node_modules를 직접 편집해야 하나요?
아니요. node_modules는 절대 편집하지 말고, 공유 UI를 맞춤 설정하는 지원된 절차를 따르라고 말합니다.
AI 호출은 어디로 가나요?
모든 AI와 LLM 동작은 UI나 서버 코드에서 직접 호출하지 않고, 앱의 에이전트 채팅을 거칩니다.
프레임워크 문서는 어떻게 찾나요?
먼저 프레임워크 검색을 하고, 그다음 범위가 좁은 문서와 소스 리더를 쓰라고 이 스킬은 말합니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 7.6k
- 순위
- #13191
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
design-exploration
7.6k에이전트가 여러 UI 디자인 방향을 나란히 보여 주고, 사용자가 하나를 고르면 그 디자인을 다듬도록 돕습니다.
visual-edit
7.6k에이전트가 실행 중인 로컬 앱을 시각 편집기에 열어, 실제 화면을 함께 검토하고 편집하도록 돕습니다.
turn-into-app
7.6k워크플로, 스프레드시트 또는 프로젝트를 데이터가 채워진 세련된 시각 앱으로 바꾸고, 컨트롤 뒤에서 에이전트가 작업하도록 합니다.
visual-plan
7.6k일반 텍스트 계획을 다이어그램, 파일 맵, 코드 조각, 열린 질문이 담긴 대화형 시각 계획으로 바꿔 줍니다.