workspace-conventions
Fungsinya
Skill ini mencantumkan konvensi yang menjaga sekelompok aplikasi terkait tetap konsisten, mencakup kode bersama, penyimpanan berkas, kredensial, dan pencarian framework. Skill ini untuk pengembang yang bekerja di beberapa aplikasi workspace sekaligus.
Kapan dipakai
- ✓Saat Anda bekerja di lebih dari satu aplikasi dalam workspace yang sama.
- ✓Ketika Anda perlu menyimpan berkas atau kredensial di aplikasi workspace.
- ✓Saat Anda mencari API framework atau menambahkan kode yang akan dipakai bersama aplikasi lain.
Link skill
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/workspace-conventions/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Tambahkan helper bersama yang bisa dipakai semua aplikasi di workspace ini, dan simpan di tempat yang tepat.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill ini mengarahkan agent ke dokumentasi yang tepat dan ke aturan untuk kode bersama versus kode milik aplikasi, penyimpanan berkas, dan rahasia, sehingga perubahan mengikuti pola yang sama di mana pun.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Bolehkah agent mengedit node_modules secara langsung?
Tidak. Skill ini menyatakan jangan pernah mengedit node_modules dan ikuti langkah yang didukung untuk menyesuaikan UI bersama.
Ke mana panggilan AI dikirim?
Semua perilaku AI dan LLM melewati obrolan agent aplikasi, bukan langsung dari kode UI atau server.
Bagaimana dokumentasi framework ditemukan?
Skill ini menyatakan untuk memulai dengan pencarian framework, lalu memakai pembaca dokumen dan sumber yang lebih spesifik.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 7.6k
- Peringkat
- #13191
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- …
Skill lain dari repositori ini
design-exploration
7.6kMembantu agent Anda mengeksplorasi beberapa arah desain UI secara berdampingan, membiarkan Anda memilih satu, lalu menyempurnakan desain yang dipilih.
visual-edit
7.6kMembantu agent Anda membuka aplikasi lokal yang sedang berjalan di editor visual agar Anda dapat meninjau dan mengedit layar aslinya bersama-sama.
turn-into-app
7.6kMengubah alur kerja, spreadsheet, atau proyek menjadi aplikasi visual yang rapi, dengan layar yang terisi dan agent yang bekerja di balik kontrol.
visual-plan
7.6kMengubah rencana teks biasa menjadi rencana visual interaktif dengan diagram, peta file, cuplikan kode, dan pertanyaan terbuka.
Skill serupa
diffs
394kMemungkinkan agent Anda menghasilkan diff perubahan yang nyata dan dapat dibagikan sebagai tautan viewer atau file gambar, bukan ringkasan yang ditulis manual.
coding-agent
394kMembantu agent Anda menyerahkan pekerjaan pemrograman besar ke Codex, Claude Code, atau OpenCode di latar belakang, lalu memeriksa kemajuannya.
gh-issues
394kMembantu agent Anda menemukan issue GitHub, memilih yang dikerjakan, dan membuka pull request perbaikan, termasuk tindak lanjut komentar tinjauan.