create_dev_doc
새 dev_doc / 메모리 등록.
시그니처
json
{
"name": "create_dev_doc",
"arguments": {
"title": "launchcrew-claude.md",
"content": "<file content>",
"category": "claude",
"local_path": "/Users/seunghan/launchcrew/CLAUDE.md"
}
}파라미터
| 파라미터 | 타입 | 필수 | 설명 |
|---|---|---|---|
title | string | ✅ | 파일명 (.md 확장자 포함) |
content | string | ✅ | 마크다운 / json / yaml 본문 |
category | string | 서브카테고리 (claude, cursor, windsurf, copilot, docs). 기본 docs | |
content_type | string | markdown / json / yaml / text (title 확장자에서 자동 감지) | |
local_path | string | 로컬 절대경로 (pull_dev_docs 복원 대상) |
카테고리 이름
서버 필드는 category 입니다 (subcategory 아님). 카테고리 값 자체는 "subcategory" 라고 부르기도 합니다 — 헷갈리지 마세요. 도구 인자는 항상 category.
응답
json
{
"content": [
{
"type": "text",
"text": "✅ Saved: launchcrew-claude.md → dev/claude/launchcrew-claude.md"
}
]
}local_path 중요성
local_path 없으면 pull_dev_docs 가 파일을 만들 수 없음. 권장: 절대 경로.
~ 으로 시작하는 경로는 자동으로 canonicalize 됨 (서버 저장 시 $HOME → ~).
에러
| 코드 | 메시지 |
|---|---|
| -32602 | title is required |
| -32602 | content is required |
| -32603 | Title already exists in this category → update_dev_doc 사용 |
Claude 자연어
~/launchcrew/CLAUDE.md 를 ainote 에 등록해줘 — title launchcrew-claude.md, category claude