一键导入
rulesgen-dsl-authoring
Use for authoring, reviewing, or correcting natural-language → Python generation DSL rules for Rulesgen.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use for authoring, reviewing, or correcting natural-language → Python generation DSL rules for Rulesgen.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | rulesgen-dsl-authoring |
| description | Use for authoring, reviewing, or correcting natural-language → Python generation DSL rules for Rulesgen. |
requirements/NL-to-Python-Generation-DSL.md — formal grammar and accepted forms.requirements/NL-to-Python-Generation-Overview.md — intent, motivating examples, expected pipeline behavior.src/rulesgen/compiler/parser.py and src/rulesgen/compiler/validator.py — actual accepted forms (treat as authoritative when docs disagree, and file a docs fix).samples/ — committed example rules.rulesgen.library (or uv run pytest-based fixtures) before sending to the LLM gateway.src/rulesgen/infra/prompt_templates.py) handles the rule type.tests/unit/test_compiler.py (positive + negative) for any new DSL construct.RuntimeSpec shape matches the documented invariants.Use when adding, renaming, reordering, or linking Rulesgen public docs that flow to the tdm-docs Docusaurus site and tdspora.ai. Covers the import pipeline, sidebar/.order mechanics, the "link locally until published" rule, and the lychee link-check and docs-contract validation battery.
Use for authoring or updating Rulesgen documentation — public docs (`docs/public/`), repo-root design docs, contributor docs, sample READMEs, and the glossary. Produces testable, glossary-aligned, link-integral docs.
Use for testing Rulesgen documentation — executes Markdown code fences via Sybil, validates link integrity, lints glossary usage, and cross-checks docs against Settings, schemas, and routes.
Use for implementing production-grade Rulesgen features or non-trivial code changes.
Use for Pydantic v2 validation errors, DSL parser/validator rejections, and API request validation issues in Rulesgen.
Use for FastAPI route, middleware, lifespan, dependency injection, or Problem Details response issues in Rulesgen.