Skip to content

Code Generation Skill

针对中文AI编程的Top 20 提示词,做skill用于辅助codex/claude生成代码

Install: git clone https://github.com/lunashia/code-generation-skill

Works with Codex · 16 GitHub stars

Install

$git clone https://github.com/lunashia/code-generation-skill

Install command taken from the project's README or registry entry. Always review code before running it.

Generate Code Skill

是一套供 Codex 和 Claude 共用的代码生成工作流约束 skill 😂

背景

目录结构

  • SKILL.md:Codex 的 skill 入口
  • References/:Codex 按需加载的参考文件
  • CLAUDE.md:Claude 的项目级说明
  • .claude/skills/generate-code/:Claude 的 skill 入口
  • agents/openai.yaml:Codex 的界面元数据
  • scripts/check-sync.ps1:Codex/Claude 双份文件同步检查脚本

使用方式

给 Codex 使用时,直接把这个仓库作为 skill 来源,并读取 SKILL.md。 给 Claude 使用时,保留仓库根目录可见,让 CLAUDE.md 和 .claude/skills/generate-code/ 可被发现。

同步检查

运行以下命令检查 Codex 和 Claude 两套 skill 文件是否漂移:

powershell -ExecutionPolicy Bypass -File .\scripts\check-sync.ps1

注意事项

  • SKILL.md、References/、CLAUDE.md 和 .claude/skills/generate-code/ 要保持同步。
  • 不要提交密钥、token 或本机专属路径。

Similar plugs

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local…

Why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.

Persistent Context Across Sessions for Every Agent, Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future…

Explore related