Token导航 LogoToken导航

Agent Skill · 前端设计

trellis-meta(网格元)

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

trellis-meta 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描有提醒项,按安装量在前端设计类的 10,216 个 Skill 里排第 3,074。

总安装 1,606周安装 69GitHub Stars 1下载 563核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/mindfold-ai/docs --skill trellis-meta

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

用于辅助文档、README、Markdown 和内容稿件的整理与改写。可提炼结构、补齐章节、统一术语或检查链接,适合内容创作场景。使用时应保留项目已有事实和路径,避免将未确认信息写成确定结论。涉及对外文案时需控制语气,防止过度营销或夸大能力。

通过 GitHub 安装,支持 Codex、Claude、Cursor、Gemini CLI 等宿主环境。

来源仓库内路径:skills/trellis-meta

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/mindfold-ai/docs --skill trellis-meta;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

trellis-meta 怎么安装?

在终端执行 npx skills add https://github.com/mindfold-ai/docs --skill trellis-meta。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

trellis-meta 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

trellis-meta 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

trellis-meta 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

trellis-meta 用的人多吗?

公开数据是累计安装 1,606 次,近一周安装 69 次,下载 563 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

trellis-meta 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
trellis-meta

网格元 · 本页

1,6061只读未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Trellis Meta-Skill

Version Compatibility

ItemValue
Trellis CLI Version0.3.0
Skill Last Updated2026-02-28
Min Claude Code Version1.0.0+
⚠️ Version Mismatch Warning: If your Trellis CLI version differs from above, some features may not work as documented. Run trellis --version to check.

Platform Compatibility

Feature Support Matrix

FeatureClaude CodeiFlowCursorOpenCodeCodexKiloKiroGemini CLIAntigravity
Core Systems
Workspace system✅ Full✅ Full✅ Full✅ Full✅ Full✅ Full✅ Full✅ Full✅ Full
Task system✅ Full✅ Full✅ Full✅ Full✅ Full✅ Full✅ Full✅ Full✅ Full
Spec system✅ Full✅ Full✅ Full✅ Full✅ Full✅ Full✅ Full✅ Full✅ Full
Commands/Skills✅ Full✅ Full✅ Full✅ Full✅ Skills✅ Full✅ Skills✅ TOML✅ Workflows
Agent definitions✅ Full✅ Full⚠️ Manual✅ Full⚠️ Manual⚠️ Manual⚠️ Manual⚠️ Manual⚠️ Manual
Hook-Dependent Features
SessionStart hook✅ Full✅ Full❌ None❌ None❌ None❌ None❌ None❌ None❌ None
PreToolUse hook✅ Full✅ Full❌ None❌ None❌ None❌ None❌ None❌ None❌ None
SubagentStop hook✅ Full✅ Full❌ None❌ None❌ None❌ None❌ None❌ None❌ None
Auto context injection✅ Full✅ Full❌ Manual❌ Manual❌ Manual❌ Manual❌ Manual❌ Manual❌ Manual
Ralph Loop✅ Full✅ Full❌ None❌ None❌ None❌ None❌ None❌ None❌ None
Multi-Agent/Session
Multi-Agent (current dir)✅ Full✅ Full⚠️ Limited⚠️ Limited⚠️ Limited⚠️ Limited⚠️ Limited⚠️ Limited⚠️ Limited
Multi-Session (worktrees)✅ Full✅ Full❌ None❌ None❌ None❌ None❌ None❌ None❌ None

Legend

  • ✅ Full: Feature works as documented
  • ⚠️ Limited/Manual: Works but requires manual steps
  • ❌ None/Manual: Not supported or requires manual workaround

Platform Categories

Full Hook Support (Claude Code, iFlow)

All features work as documented. Hooks provide automatic context injection and quality enforcement. iFlow shares the same Python hook system as Claude Code.

Commands Only (Cursor, OpenCode, Codex, Kilo, Kiro, Gemini CLI, Antigravity)
  • Works: Workspace, tasks, specs, commands/skills (platform-specific format)
  • Doesn't work: Hooks, auto-injection, Ralph Loop, Multi-Session
  • Workaround: Manually read spec files at session start; no automatic quality gates
  • Note: Each platform uses its own command format (Codex uses Skills, Gemini uses TOML, Antigravity uses Workflows)

Designing for Portability

When customizing Trellis, consider platform compatibility:

┌─────────────────────────────────────────────────────────────┐
│                 PORTABLE (All 9 Platforms)                   │
│  - .trellis/workspace/    - .trellis/tasks/                 │
│  - .trellis/spec/         - Platform commands/skills        │
│  - File-based configs     - JSONL context files             │
└─────────────────────────────────────────────────────────────┘
                              │
┌─────────────────────────────▼───────────────────────────────┐
│              HOOK-CAPABLE (Claude Code + iFlow)              │
│  - .claude/hooks/ or .iflow/hooks/                          │
│  - settings.json hook configuration                         │
│  - Auto context injection   - SubagentStop control          │
│  - Ralph Loop               - Multi-Session worktrees       │
└─────────────────────────────────────────────────────────────┘

Purpose

This is the meta-skill for Trellis - it documents the original, unmodified Trellis system. When customizing Trellis for a specific project, record changes in a project-local skill (trellis-local), keeping this meta-skill as the authoritative reference for vanilla Trellis.

Skill Hierarchy

~/.claude/skills/
└── trellis-meta/              # THIS SKILL - Original Trellis documentation
                               # ⚠️ DO NOT MODIFY for project-specific changes

project/.claude/skills/
└── trellis-local/             # Project-specific customizations
                               # ✅ Record all modifications here

Why this separation?

  • User may have multiple projects with different Trellis customizations
  • Each project's trellis-local skill tracks ITS OWN modifications
  • The meta-skill remains clean as the reference for original Trellis
  • Enables easy upgrades: compare meta-skill with new Trellis version

Self-Iteration Protocol

When modifying Trellis for a project, follow this protocol:

1. Check for Existing Project Skill

# Look for project-local skill
ls -la .claude/skills/trellis-local/

2. Create Project Skill if Missing

If no trellis-local exists, create it:

mkdir -p .claude/skills/trellis-local

Then create .claude/skills/trellis-local/SKILL.md:

---
name: trellis-local
description: |
  Project-specific Trellis customizations for [PROJECT_NAME].
  This skill documents modifications made to the vanilla Trellis system
  in this project. Inherits from trellis-meta for base documentation.
---

# Trellis Local - [PROJECT_NAME]

## Base Version

Trellis version: X.X.X (from package.json or trellis --version)
Date initialized: YYYY-MM-DD

## Customizations

### Commands Added

(none yet)

### Agents Modified

(none yet)

### Hooks Changed

(none yet)

### Specs Customized

(none yet)

### Workflow Changes

(none yet)

---

## Changelog

### YYYY-MM-DD

- Initial setup

3. Record Every Modification

When making ANY change to Trellis, update trellis-local/SKILL.md:

Example: Adding a new command
### Commands Added

#### /trellis:my-command

- **File**: `.claude/commands/trellis/my-command.md`
- **Purpose**: [what it does]
- **Added**: 2026-01-31
- **Why**: [reason for adding]
Example: Modifying a hook
### Hooks Changed

#### inject-subagent-context.py

- **Change**: Added support for `my-agent` type
- **Lines modified**: 45-67
- **Date**: 2026-01-31
- **Why**: [reason]

4. Never Modify Meta-Skill for Project Changes

The trellis-meta skill should ONLY be updated when:

  • Trellis releases a new version
  • Fixing documentation errors in the original
  • Adding missing documentation for original features

Architecture Overview

Trellis transforms AI assistants into structured development partners through enforced context injection.

System Layers

┌─────────────────────────────────────────────────────────────────────┐
│                        USER INTERACTION                              │
│  /trellis:start  /trellis:brainstorm  /trellis:parallel  /trellis:finish-work │
└─────────────────────────────────┬───────────────────────────────────┘
                                  │
┌─────────────────────────────────▼───────────────────────────────────┐
│                         SKILLS LAYER                                 │
│  .claude/commands/trellis/*.md   (slash commands)                   │
│  .claude/agents/*.md             (sub-agent definitions)            │
└─────────────────────────────────┬───────────────────────────────────┘
                                  │
┌─────────────────────────────────▼───────────────────────────────────┐
│                          HOOKS LAYER                                 │
│  SessionStart     → session-start.py (injects workflow + context)   │
│  PreToolUse:Task  → inject-subagent-context.py (spec injection)     │
│  SubagentStop     → ralph-loop.py (quality enforcement)             │
└─────────────────────────────────┬───────────────────────────────────┘
                                  │
┌─────────────────────────────────▼───────────────────────────────────┐
│                       PERSISTENCE LAYER                              │
│  .trellis/workspace/  (journals, session history)                   │
│  .trellis/tasks/      (task tracking, context files)                │
│  .trellis/spec/       (coding guidelines)                           │
└─────────────────────────────────────────────────────────────────────┘

Key Design Principles

PrincipleDescription
Specs Injected, Not RememberedHooks enforce specs - agents always receive context
Read Before WriteUnderstand guidelines before writing code
Layered ContextOnly relevant specs load (via JSONL files)
Human CommitsAI never commits - human validates first
Pure DispatcherDispatch agent only orchestrates

Core Components

1. Workspace System

Track development progress across sessions with per-developer isolation.

.trellis/workspace/
├── index.md                    # Global overview
└── {developer}/                # Per-developer
    ├── index.md                # Personal index (@@@auto markers)
    └── journal-N.md            # Session journals (max 2000 lines)

Key files: .trellis/.developer (identity), journals (session history)

2. Task System

Track work items with phase-based execution.

.trellis/tasks/{MM-DD-slug-assignee}/
├── task.json           # Metadata, phases, branch
├── prd.md              # Requirements
├── implement.jsonl     # Context for implement agent
├── check.jsonl         # Context for check agent
└── debug.jsonl         # Context for debug agent

3. Spec System

Maintain coding standards that get injected to agents.

.trellis/spec/
├── frontend/           # Frontend guidelines
├── backend/            # Backend guidelines
└── guides/             # Thinking guides

4. Hooks System

Automatically inject context and enforce quality.

HookWhenPurpose
SessionStartSession beginsInject workflow, guidelines
PreToolUse:TaskBefore sub-agentInject specs via JSONL
SubagentStop:checkCheck agent stopsEnforce verification (Ralph Loop)

5. Agent System

Specialized agents for different phases.

AgentPurposeRestriction
dispatchOrchestrate pipelinePure dispatcher
planEvaluate requirementsCan reject unclear reqs
researchFind code patternsRead-only
implementWrite codeNo git commit
checkReview and self-fixRalph Loop controlled
debugFix issuesPrecise fixes only

6. Multi-Agent Pipeline

Run parallel isolated sessions via Git worktrees.

plan.py → start.py → Dispatch → implement → check → create-pr

Customization Guide

Adding a Command

  1. Create .claude/commands/trellis/my-command.md
  2. Update trellis-local skill with the change

Adding an Agent

  1. Create .claude/agents/my-agent.md with YAML frontmatter
  2. Update inject-subagent-context.py to handle new agent type
  3. Create my-agent.jsonl in task directories
  4. Update trellis-local skill

Modifying Hooks

  1. Edit the hook script in .claude/hooks/
  2. Document the change in trellis-local skill
  3. Note which lines were modified and why

Extending Specs

  1. Create new category in .trellis/spec/my-category/
  2. Add index.md and guideline files
  3. Reference in JSONL context files
  4. Update trellis-local skill

Changing Task Workflow

  1. Modify next_action array in task.json
  2. Update dispatch or hook scripts as needed
  3. Document in trellis-local skill

Resources

Reference documents are organized by platform compatibility:

references/
├── core/              # All Platforms (Claude Code, Cursor, etc.)
├── claude-code/       # Claude Code Only
├── how-to-modify/     # Modification Guides
└── meta/              # Documentation & Templates

core/ - All Platforms

DocumentContent
overview.mdCore systems introduction
files.mdAll .trellis/ files with purposes
workspace.mdWorkspace system, journals, developer identity
tasks.mdTask system, directories, JSONL context files
specs.mdSpec system, guidelines organization
scripts.mdPlatform-independent scripts

claude-code/ - Claude Code Only

DocumentContent
overview.mdClaude Code features introduction
hooks.mdHook system, context injection
agents.mdAgent types, invocation, Task tool
ralph-loop.mdQuality enforcement mechanism
multi-session.mdParallel worktree sessions
worktree-config.mdworktree.yaml configuration
scripts.mdClaude Code only scripts

how-to-modify/ - Modification Guides

DocumentScenario
overview.mdQuick reference for all modifications
add-command.mdAdding slash commands
add-agent.mdAdding new agent types
add-spec.mdAdding spec categories
add-phase.mdAdding workflow phases
modify-hook.mdModifying hook behavior
change-verify.mdChanging verify commands

meta/ - Documentation

DocumentContent
platform-compatibility.mdDetailed platform support matrix
self-iteration-guide.mdHow to document customizations
trellis-local-template.mdTemplate for project-local skill

Quick Reference

Key Scripts

ScriptPurpose
get_context.pyGet session context
task.pyTask management
add_session.pyRecord session
multi_agent/start.pyStart parallel agent

Key Paths

PathPurpose
.trellis/.developerDeveloper identity
.trellis/.current-taskActive task pointer
.trellis/workflow.mdMain workflow docs
.claude/settings.jsonHook configuration

Upgrade Protocol

When upgrading Trellis to a new version:

  1. Compare new meta-skill with current
  2. Review changes in new version
  3. Check trellis-local for conflicts
  4. Merge carefully, preserving customizations
  5. Update trellis-local with migration notes
## Changelog

### 2026-02-01 - Upgraded to Trellis X.Y.Z

- Merged new hook behavior from meta-skill
- Kept custom agent `my-agent`
- Updated check.jsonl template

平台分布

Codex

38.87%
按下载量换算219

Claude

31.75%
按下载量换算179

Cursor

17.28%
按下载量换算97

Gemini CLI

8.99%
按下载量换算51

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

可疑

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills