create-command

GitHub

用于根据用户需求快速生成符合规范的Codex技能文件。通过解析名称和描述,自动分析技能类型并创建结构化的SKILL.md,支持添加新工作流或扩展技能集。

.agents/skills/create-command/SKILL.md zhukunpenglinyutong/desktop-cc-gui

Trigger Scenarios

添加新的开发者工作流技能 创建自定义技能 扩展Trellis技能集

Install

npx skills add zhukunpenglinyutong/desktop-cc-gui --skill create-command -g -y
More Options

Non-standard path

npx skills add https://github.com/zhukunpenglinyutong/desktop-cc-gui/tree/main/.agents/skills/create-command -g -y

Use without installing

npx skills use zhukunpenglinyutong/desktop-cc-gui@create-command

指定 Agent (Claude Code)

npx skills add zhukunpenglinyutong/desktop-cc-gui --skill create-command -a claude-code -g -y

安装 repo 全部 skill

npx skills add zhukunpenglinyutong/desktop-cc-gui --all -g -y

预览 repo 内 skill

npx skills add zhukunpenglinyutong/desktop-cc-gui --list

SKILL.md

Frontmatter
{
    "name": "create-command",
    "description": "Scaffolds a new skill file with proper naming conventions and structure. Analyzes requirements to determine skill type and generates appropriate content. Use when adding a new developer workflow skill, creating a custom skill, or extending the Trellis skill set."
}

Create New Skill

Create a new Codex skill in .agents/skills/<skill-name>/SKILL.md based on user requirements.

Usage

$create-command <skill-name> <description>

Example:

$create-command review-pr Check PR code changes against project guidelines

Execution Steps

1. Parse Input

Extract from user input:

  • Skill name: Use kebab-case (e.g., review-pr)
  • Description: What the skill should accomplish

2. Analyze Requirements

Determine skill type based on description:

  • Initialization: Read docs, establish context
  • Pre-development: Read guidelines, check dependencies
  • Code check: Validate code quality and guideline compliance
  • Recording: Record progress, questions, structure changes
  • Generation: Generate docs or code templates

3. Generate Skill Content

Minimum SKILL.md structure:

---
name: <skill-name>
description: "<description>"
---

# <Skill Title>

<Instructions for when and how to use this skill>

4. Create Files

Create:

  • .agents/skills/<skill-name>/SKILL.md

5. Confirm Creation

Output result:

[OK] Created Skill: <skill-name>

File path:
- .agents/skills/<skill-name>/SKILL.md

Usage:
- Trigger directly with $<skill-name>
- Or open /skills and select it

Description:
<description>

Skill Content Guidelines

[OK] Good skill content

  1. Clear and concise: Immediately understandable
  2. Executable: AI can follow steps directly
  3. Well-scoped: Clear boundaries of what to do and not do
  4. Has output: Specifies expected output format (if needed)

[X] Avoid

  1. Too vague: e.g., "optimize code"
  2. Too complex: Single skill should not exceed 100 lines
  3. Duplicate functionality: Check if similar skill exists first

Naming Conventions

Skill Type Prefix Example
Session Start start start
Pre-development before- before-dev
Check check- check
Record record- record-session
Generate generate- generate-api-doc
Update update- update-changelog
Other Verb-first review-code, sync-data

Version History

  • cb4962a Current 2026-07-24 22:05

Same Skill Collection

.agents/skills/before-dev/SKILL.md
.agents/skills/brainstorm/SKILL.md
.agents/skills/break-loop/SKILL.md
.agents/skills/check-cross-layer/SKILL.md
.agents/skills/check/SKILL.md
.agents/skills/deploy-to-vercel/SKILL.md
.agents/skills/finish-work/SKILL.md
.agents/skills/improve-ut/SKILL.md
.agents/skills/integrate-skill/SKILL.md
.agents/skills/onboard/SKILL.md
.agents/skills/record-session/SKILL.md
.agents/skills/start/SKILL.md
.agents/skills/update-spec/SKILL.md
.agents/skills/vercel-cli-with-tokens/SKILL.md
.agents/skills/vercel-composition-patterns/SKILL.md
.agents/skills/vercel-react-best-practices/SKILL.md
.agents/skills/vercel-react-native-skills/SKILL.md
.agents/skills/web-design-guidelines/SKILL.md
.agents/skills/writing-guidelines/SKILL.md
.codex/skills/parallel/SKILL.md
.agents/skills/coss/SKILL.md
.agents/skills/huashu-design/SKILL.md
.agents/skills/vercel-optimize/SKILL.md
.agents/skills/vercel-react-view-transitions/SKILL.md

Metadata

Files
0
Version
cb4962a
Hash
ede895ad
Indexed
2026-07-24 22:05

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 01:54
浙ICP备14020137号-1 $mapa de visitantes$