tcc-deploy

Deploy TCC configuration changes to PPE environments with mandatory two-phase review and confirmation.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Deploying configuration changes to TCC (TCE Configuration Center) PPE environments is risky without visibility into what will change. This Skill enforces a two-phase workflow that shows config diffs for review before executing any deployment, preventing accidental or unreviewed changes across regions. ## Core Features & Use Cases - Two-Phase Safe Deployment: Always runs a review phase first showing the diff between online and latest config versions, then deploys only after explicit user confirmation. - Config Creation and Update: Creates new config items with a specified value and data type (json, yaml, string) when the config does not exist, or updates values before deploying. - Directory Creation: Explicitly creates TCC directories via command=create_dir with post-creation verification through ListDir. - Multi-Region Support: Deploys to China, BOE, Singapore, US, EU, and TTP regions with automatic gateway and JWT routing per vregion. - Use Case: A developer needs to push an updated JSON config for the ttarch.gdp.gdpa service to the China-BOE PPE environment. The Skill first shows the diff between version 5 and 6, waits for approval, then executes the deployment and returns the deployment ID. ## Quick Start Ask the agent to review and deploy the TCC config named test_config_for_script in namespace ttarch.gdp.gdpa to the ppe_test_gdpa environment in the China-BOE region, confirming only after reviewing the changes.

Frequently Asked Questions about tcc-deploy

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

FAQPage Schema
How do I deploy a TCC config to a PPE environment?

Run the deploy command first without the confirmed flag to review the diff between online and latest versions. After reviewing the changes, re-run the same command with confirmed set to true to execute the deployment.

How do I create a new TCC config item that does not exist?

Run the review phase first, which reports that the config is missing. Then re-run with confirmed set to true and provide new_value with the config content; data_type defaults to json but also supports yaml and string.

Which regions does TCC deployment support?

Supported vregions include China-North, China-BOE, Singapore-Central, US-East, US-West, US-BOE, EU-TTP, EU-TTP2, US-EastRed, US-TTP, US-TTP2, and several other CN regions. Short aliases like sg, us, cn, and boe are also accepted.

Can I deploy TCC configs to production environments with this?

No, this deployment workflow is designed for PPE environments only. It targets PPE env names such as ppe_test_gdpa and relies on PPE deploy strategies configured on the TCC platform.

Why does TCC deployment fail with environment not in region error?

This error means the specified PPE environment does not exist in the target vregion for that namespace. Verify on the TCC platform that the namespace has a PPE env configured in the requested region, and never switch regions silently.

How do I create a TCC directory in a namespace?

Use command set to create_dir with namespace, env, vregion, and a dir path (leading slash optional). The skill creates the directory, then verifies it exists via ListDir before returning success.