{"id":48147132,"url":"https://github.com/wxkingstar/wikijs","last_synced_at":"2026-04-04T17:01:24.167Z","repository":{"id":332258564,"uuid":"1133221852","full_name":"wxkingstar/wikijs","owner":"wxkingstar","description":"Claude Code Skill for managing Wiki.js documentation center via GraphQL API","archived":false,"fork":false,"pushed_at":"2026-01-13T03:52:17.000Z","size":42,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-13T06:50:36.781Z","etag":null,"topics":["ai-assistant","claude-code","claude-code-skills","docs-as-code","documentation","python","wiki","wikijs"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wxkingstar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-13T03:44:13.000Z","updated_at":"2026-01-13T04:56:34.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/wxkingstar/wikijs","commit_stats":null,"previous_names":["wxkingstar/wikijs"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/wxkingstar/wikijs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wxkingstar%2Fwikijs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wxkingstar%2Fwikijs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wxkingstar%2Fwikijs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wxkingstar%2Fwikijs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wxkingstar","download_url":"https://codeload.github.com/wxkingstar/wikijs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wxkingstar%2Fwikijs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31407385,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-assistant","claude-code","claude-code-skills","docs-as-code","documentation","python","wiki","wikijs"],"created_at":"2026-04-04T17:01:20.579Z","updated_at":"2026-04-04T17:01:24.114Z","avatar_url":"https://github.com/wxkingstar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wiki.js 文档中心管理助手\n\nClaude Code Skill，通过 GraphQL API 管理公司 AI 应用文档中心。\n\n## 功能\n\n- 📄 创建/更新/删除 Wiki.js 页面\n- 🔍 搜索和读取文档内容\n- 🔄 同步代码库文档（README、CHANGELOG 等）到 Wiki.js\n- 🏷️ 管理文档标签\n\n## 安装\n\n1. 确保 skill 目录位于 `~/.claude/skills/wikijs/`\n\n2. 安装依赖：\n```bash\npip install requests python-dotenv\n```\n\n3. 配置环境变量：\n```bash\ncp .env.example .env\n```\n\n4. 编辑 `.env` 文件，填入 Wiki.js 配置：\n```\nWIKIJS_URL=http://localhost:3000\nWIKIJS_TOKEN=your_api_token_here\n```\n\n\u003e Token 获取方式：Wiki.js 管理后台 → API Access → New API Key\n\n## 使用方式\n\n### 作为 Claude Code Skill\n\n在 Claude Code 中使用 `/wikijs` 命令触发此技能，或在对话中提及相关关键词：\n- wiki、文档中心、项目文档、wikijs、文档同步\n\n### 命令行工具\n\n```bash\n# 列出项目文档\npython scripts/wikijs_api.py list --project wuji-stat\n\n# 获取页面内容\npython scripts/wikijs_api.py get --id 123\n\n# 通过路径获取页面\npython scripts/wikijs_api.py get-by-path --path projects/wuji-stat/index\n\n# 搜索文档\npython scripts/wikijs_api.py search --query \"API\"\n\n# 创建文档\npython scripts/wikijs_api.py create \\\n  --project wuji-stat \\\n  --path getting-started \\\n  --title \"快速开始\" \\\n  --file content.md\n\n# 更新文档\npython scripts/wikijs_api.py update --id 123 --file new_content.md\n\n# 同步本地文件到 Wiki\npython scripts/wikijs_api.py sync-file \\\n  --project wuji-stat \\\n  --source README.md \\\n  --target index\n\n# 删除文档\npython scripts/wikijs_api.py delete --id 123\n\n# 列出所有标签\npython scripts/wikijs_api.py tags\n```\n\n## 文档结构规范\n\n项目文档统一存放在 `/projects/{project-name}/` 路径下：\n\n```\n/projects/{project-name}/\n├── index                 # 项目首页（必须）\n├── getting-started       # 快速开始\n├── architecture          # 架构说明\n├── api/\n│   ├── index             # API 概览\n│   └── {endpoint}        # 各端点文档\n├── guides/\n│   └── {guide-name}      # 使用指南\n└── changelog             # 更新日志\n```\n\n## 参考文档\n\n- [SKILL.md](SKILL.md) - 技能定义和 GraphQL API 快速参考\n- [references/api.md](references/api.md) - GraphQL API 完整参考\n- [Wiki.js 官方文档](https://docs.requarks.io/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwxkingstar%2Fwikijs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwxkingstar%2Fwikijs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwxkingstar%2Fwikijs/lists"}