Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问clear审计通过

add-exercises添加练习

Agent Skill

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

总安装

294

周安装

12

GitHub Stars

12

下载量

94
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/alexanderop/workouttracker --skill add-exercises

简介

用于向健身追踪器项目添加新的训练动作条目。

  • 动作按肌肉群和设备类型分类存储于 popularExercises.ts 文件。
  • 每个动作包含名称、设备、肌肉群、类型和指标等结构化字段。
  • 重复名称会引发运行时错误,需确保唯一性。
  • 安装方式:GitHub,命令:npx skills add https://github.com/alexanderop/workouttracker --skill add-exercises

SKILL.md

Adding Exercises to the Workout Tracker

File Location

All exercises are defined in: src/data/popularExercises.ts

File Structure

The file is organized by MUSCLE GROUP → EQUIPMENT TYPE, with exercises sorted alphabetically within each section:

CHEST
  ├── Barbell (1)
  ├── Dumbbell (1)
  ├── Cable (2)
  ├── Machine (5)
  └── Bodyweight (7)
BACK
  └── ...

The file header contains a summary showing counts for each muscle/equipment combination.

Exercise Schema

{
  name: string        // Unique name (duplicates throw runtime error)
  equipment: Equipment
  muscle: Muscle
  type: ExerciseType
  metrics: Metrics
}

Valid Types

FieldValid Values
equipment'barbell', 'dumbbell', 'machine', 'cable', 'bodyweight', 'kettlebell', 'band', 'ez-bar', 'hex-bar', 'club', 'battle-rope'
muscle'chest', 'back', 'legs', 'shoulders', 'arms', 'core'
type'compound', 'isolation', 'stability', 'cardio', 'isometric'
metrics'weight-reps', 'reps-only', 'duration', 'distance-duration', 'weight-distance'

Metrics Guidelines

Equipment/TypeTypical Metrics
Weighted exercises (barbell, dumbbell, machine, cable, kettlebell)'weight-reps'
Bodyweight strength'reps-only'
Holds/planks'duration'
Cardio (running, rowing)'distance-duration'

Type Guidelines

TypeDescriptionExamples
compoundMulti-joint movementsSquats, Deadlifts, Bench Press
isolationSingle-joint movementsBicep Curls, Leg Extensions
stabilityDynamic balance/core exercisesBird Dogs, Single-Leg Deadlift
cardioHigh heart rateBurpees, Jump Rope
isometricStatic holds under tensionWall Sit, Dead Hang, L-Sit Hold

How to Add Exercises

Step 1: Check What Exists

Read the file header summary to see current counts:

* - LEGS (71): barbell: 8, dumbbell: 9, kettlebell: 3, cable: 3, machine: 26, bodyweight: 22

Or search for specific exercises:

grep -i "squat" src/data/popularExercises.ts

Step 2: Find the Right Section

Exercises are organized by muscle group, then equipment. Find the correct section:

// ═══════════════════════════════════════════════════════════════════════════════
// LEGS
// ═══════════════════════════════════════════════════════════════════════════════

// --- Legs: Barbell (8) ---
{ name: 'Barbell Calf Raises', equipment: 'barbell', muscle: 'legs', type: 'isolation', metrics: 'weight-reps' },

Step 3: Add in Alphabetical Order

Insert the new exercise in the correct alphabetical position within its section:

// --- Legs: Barbell (8) ---   ← Update count to (9)
{ name: 'Barbell Calf Raises', equipment: 'barbell', muscle: 'legs', type: 'isolation', metrics: 'weight-reps' },
{ name: 'Barbell Good Mornings', equipment: 'barbell', muscle: 'legs', type: 'compound', metrics: 'weight-reps' },
{ name: 'Barbell Hack Squat', equipment: 'barbell', muscle: 'legs', type: 'compound', metrics: 'weight-reps' },  ← NEW
{ name: 'Barbell Hip Thrust', equipment: 'barbell', muscle: 'legs', type: 'compound', metrics: 'weight-reps' },

Step 4: Update Counts

  1. Update the section comment count: // --- Legs: Barbell (8) ---(9)
  2. Update the file header summary

Step 5: Verify

Run type-check to ensure no duplicates or type errors:

pnpm type-check

The file has runtime duplicate detection - if you add a duplicate name, it will throw an error immediately.

Common Mistakes to Avoid

  1. Duplicate names: Every exercise name must be unique across ALL muscles/equipment
  2. Wrong section: Always add to the correct muscle AND equipment section
  3. Not alphabetical: Keep exercises sorted A-Z within each section
  4. Forgetting counts: Update both the section count and header summary
  5. Wrong metrics: Use 'weight-reps' for weighted, 'reps-only' for bodyweight

Example: Adding Multiple Exercises

When adding multiple exercises at once:

  1. Group them by muscle → equipment
  2. Add each to its correct section alphabetically
  3. Update all affected counts
  4. Run pnpm type-check once at the end

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

OpenCode

26.68%
按下载量换算25

Claude Code

22.24%
按下载量换算21

windsurf

16.88%
按下载量换算16

Codex

13.14%
按下载量换算12

Antigravity

6.91%
按下载量换算6

Gemini CLI

3.7%
按下载量换算3

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills