jpskill.com
📦 その他 コミュニティ

tapd

TAPDという開発管理プラットフォームのAPIを利用して、要件定義やバグ管理、タスクやテストケースの管理などを自動化し、開発効率を向上させるSkill。

📜 元の英語説明(参考)

TAPD 敏捷研发管理平台集成。使用脚本调用 TAPD API,实现需求、缺陷、任务、迭代、测试用例、Wiki 等实体管理。使用场景包括:(1) 查询/创建/更新需求、缺陷、任务、迭代 (2) 管理测试用例和 Wiki (3) 管理评论和工时 (4) 关联需求与缺陷 (5) 获取源码提交关键字

🇯🇵 日本人クリエイター向け解説

一言でいうと

TAPDという開発管理プラットフォームのAPIを利用して、要件定義やバグ管理、タスクやテストケースの管理などを自動化し、開発効率を向上させるSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o tapd.zip https://jpskill.com/download/8800.zip && unzip -o tapd.zip && rm tapd.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/8800.zip -OutFile "$d\tapd.zip"; Expand-Archive "$d\tapd.zip" -DestinationPath $d -Force; ri "$d\tapd.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して tapd.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → tapd フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

TAPD Skill

本 skill は、TAPD プラットフォームとやり取りするための Python スクリプトツールを提供します。統一的に tapd.py を通じて呼び出します。

環境設定

使用前に、以下の環境変数を設定する必要があります。

export TAPD_ACCESS_TOKEN="あなたの個人アクセス令牌"  # 推奨
# または
export TAPD_API_USER="API账号"
export TAPD_API_PASSWORD="API密钥"

export TAPD_API_BASE_URL="https://api.tapd.cn"  # オプション、デフォルト
export TAPD_BASE_URL="https://www.tapd.cn"      # オプション、デフォルト
export CURRENT_USER_NICK="あなたのニックネーム"               # オプション

使用方法

python scripts/tapd.py <command> [パラメータ]

すべてのコマンドは、デフォルトで JSON 形式の結果を出力します。

コマンドリスト

プロジェクトとユーザー

コマンド 説明
get_user_participant_projects ユーザーが参加しているプロジェクトのリストを取得します
get_workspace_info プロジェクト情報を取得します
get_workitem_types 需求类别を取得します

需求/タスク

コマンド 説明
get_stories_or_tasks 需求/タスクを検索します
create_story_or_task 需求/タスクを作成します
update_story_or_task 需求/タスクを更新します
get_story_or_task_count 数量を取得します
get_stories_fields_lable フィールドの中英対訳を取得します
get_stories_fields_info フィールドと候補値を取得します

缺陷

コマンド 説明
get_bug 缺陷を検索します
create_bug 缺陷を作成します
update_bug 缺陷を更新します
get_bug_count 数量を取得します

イテレーション

コマンド 説明
get_iterations イテレーションを検索します
create_iteration イテレーションを作成します
update_iteration イテレーションを更新します

コメント

コマンド 説明
get_comments コメントを検索します
create_comments コメントを作成します
update_comments コメントを更新します

添付ファイル/画像

コマンド 説明
get_entity_attachments 添付ファイルを取得します
get_image 画像のダウンロードリンクを取得します

カスタムフィールド

コマンド 説明
get_entity_custom_fields カスタムフィールドの設定を取得します

ワークフロー

コマンド 説明
get_workflows_status_map 状態マッピングを取得します
get_workflows_all_transitions 状態遷移を取得します
get_workflows_last_steps 終了状態を取得します

テストケース

コマンド 説明
get_tcases テストケースを検索します
create_or_update_tcases テストケースを作成/更新します
create_tcases_batch テストケースをバッチで作成します

Wiki

コマンド 説明
get_wiki Wiki を検索します
create_wiki Wiki を作成します
update_wiki Wiki を更新します

工数

コマンド 説明
get_timesheets 工数を検索します
add_timesheets 工数を入力します
update_timesheets 工数を更新します

待办

コマンド 説明
get_todo 待办を取得します

関連

コマンド 説明
get_related_bugs 関連する缺陷を取得します
entity_relations 関連関係を作成します

リリース計画

コマンド 説明
get_release_info リリース計画を取得します

ソースコード

コマンド 説明
get_commit_msg コミットキーワードを取得します

メッセージ

コマンド 説明
send_qiwei_message 企業微信メッセージを送信します

使用例

需求の検索

# 指定された需求を検索
python scripts/tapd.py get_stories_or_tasks --workspace_id 123 --entity_type stories --id 1167459320001114969

# 需求をあいまい検索
python scripts/tapd.py get_stories_or_tasks --workspace_id 123 --entity_type stories --name "%登录%" --limit 20

# 指定された状態の需求を検索
python scripts/tapd.py get_stories_or_tasks --workspace_id 123 --entity_type stories --v_status "已验收"

需求の作成

python scripts/tapd.py create_story_or_task --workspace_id 123 \
    --name "用户登录功能" \
    --description "## 需求描述\n用户可以通过账号密码登录系统" \
    --priority_label "高" \
    --owner "zhangsan" \
    --iteration_name "Sprint 1"

需求の状態の更新

python scripts/tapd.py update_story_or_task --workspace_id 123 \
    --id 1167459320001114969 \
    --v_status "实现中"

缺陷の検索

python scripts/tapd.py get_bug --workspace_id 123 --title "%登录失败%" --priority_label "高"

缺陷の作成

python scripts/tapd.py create_bug --workspace_id 123 \
    --title "登录页面显示异常" \
    --description "输入正确密码后提示错误" \
    --priority_label "高" \
    --severity "严重"

イテレーション管理

# イテレーションの検索
python scripts/tapd.py get_iterations --workspace_id 123

# イテレーションの作成
python scripts/tapd.py create_iteration --workspace_id 123 \
    --name "Sprint 1" \
    --startdate "2024-01-01" \
    --enddate "2024-01-14" \
    --creator "zhangsan"

工数管理

# 工数の検索
python scripts/tapd.py get_timesheets --workspace_id 123 --entity_type story --entity_id 1167459320001114969

# 工数の入力
python scripts/tapd.py add_timesheets --workspace_id 123 \
    --entity_type story \
    --entity_id 1167459320001114969 \
    --timespent "4" \
    --spentdate "2024-01-08" \
    --memo "开发登录功能"

コメント管理

# コメントの検索
python scripts/tapd.py get_comments --workspace_id 123 \
    --entry_type stories \
    --entry_id 1167459320001114969

# コメントの作成
python scripts/tapd.py create_comments --workspace_id 123 \
    --entry_type stories \
    --entry_id 1167459320001114969 \
    --description "看起来不错,可以继续完善"

需求と缺陷の関連付け

# 需求に関連付けられた缺陷の検索
python scripts/tapd.py get_related_bugs --workspace_id 123 --story_id 1167459320001114969

# 関連付けの作成
python scripts/tapd.py entity_relations --workspace_id 123 \
    --source_type story \
    --target_type bug \
    --source_id 1167459320001114969 \
    --target_id 1167459320001114970

ワークフロー

# 状態マッピングの取得
python scripts/tapd.py get_workflows_status_map --workspace_id 123 --system story

# 遷移可能な状態の取得
python scripts/tapd.py get_workflows_all_transitions --workspace_id 123 --system story

常用命令速查

# 需求
python scripts/tapd.py get_stories_or_tasks --workspace_id $WS_ID --entity_type stories
python scripts/tapd.py create_story_or_task --workspace_id $WS_ID --name "标题"
python scripts/tapd.py update_story_or_task --workspace_id $WS_ID --id $ID --v_status "状态"

# 缺陷
python scripts/tapd.py get_bug --workspace_id $WS_ID
python scripts/tapd.py create_bug --workspace_id $WS_ID --title "标题"

# 迭代
python scripts/tapd.py get_iterations --workspace_id $WS_ID
python scripts/tapd.py create_iteration --workspace_id $WS_ID --name "Sprint X" --startdate "2024-01-01" --enddate "2024-01-14"

# 工时
python scripts/tapd.py add_timesheets --workspace_id $WS_ID --entity_type story --entity_id $ID --timespent 4 --spentdate "2024-01-08"

# 评论
python scripts/tapd.py create_comments --workspace_id $WS_ID --entry_type stories --entry_id $ID --description "评论内容"

状态值说明

类型 字段 可用值
需求优先级 priority_label High / Middle / Low / Nice To Have
缺陷优先级 priority_label urgent / high / medium / low / insignificant
缺陷严重程度 severity fatal / serious / normal / prom

(原文がここで切り詰められています)

📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

TAPD Skill

本 skill 提供与 TAPD 平台交互的 Python 脚本工具,统一通过 tapd.py 调用。

环境配置

使用前需要配置以下环境变量:

export TAPD_ACCESS_TOKEN="你的个人访问令牌"  # 推荐
# 或
export TAPD_API_USER="API账号"
export TAPD_API_PASSWORD="API密钥"

export TAPD_API_BASE_URL="https://api.tapd.cn"  # 可选,默认
export TAPD_BASE_URL="https://www.tapd.cn"      # 可选,默认
export CURRENT_USER_NICK="你的昵称"               # 可选

使用方式

python scripts/tapd.py <command> [参数]

所有命令默认输出 JSON 格式结果。

命令列表

项目与用户

命令 说明
get_user_participant_projects 获取用户参与的项目列表
get_workspace_info 获取项目信息
get_workitem_types 获取需求类别

需求/任务

命令 说明
get_stories_or_tasks 查询需求/任务
create_story_or_task 创建需求/任务
update_story_or_task 更新需求/任务
get_story_or_task_count 获取数量
get_stories_fields_lable 字段中英文对照
get_stories_fields_info 字段及候选值

缺陷

命令 说明
get_bug 查询缺陷
create_bug 创建缺陷
update_bug 更新缺陷
get_bug_count 获取数量

迭代

命令 说明
get_iterations 查询迭代
create_iteration 创建迭代
update_iteration 更新迭代

评论

命令 说明
get_comments 查询评论
create_comments 创建评论
update_comments 更新评论

附件/图片

命令 说明
get_entity_attachments 获取附件
get_image 获取图片下载链接

自定义字段

命令 说明
get_entity_custom_fields 获取自定义字段配置

工作流

命令 说明
get_workflows_status_map 状态映射
get_workflows_all_transitions 状态流转
get_workflows_last_steps 结束状态

测试用例

命令 说明
get_tcases 查询测试用例
create_or_update_tcases 创建/更新测试用例
create_tcases_batch 批量创建测试用例

Wiki

命令 说明
get_wiki 查询 Wiki
create_wiki 创建 Wiki
update_wiki 更新 Wiki

工时

命令 说明
get_timesheets 查询工时
add_timesheets 填写工时
update_timesheets 更新工时

待办

命令 说明
get_todo 获取待办

关联

命令 说明
get_related_bugs 获取关联缺陷
entity_relations 创建关联关系

发布计划

命令 说明
get_release_info 获取发布计划

源码

命令 说明
get_commit_msg 获取提交关键字

消息

命令 说明
send_qiwei_message 发送企业微信消息

使用示例

查询需求

# 查询指定需求
python scripts/tapd.py get_stories_or_tasks --workspace_id 123 --entity_type stories --id 1167459320001114969

# 模糊搜索需求
python scripts/tapd.py get_stories_or_tasks --workspace_id 123 --entity_type stories --name "%登录%" --limit 20

# 查询指定状态的需求
python scripts/tapd.py get_stories_or_tasks --workspace_id 123 --entity_type stories --v_status "已验收"

创建需求

python scripts/tapd.py create_story_or_task --workspace_id 123 \
    --name "用户登录功能" \
    --description "## 需求描述\n用户可以通过账号密码登录系统" \
    --priority_label "高" \
    --owner "zhangsan" \
    --iteration_name "Sprint 1"

更新需求状态

python scripts/tapd.py update_story_or_task --workspace_id 123 \
    --id 1167459320001114969 \
    --v_status "实现中"

查询缺陷

python scripts/tapd.py get_bug --workspace_id 123 --title "%登录失败%" --priority_label "高"

创建缺陷

python scripts/tapd.py create_bug --workspace_id 123 \
    --title "登录页面显示异常" \
    --description "输入正确密码后提示错误" \
    --priority_label "高" \
    --severity "严重"

迭代管理

# 查询迭代
python scripts/tapd.py get_iterations --workspace_id 123

# 创建迭代
python scripts/tapd.py create_iteration --workspace_id 123 \
    --name "Sprint 1" \
    --startdate "2024-01-01" \
    --enddate "2024-01-14" \
    --creator "zhangsan"

工时管理

# 查询工时
python scripts/tapd.py get_timesheets --workspace_id 123 --entity_type story --entity_id 1167459320001114969

# 填写工时
python scripts/tapd.py add_timesheets --workspace_id 123 \
    --entity_type story \
    --entity_id 1167459320001114969 \
    --timespent "4" \
    --spentdate "2024-01-08" \
    --memo "开发登录功能"

评论管理

# 查询评论
python scripts/tapd.py get_comments --workspace_id 123 \
    --entry_type stories \
    --entry_id 1167459320001114969

# 创建评论
python scripts/tapd.py create_comments --workspace_id 123 \
    --entry_type stories \
    --entry_id 1167459320001114969 \
    --description "看起来不错,可以继续完善"

关联需求与缺陷

# 查询需求关联的缺陷
python scripts/tapd.py get_related_bugs --workspace_id 123 --story_id 1167459320001114969

# 创建关联
python scripts/tapd.py entity_relations --workspace_id 123 \
    --source_type story \
    --target_type bug \
    --source_id 1167459320001114969 \
    --target_id 1167459320001114970

工作流

# 获取状态映射
python scripts/tapd.py get_workflows_status_map --workspace_id 123 --system story

# 获取可流转状态
python scripts/tapd.py get_workflows_all_transitions --workspace_id 123 --system story

常用命令速查

# 需求
python scripts/tapd.py get_stories_or_tasks --workspace_id $WS_ID --entity_type stories
python scripts/tapd.py create_story_or_task --workspace_id $WS_ID --name "标题"
python scripts/tapd.py update_story_or_task --workspace_id $WS_ID --id $ID --v_status "状态"

# 缺陷
python scripts/tapd.py get_bug --workspace_id $WS_ID
python scripts/tapd.py create_bug --workspace_id $WS_ID --title "标题"

# 迭代
python scripts/tapd.py get_iterations --workspace_id $WS_ID
python scripts/tapd.py create_iteration --workspace_id $WS_ID --name "Sprint X" --startdate "2024-01-01" --enddate "2024-01-14"

# 工时
python scripts/tapd.py add_timesheets --workspace_id $WS_ID --entity_type story --entity_id $ID --timespent 4 --spentdate "2024-01-08"

# 评论
python scripts/tapd.py create_comments --workspace_id $WS_ID --entry_type stories --entry_id $ID --description "评论内容"

状态值说明

类型 字段 可用值
需求优先级 priority_label High / Middle / Low / Nice To Have
缺陷优先级 priority_label urgent / high / medium / low / insignificant
缺陷严重程度 severity fatal / serious / normal / prompt / advice
任务状态 status open / progressing / done
迭代状态 status open / done

Claude 使用方式

当用户需要与 TAPD 交互时:

  1. 读取脚本:了解命令用法
  2. 构建命令:根据需求构建参数
  3. 执行脚本:使用 Bash 工具运行
  4. 处理结果:解析输出,分析数据

示例工作流:

用户: "查看需求 1167459320001114969 的详情"

Claude:
1. python scripts/tapd.py get_stories_or_tasks --workspace_id 67459320 --entity_type stories --id 1167459320001114969
2. 分析返回的需求信息

图片处理

当获取需求详情时,get_stories_or_tasks 命令会自动解析 description 中的图片并获取下载链接。

返回结果包含 images 字段

{
  "data": [
    {
      "Story": { "id": "1167459320001114969", "name": "需求标题", ... },
      "images": [
        {
          "path": "/tfl/captures/2026-01/tapd_67459320_base64_1767668922_121.png",
          "download_url": "https://file.tapd.cn/attachments/tmp_download/...?salt=...&time=...",
          "filename": "tapd_67459320_base64_1767668922_121.png"
        }
      ]
    }
  ]
}

处理步骤

  1. 从返回结果中读取 images 数组
  2. 使用 download_url 访问或下载图片
  3. 图片链接有效期约 300 秒

手动获取图片(备用方式):

# 如果需要单独获取某张图片
python scripts/tapd.py get_image --workspace_id 67459320 --image_path "/tfl/captures/2026-01/tapd_xxx.png"

文件结构

scripts/
├── tapd.py           # 统一入口脚本(43个子命令)
├── tapd_client.py    # TAPD API 客户端
└── requirements.txt