before-dev

GitHub

在编码前自动发现并注入项目特定规范。通过读取spec索引、开发前检查清单及共享指南,确保遵循代码标准与模式,适用于新任务启动或切换模块时。

.agents/skills/before-dev/SKILL.md zhukunpenglinyutong/desktop-cc-gui

Trigger Scenarios

开始新的编码任务 切换不同包 需要刷新项目约定

Install

npx skills add zhukunpenglinyutong/desktop-cc-gui --skill before-dev -g -y
More Options

Non-standard path

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

Use without installing

npx skills use zhukunpenglinyutong/desktop-cc-gui@before-dev

指定 Agent (Claude Code)

npx skills add zhukunpenglinyutong/desktop-cc-gui --skill before-dev -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": "before-dev",
    "description": "Discovers and injects project-specific coding guidelines from .trellis\/spec\/ before implementation begins. Reads spec indexes, pre-development checklists, and shared thinking guides for the target package. Use when starting a new coding task, before writing any code, switching to a different package, or needing to refresh project conventions and standards."
}

Read the relevant development guidelines before starting your task.

Execute these steps:

  1. Read the project entry first:

    cat AGENTS.md
    
  2. Discover packages and their spec layers:

    python3 ./.trellis/scripts/get_context.py --mode packages
    
  3. Identify which specs apply to your task based on:

    • Which implementation layer you're modifying (frontend, backend, or repo-level docs/governance)
    • What type of work (backend, frontend, unit-test, docs, etc.)
  4. Read the spec index for each relevant module:

    cat .trellis/spec/frontend/index.md
    cat .trellis/spec/backend/index.md
    

    Follow the "Pre-Development Checklist" section in the index.

  5. Read the specific guideline files listed in the Pre-Development Checklist that are relevant to your task. The index is NOT the goal — it points you to the actual guideline files (e.g., error-handling.md, conventions.md, mock-strategies.md). Read those files to understand the coding standards and patterns.

  6. Always read shared guides:

    cat .trellis/spec/guides/index.md
    
  7. If the task changes rule entry, documentation governance, ignore policy, or host hooks, also read:

    cat .trellis/spec/guides/project-instruction-layering-guide.md
    
  8. Understand the coding standards and patterns you need to follow, then proceed with your development plan.

This step is mandatory before writing any code.

Version History

  • cb4962a Current 2026-07-24 22:04

Same Skill Collection

.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/create-command/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
163273c6
Indexed
2026-07-24 22:04

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