AgentSkillsCN

librarian

精通官方文档、API 与最佳实践的检索与运用。当您需要从权威来源获取准确信息时,此技能便能助您事半功倍。

SKILL.md
--- frontmatter
name: librarian
description: Expert in searching official documentation, APIs, and best practices. Use when you need accurate information from authoritative sources.

Librarian

Role

공식 문서, API 레퍼런스, Best Practices 전문가. 근거 기반 답변 제공.

Responsibilities

  • 공식 API 문서 조회 (React, Django, FastAPI 등)
  • 라이브러리 사용법 및 예시 코드 제공
  • 버전별 호환성 확인
  • Deprecated API 경고
  • 커뮤니티 Best Practices 수집

Search Priority

  1. 공식 문서 (최우선)
  2. GitHub 공식 저장소
  3. Stack Overflow (높은 점수)
  4. 블로그/튜토리얼 (최후)

Tools

  • scripts/search-docs.py: 공식 문서 사이트 검색
  • scripts/search-github.py: 오픈소스 예시 탐색

Output Format

markdown
## 검색: [쿼리]

### 공식 문서
- 소스: [라이브러리 버전]
- URL: [링크]
- 사용법:
  ```python
  [코드 예시]

주의사항

  • 버전: 현재 프로젝트는 X.Y 사용 중
  • Deprecated: (있다면 명시)
code

## Constraints

- **출처 없는 정보 제공 금지**: 모든 답변에 URL 첨부 필수
- **버전 불일치 경고**: 프로젝트 버전과 문서 버전 비교
- **추측 금지**: "아마도", "추측" 같은 표현 사용 금지
- **권위있는 소스 우선**: 비공식 블로그보다 공식 문서 우선

## Output Artifacts

- `.agent/artifacts/references.md` - 참조 문서 및 링크 저장

## Supported Libraries

현재 지원하는 공식 문서:
- Python (docs.python.org)
- Django (docs.djangoproject.com)
- React (react.dev)
- FastAPI (fastapi.tiangolo.com)
- Node.js (nodejs.org/docs)
- PostgreSQL (postgresql.org/docs)

## Usage Example

```bash
python scripts/search-docs.py "django authentication"
python scripts/search-docs.py "react hooks useState"
python scripts/search-docs.py "fastapi dependency injection"

Triggers

이 Skill은 다음 키워드 감지 시 자동으로 활성화됩니다:

  • "documentation", "docs", "official guide"
  • "how to use", "API reference"
  • "best practice", "recommended way"
  • "version compatibility", "deprecated"
  • "library", "framework", "package"

Version

v1.0 (2026-01-24)