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

agent-native-docs

하는 일

이 스킬은 앱과 함께 설치된 프레임워크 문서와 소스 코드를 찾는 위치를 에이전트에게 알려 줍니다. 답변이 앱 고유의 버전과 맞도록 합니다. Agent-Native로 개발하는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓Agent-Native 프레임워크를 사용하는 기능을 구현하려 할 때.
  • ✓프레임워크 API가 앱 안에서 어떻게 작동하는지 질문이 있을 때.
  • ✓앱이 실제로 쓰는 버전에 맞는 예제를 원할 때.

스킬 링크

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

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

사용 방법

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

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

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

AI에게 요청하는 예시

“내 프로젝트에 설치된 Agent-Native 버전에 맞춰 앱에서 새 액션을 정의하려면 어떻게 해야 하나요?”

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

작동 방식

에이전트는 설치된 프레임워크에 포함된 문서와 소스를 검색하고, 코드를 쓰기 전에 맞는 페이지나 파일을 읽습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Agent-Native Docs Lookup

Rule

Before implementing or explaining non-trivial Agent-Native behavior, read the version-matched docs installed with @agent-native/core. When examples, imports, or implementation details matter, inspect the packaged source corpus too.

Why

Generated apps and workspaces may be on a different framework version than the public docs or model memory. The installed package is the source that matches the app in front of you. A version-matched @agent-native/core-corpus package provides first-party template source when an app needs those examples, without adding the corpus to every Core installation.

How

From a generated app directory:

pnpm action framework-search --pattern "defineAction"
pnpm action framework-search \
  --pattern "defineAction" \
  --scope source \
  --path "templates/*/actions/*.ts"
pnpm action framework-search --pattern "Agent(?:Panel|Sidebar)" --mode regex --scope source

Use framework-search first when a question may cross the docs and source boundary. It searches version-matched framework docs, runtime-visible skills, readable Core or Toolkit package source, and first-party template source when the optional corpus is installed, in one bounded read-only call. Use scope: docs or scope: source to narrow it, then use the focused readers for the page or file you need.

The headless pnpm agent loop and built-in app agents expose read-only framework-search, docs-search, and source-search tools when Core's docs scripts are bundled. The default substring mode is safest for ordinary questions; use glob for wildcard paths, sql-like for % and _ wildcards, and regex for precise structural matches. Results are bounded, so refine the pattern or path instead of treating a truncated result as exhaustive.

From a generated app directory, the lower-level readers remain available:

pnpm action docs-search --query "actions"
pnpm action docs-search --slug actions-defining
pnpm action docs-search --list
pnpm action source-search --query "defineAction"
pnpm action source-search --path templates/plan/AGENTS.md
pnpm action source-search --path templates/chat/actions/hello.ts
pnpm action source-search --list

If a search reports that the optional first-party template corpus is not installed, add it at the same version as Core:

core_version=$(node -p 'require("./node_modules/@agent-native/core/package.json").version')
pnpm add -D "@agent-native/core-corpus@$core_version"

Use the unified tool for discovery, then the focused tools for full page or file reads.

If the action runner is unavailable, search the package directly:

rg -n "actions|automations|a2a|sharing" node_modules/@agent-native/core/docs
rg -n "defineAction|useActionQuery" node_modules/@agent-native/core-corpus/corpus

Then read node_modules/@agent-native/core/docs/AGENTS.md or the matching file under node_modules/@agent-native/core/docs/content/. For template examples, read files under node_modules/@agent-native/core-corpus/corpus/templates/. The corpus carries templates only; for Core's own implementation read node_modules/@agent-native/core/dist/ (compiled sources plus .d.ts).

Toolkit ships readable TypeScript under node_modules/@agent-native/toolkit/src/. Read customizing-agent-native before taking ownership of a shared component: inspect package source as a read-only reference, then configure, compose, or eject the smallest supported unit into app-owned source. Preserve public actions, application state, auth, and agent-chat runtime contracts. Never edit node_modules or deep-import its private source. Manual copying is only the fallback described by an unknown third-party package's add-style blueprint.

Reuse Proven Patterns (rg + cp)

Version-matched installed source outranks web docs or memory: it is the exact code shipping with this app. node_modules/@agent-native/core-corpus/corpus/templates/ holds source for every first-party template, not just the one this app started from, so a pattern from the mail template is fair game for a tasks app. Grep across it, then copy a whole file as a starting point instead of writing the pattern from scratch:

# Find how other templates solved a similar problem
rg -n "drag.*drop|reorder" node_modules/@agent-native/core-corpus/corpus/templates

# Grab a proven action file as a starting point, then adapt names/schema
cp node_modules/@agent-native/core-corpus/corpus/templates/chat
자주 묻는 질문

공개 문서를 쓰지 않는 이유는 무엇인가요?

앱이 다른 버전을 쓸 수 있으므로, 설치된 파일이 가장 정확하게 맞습니다.

인터넷을 검색하나요?

아니요. 이 스킬은 프로젝트에 이미 설치된 패키지를 중심으로 만들어졌습니다.

framework-search는 무엇인가요?

문서, 스킬, 패키지 소스를 한 번에 검색하는 읽기 전용 검색입니다.

상세 정보

작성자의 원본 설명

How to find version-matched Agent-Native framework docs and source bundled in node_modules. Use before implementing or answering questions about @agent-native/core APIs, generated apps, workspaces, templates, or advanced features.

repo: BuilderIO/agent-native

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬