content
Fungsinya
Skill ini memandu agent untuk membuat, mengedit, dan menerbitkan dokumen Markdown di workspace Content, termasuk dokumen yang disimpan di repositori. Skill ini untuk penulis dan pengembang yang menyimpan dokumentasi atau postingan blog dalam Markdown.
Kapan dipakai
- ✓Saat Anda membutuhkan halaman dokumentasi, postingan blog, atau halaman sumber ditulis atau diperbarui.
- ✓Ketika Anda ingin mengedit berkas Markdown atau MDX tanpa merusak frontmatter-nya.
- ✓Saat dokumen berada di repositori dan sebaiknya diedit lewat alat Content.
Link skill
https://github.com/BuilderIO/agent-native/blob/main/skills/content/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
“Perbarui panduan pengaturan di dokumentasi kami dengan menambahkan bagian tentang kunci API, dan pertahankan format yang ada.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent membaca halaman terlebih dulu, lalu membuat penggantian teks yang tepat atau penulisan ulang penuh lewat alat Content. Jika alat Content tidak tersedia, agent mengedit berkas yang dikonfigurasi secara langsung.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Content
Use the Content app when a workflow is about authoring, editing, reviewing, or publishing Markdown/MDX documents: docs sites, blogs, resource libraries, marketing pages, internal notes, and local MDX components. Content gives the agent a document tree, a rich editor, normal document actions, and optional local-file source of truth.
Choose The Path
- Use Content actions when the Content MCP/action tools are available:
list-documents,search-documents,get-document,pull-document,create-document,edit-document,update-document,delete-document,share-local-file-document,list-local-component-files, andwrite-local-component-file. - Use
pull-documentorget-documentbefore editing a page. Useedit-documentfor precise find/replace changes andupdate-documentfor full rewrites or new content. - In Local File Mode, Content actions read and write the repo files declared in
agent-native.json; SQL remains cache/history/search glue, not the source of truth for those pages. - If Content tools are not visible and no local Content app or Desktop bridge is
running, treat this skill as repo-editing guidance. Edit configured
.md/.mdxfiles directly, preserve frontmatter and MDX imports, and tell the user the Content action surface was not available.
Action Examples
Prefer JSON input for action calls:
pnpm action list-documents
pnpm action get-document '{"id":"local-file:..."}'
pnpm action edit-document '{"id":"local-file:...","find":"old copy","replace":"new copy"}'
pnpm action update-document '{"id":"local-file:...","content":"# Updated\n\nBody"}'
pnpm action share-local-file-document '{"id":"local-file:..."}'
Run refresh-list after create/update/delete operations when you need the open
Content UI sidebar to repaint immediately.
Local File Mode
Install into an existing repo with:
npx @agent-native/core@latest skills add content --mode local-files --scope project
The installer copies this skill and writes or updates agent-native.json with
Content roots for docs/, blog/, content/, and resources/, plus a
components/ folder for local MDX components. A typical manifest looks like:
{
"version": 1,
"apps": {
"content": {
"mode": "local-files",
"roots": [
{
"name": "Docs",
"path": "docs",
"kind": "docs",
"extensions": [".md", ".mdx"]
},
{
"name": "Blog",
"path": "blog",
"kind": "blog",
"extensions": [".md", ".mdx"]
},
{
"name": "Content",
"path": "content",
"kind": "content",
"extensions": [".md", ".mdx"]
},
{
"name": "Resources",
"path": "resources",
"kind": "resources",
"extensions": [".md", ".mdx"]
}
],
"components": "components",
"extensions": "extensions",
"hide": ["**/_*.md", "**/_*.mdx"]
}
}
}
Local File Mode does not make the host language model local, and the hosted Content app cannot read private repo files by itself. File access requires a local Content app, Agent-Native Desktop, or another trusted local bridge.
MDX And Components
- Preserve frontmatter keys you do not understand. Preserve MDX imports, exports, JSX, and expression props unless the user explicitly asks to change them.
- Use local components from the configured
componentsfolder. Components should be PascalCase exports from.tsxfiles; simple editable input metadata can live next to them asComponentNameInputs. - Use
list-local-component-filesandwrite-local-component-filefor component source changes when Content tools are available. Otherwise edit the component files directly like normal repo source.
Boundaries
- Moving, renaming, and reordering local-file pages are not first-class Content UI operations yet. Use normal file operations when the user asks for those, then let Content rediscover the file tree.
- Do not push/pull Notion, Builder.io, or other provider-backed content unless the user explicitly asks for provider sync.
- Do not paste secrets, private provider data, or credential-looking values into docs, generated pages, frontmatter, examples, or local components.
Pertanyaan umum
Kapan agent sebaiknya mengedit berkas secara langsung?
Hanya ketika alat Content tidak tersedia. Jika tersedia, agent memakai aksi Content.
Apa yang dilakukan agent sebelum mengedit halaman?
Agent membaca atau menarik dokumen terlebih dulu, supaya bekerja dari versi yang terkini.
Apakah Content mendukung mode berkas lokal?
Ya. Dalam mode itu berkas repositori menjadi sumber kebenaran, dan basis data hanya menjadi cache serta pembantu pencarian.
Detail
Deskripsi asli dari pembuat
Use Content for repo-backed Markdown/MDX docs, blogs, resources, rich document editing, local components, shareable copies, and Content local-file workspaces. Prefer Content actions over raw filesystem writes when available.
repo: BuilderIO/agent-native
Popularitas
- Bintang GitHub
- 7.6k
- Peringkat
- #13207
- 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
obsidian-vault-maintainer
394kMembantu agent Anda merapikan vault memori yang ramah Obsidian, dengan tautan wiki berfungsi, properti konsisten, dan bagian otomatis yang aman.
wiki-maintainer
394kMembantu agent Anda memelihara wiki memori OpenClaw dengan halaman yang dapat diulang, blok terkelola yang aman, dan pemeriksaan kontradiksi atau celah.
obsidian
394kMemungkinkan agent Anda membaca, mencari, membuat, dan mengedit catatan, tugas, tautan, dan properti Obsidian memakai baris perintah resmi Obsidian.