bits-devops

Manage BITS DevOps development tasks, pipelines, TCC configs, and merge requests.

Updated Apr 30, 2026
One-click install
npx skills add https://github.com/yuezhen-huang/my-bytedance-skillhub --skill bits-devops-yuezhen-huang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bits-devops
Source: https://github.com/yuezhen-huang/my-bytedance-skillhub/tree/main/bits-devops
Command: npx skills add https://github.com/yuezhen-huang/my-bytedance-skillhub --skill bits-devops-yuezhen-huang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Engineers working in the BITS DevOps platform must manually navigate web UIs to create development tasks, track pipeline stages, manage TCC configuration changes, and operate merge requests. This Skill exposes all of those operations as structured CLI actions so an AI agent can perform them directly. ## Core Features & Use Cases - Development Task Lifecycle: Create, query, extend, and close BITS development tasks across TCE, FaaS, Web, and TCC project types, with control-plane and lane management. - Pipeline & Stage Operations: Run pipelines, inspect stage status, and trace failed pipeline runs down to individual jobs for root-cause diagnosis. - Merge Request Management: Create MRs, bind feature tasks and tags, run code/QA reviews, retry workflows, and sync target branches. - TCC Configuration Changes: Import, diff, edit, discard, and set deploy targets for TCC config changes within a development task. - Use Case: A developer asks the agent to create a dev task for a Meego requirement, run the self-test pipeline, and when it fails, trace the failing job through sub-pipelines to find the compilation error. ## Quick Start Ask the agent to create a BITS development task for your PSM and branch, providing the Meego requirement link and letting it resolve the space via get_recent_spaces.

Frequently Asked Questions about bits-devops

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a BITS development task from the command line?

Run gdpa-cli with the bits-devops agent and the create_dev_task action, providing space_id, branch, psm_list, and a Meego URL. If you do not know the space_id, call get_recent_spaces first to list your recently accessed spaces.

How to troubleshoot a failed BITS pipeline?

Call get_dev_task_stages to find the failed stage, then get_dev_task_pipelines to locate the failed pipeline_run_id, and finally get_pipeline_run to inspect each job's fail_reason. If a job references a driven_pipeline_run_id, query that sub-pipeline for the true root cause.

Does bits-devops support different project types like FaaS or Web?

Yes, create_dev_task supports TCE, FaaS, Web, and TCC project types via the project_type parameter. Web projects require the numeric project ID instead of a PSM name, which you can find with search_projects.

Can I manage TCC configuration changes in a BITS dev task?

Yes, the skill supports importing TCC configs, listing change items, viewing diffs between baseline and draft versions, editing content, and setting BOE/PPE/Prod deploy targets. These actions require an existing TCC-type development task.

Do I need to pass an access token for BITS API calls?

No manual access token is required. The system automatically obtains a BITS IAM token using the logged-in user's JWT, so you only need to authenticate once with gdpa-cli login before running actions.

When should I reuse a session_id with gdpa-cli run?

Reuse the same session_id when chaining multiple calls in multi-stage workflows like bits-dev-workflow so state and context persist. Single one-off queries such as fetching task info generally do not need a session.