用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/heldernoid/agentic-build-templates --skill type-watch命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Edit the visual grid layout of a garden bed, assigning crops to cells on a canvas editor. Use when asked to arrange crops in a bed, draw a planting layout, move crops around, visualize companion planting placement, or check for enemy crop adjacency in a specific bed. Triggers include "layout editor", "bed grid", "draw the bed", "assign crops to cells", "companion warning in layout", or similar visual planning tasks.
Plan crop rotations, planting schedules, and companion planting for garden beds and fields. Use when asked to manage a farm, garden, or plot layout; schedule what to plant and when; check companion planting relationships; track rotation history; or generate a printable planting schedule. Triggers include "crop rotation", "planting schedule", "companion planting", "garden bed", "what to plant", "frost dates", or any task involving seasonal crop planning.
Log crop harvests with yield quantity, quality grade, field, and storage destination. Use when asked to record a harvest, check total yield for a crop or field, filter harvest history by date or grade, view analytics charts, or export harvest data. Triggers include "log harvest", "record yield", "harvest entry", "crop yield", "grade breakdown", "field yield", "harvest history", or any task involving tracking what was picked and where it went.
基于 SOC 职业分类
正在显示 SKILL.md
| name | type-watch |
| description | Watch schema files for changes and automatically regenerate TypeScript types on save |
Use this skill to keep generated TypeScript types in sync with schema files during development using watch mode.
s2t watch
Watches all source files listed in s2t.yaml. Regenerates the corresponding output when any source changes. Press Ctrl+C to stop.
s2t watch user-schema app-db
s2t watch --no-web
[15:52:00.001] watching 3 inputs for changes...
[15:52:14.200] change detected: schemas/user.json
[15:52:14.400] generating user-schema...
[15:52:14.423] user-schema -> src/types/user.ts (23ms) +3 lines
Set the environment variable to always start watch mode:
S2T_WATCH=1 s2t
Or set in your shell profile/dotenv for the project.
When watching, the web UI at http://localhost:3500 shows:
Watch mode plays well with any editor that saves files on change. No editor plugin needed.
In .vscode/settings.json:
{
"files.autoSave": "onFocusChange"
}
alias dev="pnpm dev & s2t watch"
The 200ms debounce means:
If generation fails for an input, s2t:
Watch mode never exits on error. Fix the schema and save to trigger a retry.
On stop, s2t writes a summary line:
watch stopped - 14 changes detected, 12 generated, 2 unchanged