Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

trae-skill-writer特雷技能作家

Agent Skill

trae-skill-writer 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

759

周安装

31

GitHub Stars

1

下载量

243
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:trae-skill-writer(特雷技能作家)
来源仓库:https://github.com/learnwy/skills
仓库路径:skills/trae-skill-writer
安装命令:
npx skills add https://github.com/learnwy/skills --skill trae-skill-writer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/learnwy/skills --skill trae-skill-writer

简介

trae-skill-writer 用于查找、检索和筛选相关信息。

  • 适合在需要基于关键词或任务场景快速获取候选结果时使用。
  • 可在 Codex、Claude、Cursor、Gemini CLI 中调用,通过 npx 命令安装。
  • 安装前应检查权限范围、项目维护状态及潜在的文件或网络操作风险。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Trae Skill Writer

Analyze project code AND business context, then delegate to skill-creator for SKILL.md creation.

Phase 1: Understand Project (REQUIRED)

Before creating ANY skill, you MUST understand the project first.

1.1 Check Project Size

If project is too large (>50 top-level items, monorepo):

  • STOP - Don't analyze entire project
  • ASK - Use AskUserQuestion for target folders
  • SCOPE - Only analyze user-specified folders
"This project is large. Which folders should I focus on?"
Options: "src/features/", "lib/core/", "Other..."

1.2 Scan Project Structure

Quick scan to understand what exists (NOT deep reading):

1. List top-level directories
2. Identify tech stack (package.json, go.mod, etc.)
3. Find existing skills/rules/automation
4. List major domains/modules for skill breakdown

Note: Deep code reading happens in Phase 2 for each specific skill.

1.3 Understand Business

Ask user and read docs to capture business context:

SourceWhat to Extract
User inputDomain terminology, workflows
README/docsProject purpose, architecture
Code commentsBusiness rules
NamingDomain concepts

Ask: "What business problem does this solve?"

Phase 2: Create Skills (SEQUENTIAL)

Create skills ONE at a time, not in parallel.

2.1 Plan Skill Breakdown

First, identify all skills needed:

Example: ecommerce-app
├── app-style      (style system)
├── app-component  (UI components)
├── app-api        (API patterns)
└── app-monitor    (monitoring)

2.2 For EACH Skill (Sequential Loop)

┌─────────────────────────────────────────────┐
│  For each skill:                            │
│                                             │
│  0. Initialize SKILL.md from template       │
│     - Run scripts/init_skill.py             │
│     - Edit generated scaffold               │
│                                             │
│  1. Deep-dive into THIS skill's code        │
│     - Read 2-5 key files for this domain    │
│     - Extract patterns specific to it       │
│                                             │
│  2. Design spec for THIS skill              │
│     - Name, triggers, exclusions            │
│     - Key files, workflow                   │
│     - Business context                      │
│                                             │
│  3. Delegate to skill-creator               │
│     - Use template below                    │
│     - Wait for completion                   │
│                                             │
│  4. Move to next skill                      │
└─────────────────────────────────────────────┘

Initialization command:

python {skill_dir}/scripts/init_skill.py \
  --skill-dir {skill_dir} \
  --name {new_skill_name} \
  --summary "One-line skill purpose" \
  --output-root {project_root}/skills

2.3 Delegation Template

Use skill `skill-creator` to create the skill with this spec:

**Skill Name:** {prefix}-{domain}
**Purpose:** {what it does}
**Triggers:** {phrases that should activate it}
**Exclusions:** {when NOT to use}
**Language:** English (or specify)
**Key Files:** {list of files - relative paths only}
**Workflow:** {numbered steps}
**Location:** .trae/skills/{name}/

Project context:
- Tech stack: {detected tech}
- Patterns: {from actual code}

Business context:
- Domain concepts: {terminology}
- Business rules: {constraints}

Phase 3: Quality & Lessons Learned

⚠️ Common Mistakes (CRITICAL)

These mistakes break skills. Always check:

Wrong ❌Correct ✅Why
/Users/john/project/src/src/NO absolute paths! Use relative paths only
/home/dev/lib/utils.golib/utils.goPaths start from project root, no leading /
globs: "*.ts"globs: *.ts,*.tsxNo quotes in globs
Mixed 中英文Single languageConfuses AI
super-long-nameapp-styleprefix + short domain

Path Rule: Always use paths relative to project root. Just src/file.ts, never /absolute/path/src/file.ts.

Quality Checklist

Before delegating each skill:

  • Paths - All relative, no absolute paths
  • Naming - {prefix}-{domain} format
  • Language - Single language throughout
  • Code study - Based on actual codebase
  • Business - Includes domain terminology
  • Granularity - Single responsibility

Best Practices

Naming: {prefix}-{domain}

Good ✅Bad ❌
app-stylestyle (no prefix)
fe-componentmy-app-template (too long)

Single Responsibility

Each skill = ONE domain:

  • Good: app-style (only style)
  • Bad: app-style-and-component (too broad)

Cross-Reference

After creating all skills:

  • Check for overlap
  • Add "Related Skills" sections
  • Verify no duplicate content

Agents

StageAgentWhen
Phase 1Project ScannerLarge projects
Phase 1Tech Stack AnalyzerDomain-specific
Phase 3Quality ValidatorValidation

References

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.25%
按下载量换算88

Claude

31.62%
按下载量换算77

Cursor

18.87%
按下载量换算46

Gemini CLI

9.8%
按下载量换算24

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills