본문으로 건너뛰기
Skillpedia
글쓰기7.6k · #13207

content

하는 일

이 스킬은 에이전트가 Content 워크스페이스에서 Markdown 문서를 만들고, 편집하고, 게시하도록 안내합니다. 저장소에 있는 문서도 포함합니다. Markdown으로 문서나 블로그 글을 관리하는 작가와 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓문서 페이지, 블로그 글 또는 리소스 페이지를 쓰거나 업데이트해야 할 때.
  • ✓Markdown 또는 MDX 파일을 프런트매터를 깨뜨리지 않고 편집하고 싶을 때.
  • ✓문서가 저장소에 있고 Content 도구를 통해 편집되어야 할 때.

스킬 링크

https://github.com/BuilderIO/agent-native/blob/main/skills/content/SKILL.md

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

사용 방법

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

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

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

AI에게 요청하는 예시

“우리 문서의 설정 가이드에 API 키 섹션을 추가해 주세요. 기존 형식은 그대로 유지해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 먼저 페이지를 읽은 다음, Content 도구를 통해 정확한 찾기 및 바꾸기 편집이나 전체 다시 쓰기를 합니다. 그 도구를 쓸 수 없으면 설정된 파일을 직접 편집합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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, and write-local-component-file.
  • Use pull-document or get-document before editing a page. Use edit-document for precise find/replace changes and update-document for 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/.mdx files 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 components folder. Components should be PascalCase exports from .tsx files; simple editable input metadata can live next to them as ComponentNameInputs.
  • Use list-local-component-files and write-local-component-file for 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.
자주 묻는 질문

에이전트는 언제 파일을 직접 편집하나요?

Content 도구를 쓸 수 없을 때에만 직접 편집합니다. 그 밖에는 Content 액션을 씁니다.

페이지를 편집하기 전에 에이전트는 무엇을 하나요?

현재 버전에서 작업하도록 먼저 문서를 읽거나 가져옵니다.

Content는 로컬 파일 모드를 지원하나요?

네. 그 모드에서는 저장소 파일이 원본이고, 데이터베이스는 캐시와 검색 도우미일 뿐입니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
7.6k
순위
#13207
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬