본문으로 건너뛰기
Skillpedia
일반 코딩7.6k · #13191

workspace-conventions

하는 일

이 스킬은 관련된 앱 묶음을 일관되게 유지하는 규칙을 정리합니다. 공유 코드, 파일 저장소, 자격 증명, 프레임워크 조회를 다룹니다. 여러 워크스페이스 앱을 함께 작업하는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓같은 워크스페이스에 있는 앱을 둘 이상 다룰 때.
  • ✓워크스페이스 앱에 파일이나 자격 증명을 저장해야 할 때.
  • ✓프레임워크 API를 찾거나, 다른 앱과 공유할 코드를 추가할 때.

스킬 링크

https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/workspace-conventions/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/workspace-conventions/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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. Use sendToAgentChat() for local app-agent work, including hidden context and submit: false prefill/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 use useAgentChatContext, setAgentChatContextItem, listAgentChatContext, removeAgentChatContextItem, and clearAgentChatContext when UI needs two-way sync with staged context chips. Read .agents/skills/delegate-to-agent/SKILL.md before building agent-driven UI or "AI" features.
  • Put shared code in packages/shared only 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; use apps/<app>/.env only for app-specific overrides. For public app behavior, prefer the default in agent-native.config.ts and use the deterministic AGENT_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 in packages/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_scratch resources 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.md or instructions/<slug>.md for always-on guardrails, skills/<slug>/SKILL.md for workspace skills, context/<slug>.md for personas/positioning/messaging/company facts/brand guidelines, and agents/<slug>.md for 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.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬