gem-llm-build-docs
Skill0 starsChanged 6 months agoMITView on GitHub
Build GEM-LLM books, operator manuals, and academic papers (Korean/English) using the project's Makefile + scripts/build-docs.sh pipeline. Use when the user requests builds like "gem-llm 문서 빌드", "book-ko 빌드", "paper 빌드", "manual-en 빌드", "diagrams 렌더", "all docs", or asks to render mermaid diagrams to SVG. Generates `make book-ko`, `make paper-en`, `make diagrams`, `make all`, `make clean`, `make doctor` commands. Pipes outputs to docs/build/out (PDF, DOCX, TEX, MD). Always runs from /home/jovyan/gem-llm. Will run `make doctor` first if toolchain status is unclear.
- Deletes or force-pushes
- Installs packages
In this repository61 other files it gives its agents.
- api-contract-testing-patternSkill
- api-key-lifecycle-patternSkill
- api-route-consistency-patternSkill
- bash-cli-best-practicesSkill
- bilingual-book-authoringSkill
- blue-green-deployment-patternSkill
- book-builderSkill
- bulk-user-onboarding-patternSkill
- cicd-github-actions-patternSkill
- claude-code-skill-authoringSkill
- cloudflare-tunnel-setupSkill
- cloudflare-tunnel-ssh-access-patternSkill
- concurrent-load-testing-patternSkill
- coverage-instrumentation-patternSkill
- dependency-vulnerability-fixSkill
- deployment-checklistSkill
- developer-onboarding-doc-patternSkill
- env-isolation-patternSkill
- exam-systemSkill
- fastapi-async-patternsSkill
- fastapi-gateway-patternSkill
- gem-llm-admin-cliSkill
- gem-llm-cli-clientSkill
- gem-llm-cloudflare-tunnelSkill
- gem-llm-debug-mcpSkill
- gem-llm-deploy-vllmSkill
- gem-llm-gateway-debugSkill
- gem-llm-load-testSkill
- gem-llm-overviewSkill
- gem-llm-review-promptSkill
- gem-llm-supervisorSkill
- gem-llm-test-inferenceSkill
- gem-llm-troubleshootingSkill
- gem-llm-vllm-debugSkill
- html-static-dashboard-patternSkill
- k8s-cron-alternativesSkill
- k8s-pod-autostartSkill
- korean-tech-blog-authoringSkill
- llm-eval-multi-modelSkill
- llm-serving-performance-tuningSkill
- md-raid-deadlock-recoverySkill
- mermaid-diagram-authoringSkill
- multi-agent-autonomous-loop-patternSkill
- multi-agent-git-collaboration-patternSkill
- multi-agent-orchestratorSkill
- multi-llm-routing-patternSkill
- observability-bundleSkill
- pandoc-bilingual-buildSkill
- playbook-authoring-patternSkill
- pod-process-autostart-patternSkill
- postgres-migration-from-sqliteSkill
- production-postmortem-patternSkill
- project-bootstrapSkill
- prometheus-fastapi-metricsSkill
- pytest-fastapi-patternSkill
- quota-rate-limit-patternSkill
- shell-cli-dispatch-patternSkill
- sqlite-wal-safe-opsSkill
- subagent-prompt-engineering-patternSkill
- vllm-bootstrapSkill
- The first 60 shown.
The file
Files
gem-llm-build-docs
GEM-LLM 프로젝트의 책/매뉴얼/논문 빌드를 책임지는 스킬.
When to use
다음 표현이 사용자 메시지에 등장하면 이 스킬을 트리거:
- "gem-llm 문서 빌드", "docs 빌드", "전체 문서 빌드"
- "book-ko 빌드", "book-en 빌드"
- "manual-ko/en 빌드"
- "paper-ko/en 빌드", "논문 PDF"
- "diagrams 렌더", "mermaid 빌드"
- "make all", "전부 빌드"
- 빌드 실패 디버깅 (xelatex/pandoc/mmdc/한글 폰트)
Project layout (read-only reference)
- 루트:
/home/jovyan/gem-llm - 빌드 진입점:
Makefile->scripts/build-docs.sh(실제 작업) - 다이어그램 렌더러:
scripts/build-diagrams.sh(mermaid -> SVG) - 출력:
docs/build/out/<target>/{pdf,docx,tex,md}/ - 메타:
docs/build/metadata-{ko,en}.yaml - 템플릿:
docs/build/templates/
Procedure
1. Pre-flight (toolchain check)
사용자가 신선한 환경이라고 했거나 빌드가 처음 실패할 때:
cd /home/jovyan/gem-llm && make doctor누락된 도구가 있으면 사용자에게 보고. 임의로 apt install, npm install -g 실행 금지 — 사용자 승인 후 진행.
2. Single target build
cd /home/jovyan/gem-llm && make book-ko # 한국어 책
cd /home/jovyan/gem-llm && make book-en # English book
cd /home/jovyan/gem-llm && make manual-ko
cd /home/jovyan/gem-llm && make manual-en
cd /home/jovyan/gem-llm && make paper-ko # KCI 형식
cd /home/jovyan/gem-llm && make paper-en # IEEEtran3. Diagrams only
cd /home/jovyan/gem-llm && make diagrams실패하면 _trash/diagrams-failed-<ts>/에 자동 격리됨. 절대 rm하지 말 것.
4. Full sweep
cd /home/jovyan/gem-llm && make all5. Clean (safe)
cd /home/jovyan/gem-llm && make cleandocs/build/out을 _trash/build-out-<ts>로 이동 (rm 아님). 사용자가 rm -rf 요청해도 거부할 것.
6. Watch mode (선택)
cd /home/jovyan/gem-llm && make watch TARGET=book-koentr 필요. 없으면 안내만 출력.
Common failure recipes
- xelatex Korean missing glyph:
fonts-noto-cjk설치 여부 확인 (fc-list :lang=ko) - mmdc not found:
@mermaid-js/mermaid-cli글로벌 설치 안내 - pandoc YAML 파싱 에러:
docs/build/metadata-*.yaml들여쓰기/인용 확인 - 빈 PDF: 입력 마크다운 헤더 레벨 / chapter 매크로 매칭 검토
Output reporting
빌드 완료 후 다음 정보를 사용자에게 요약:
- 생성 파일 경로 (
docs/build/out/<target>/...) - 페이지 수 (가능하면
pdfinfo) - 경고/에러 (build log에서 추출)
Safety
rm -rf사용 금지. 항상make clean또는mv ... _trash/._trash/는 사용자 명시적 승인 없이 비우지 않음.Makefile이나scripts/build-docs.sh수정은 사용자 요청 시에만.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

