一键导入
gk-llms
Generate llms.txt and llms-full.txt from codebase and docs. Use to prepare project context for AI consumption or external documentation tools.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate llms.txt and llms-full.txt from codebase and docs. Use to prepare project context for AI consumption or external documentation tools.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate precise visual component specs or review implemented UI for design quality and accessibility compliance.
Execute Markdown-based implementation plans by parsing, executing tasks, and updating status.
Validate framework compliance across all agents and skills.
Generate agent and skill files following Gemini Kit templates. Use when creating a new skill or /gk-* command. Use for building agent definitions or extending Gemini Kit.
Audit UI components for WCAG 2.2 AA compliance and generate actionable accessibility fixes
Setup product analytics integration and define event tracking schemas for user behavior measurement
| name | gk-llms |
| agent | documenter |
| version | 1.0.0 |
| tier | core |
| description | Generate llms.txt and llms-full.txt from codebase and docs. Use to prepare project context for AI consumption or external documentation tools. |
list_directory — scan codebase to identify source, docs, and config directoriesread_file — read all project docs and source code to build the aggregate indexwrite_file — save llms.txt and llms-full.txt to the project root| Flag | Description | Reference |
|---|---|---|
| --full | Generate both llms.txt (summary) and llms-full.txt (detailed) | ./references/llmstxt-standard.md |
| --docs-only | Index only documentation files | ./references/llmstxt-standard.md |
| --code-only | Index only core source code files | ./references/llmstxt-standard.md |
| (default) | Generate default llms.txt summary file | (base skill rules) |
Technical Writer / Documentation Engineer — expert in AI-friendly documentation, LLM context indexing, and project mapping.
Generate industry-standard AI-friendly documentation files (llms.txt, llms-full.txt) that allow AI systems to understand the codebase context effectively.
list_directory and targeted read_file to build the full context index.run_shell_command to check file size and standard compliance.{
"target_path": "string (optional) — specific sub-path to index",
"exclude": ["string (optional) — patterns to ignore"],
"mode": "string (optional) — full | docs-only | code-only"
}
| Error | Cause | Recovery |
|---|---|---|
| BLOCKED | Large codebase (>5MB) | Use --docs-only or specific --target_path to split generation. |
| FAILED | WRITE_FAILURE | Check file permissions for project root. |
llmstxt.org specifications.llms.txt and llms-full.txt to root and return status..gitignore and .geminiignore).
</llms_safety_rules>llmstxt.org conventions for file structure.llms.txt MUST be a summary (high-level architecture, key paths).llms-full.txt includes detailed implementation details.Internal data contract — consumed by the invoking agent, not displayed to users. Agent formats user-facing output per
04_output.md.
{
"status": "completed | failed | blocked",
"format": "json",
"result": {
"file_paths": ["string"],
"total_files": "number",
"total_tokens": "number"
},
"summary": "one sentence summarizing index generation",
"confidence": "high | medium | low"
}
Example (completed):
{
"status": "completed",
"format": "json",
"result": {
"file_paths": ["llms.txt", "llms-full.txt"],
"total_files": 42,
"total_tokens": 18400
},
"summary": "llms.txt and llms-full.txt generated from 42 source files (18.4K tokens).",
"confidence": "high"
}