Skip to content

web-abin/OpenGeno / skills/geno-init

geno-init

Unverified

Initialize an OpenGeno feature tree for a project. Asks the user to pick a documentation language (English or Chinese, default English), a drift mode, and a generation mode (stub-only by default, or one-shot full docs that fills every L3 section now). Scans the codebase, proposes a module breakdown, generates the L1 root index, L2 module indexes and L3 feature docs in the chosen language, writes .feat-tree.json, and injects the OpenGeno workflow rules into CLAUDE.md (and AGENTS.md if present). Use when starting OpenGeno on a new project. Run once per project.

FileKindSize
SKILL.mdskill md11.6 KB
reference.mdmarkdown10.1 KB
scripts/drift-check.shexecutablescript2.8 KB
scripts/post-edit-warn.shexecutablescript1.9 KB
scripts/stop-check.shexecutablescript2.8 KB
templates/claude-md-injection.mdmarkdown3.7 KB
templates/claude-md-injection.zh.mdmarkdown3.6 KB
templates/feat-tree.jsonconfig93 B
templates/feature-logic.mdmarkdown1.2 KB
templates/feature-logic.zh.mdmarkdown1.1 KB
templates/feature-ui.mdmarkdown2.1 KB
templates/feature-ui.zh.mdmarkdown2.0 KB
templates/module-index.mdmarkdown1.1 KB
templates/module-index.zh.mdmarkdown1011 B
templates/root-index.mdmarkdown1.4 KB
templates/root-index.zh.mdmarkdown1.3 KB

templates/root-index.zh.md

View on GitHub
---
type: og-root
schema: 1
last_synced_commit: ""
---

# {{PROJECT_NAME}} 功能树

> 由 [OpenGeno](https://github.com/web-abin/OpenGeno) 维护。
> AI 在改动用户可见行为之前必须先读这份索引;
> 改动行为之后必须更新对应的功能文档。

## 模块

<!--
  每个一级模块占一行,描述限一句话。
  新增模块时,同步从 templates/module-index.zh.md 创建 feat-tree/<module>/index.md
-->

| 模块 | 说明 | 路径 |
|------|------|------|
| {{MODULE_NAME}} | {{ONE_LINE_DESCRIPTION}} | [{{MODULE_SLUG}}/]({{MODULE_SLUG}}/index.md) |

## 不在文档树范围内的内容

下列内容**不**在文档树中记录,因为它们是横切基础设施而不是用户可见的功能。
它们应该写在代码注释、ADR 或 CLAUDE.md 里,不进文档树:

- 国际化 / 翻译
- 数据埋点、用户行为分析、A/B 实验
- 构建工具、CI/CD、发版脚本
- 异常上报(Sentry、Crashlytics 等)
- 日志
- 纯工具方法、纯样式 widget
- 主题原语(颜色、字体 token)

## 约定

- 模块和功能 slug 一律用 `kebab-case`。
- 一个流程的多个子步骤放进同一个子目录下,子目录有自己的 `index.md`。
- 跨功能依赖在每份 L3 文档的「跨功能链路」一节中用相对路径声明。
rea-changelog-updatemorluto/reaPrepare or rewrite REA release changelogs and GitHub release notes from pinned Git history, with verified contributor thanks and Release Please synchronization.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
academy-guideanthropics/skillsStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials, and use cases from Claude Academy (academy.claude.com), Anthropic's learning hub. Trigger on: "how do I", "how can I", "getting started with", "what can Claude do", "teach me", "learn to use"; questions about artifacts, projects, skills, plugins, connectors, MCP; requests about rolling Claude out to a team, class, or organization; and any ask for training materials, onboarding content, or learning resources. Use it when the user is learning how to use a feature or product — not when they are mid-task and just want the task done. This skill composes with other skills: after consulting product documentation to answer how a Claude feature works, also check here for a matching course or tutorial — a docs-grounded answer and an Academy recommendation belong together. Only recommend on a strong match; never invent Academy content.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
claude-apianthropics/skillsReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any form (Claude, Anthropic, Fable, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing/model choice/limits/caching) — never answer from memory; OR the task is LLM-shaped with provider unstated (agent/MCP/tool-definition/multi-agent/RAG/LLM-judge/computer-use; generate/summarize/extract/classify/rewrite/converse over NL; debugging refusals/cutoffs/streaming/tool-calls/tokens). SKIP only when another provider is being worked on (overrides all triggers): OpenAI/GPT/Gemini/Llama/Mistral/Cohere/Ollama named in the query; OR `grep -rE 'openai|langchain_openai|google.generativeai|genai|mistralai|cohere|ollama'` over the project hits (run this grep FIRST if no provider named — don't Read the file).Stars: 198kUpdated Claude CodeCodexUnverifiedInstall
doc-coauthoringanthropics/skillsGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.Stars: 198kUpdated Claude CodeCodexVerifiedInstall