tencent-dev-community-publisher
Skill2 starsChanged 8 months agoApache-2.0View on GitHub
Publish articles to Tencent Developer Community (腾讯开发者社区) with persistent login. Supports pre-flight checks, one-time auth setup, EXTEND.md preferences, and browser automation for title/content/cover/publish workflow.
In this repository27 other files it gives its agents.
- ai-hotspot-collectorSkill
- article-multi-publisherSkill
- article-pipeline-skillSkill
- character-ip-risk-checkSkill
- chrome-extension-devSkill
- chrome-extension-e2e-automationSkill
- chrome-extension-publishSkill
- chrome-extension-social-promoSkill
- chrome-webstore-image-generatorSkill
- code-reviewSkill
- fund-querySkill
- github-trending-writerSkill
- lark-workflow-doc-to-slidesSkill
- notionSkill
- playwright-twitter-accessSkill
- post-to-xhsSkill
- rewrite-skillSkill
- small-capital-investingSkill
- technical-article-preflightSkill
- technical-article-reviewSkill
- technical-spoken-rewriteSkill
- toutiao-publisherSkill
- url-readerSkill
- wechat-article-formatterSkill
- wechat-article-generatorSkill
- wechat-publisherSkill
- wechat-sticker-publisherSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 42
If no file exists and user wants stable defaults, follow: references/config/first-time-setup.md
- Very specific: line 109
Every article must select the existing platform tag 腾讯云架构师技术同盟 (displayed as #腾讯云架构师技术同盟).
- Very specific: line 110
When --content is a Markdown file that contains local image references like !图, the publisher now uploads those body images in order and …
- Very specific: line 111
If --cover points to the same image as the first Markdown image, the body insertion step skips that duplicate and keeps it only as cover.
- Distinctive: line 142
if failed: failed phase + retry command
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Tencent Developer Community Publisher
Language
Match the user's language for prompts, commands, and completion reports.
Script Directory
Resolve this file's directory as SKILL_DIR, then run scripts via:
python ${SKILL_DIR}/scripts/run.py <script.py> [args...]| Script | Purpose |
scripts/check_permissions.py | Pre-flight checks |
scripts/auth_manager.py | Login setup/status/validate/clear |
scripts/publisher.py | Article publish automation |
scripts/extend_config.py | EXTEND.md preference loading |
When to Use
Trigger this skill when user asks to:
- publish article to Tencent Developer Community / 腾讯开发者社区
- setup or fix Tencent community login session
- automate title/content/cover filling on
cloud.tencent.com/developer/article/write
Preferences (EXTEND.md)
Load optional preferences in this order:
- Project-level:
.baoyu-skills/tencent-dev-community-publisher/EXTEND.md - User-level:
~/.baoyu-skills/tencent-dev-community-publisher/EXTEND.md
If no file exists and user wants stable defaults, follow: references/config/first-time-setup.md
Supported keys:
default_headlessdefault_no_coverdefault_rawdefault_debug_screenshotsdefault_wait_secondsdefault_login_timeout_minutesdefault_auth_headless
Boolean accepts: 1/0, true/false, yes/no.
Priority for publish/auth options:
- CLI args
- EXTEND.md
- Script defaults
Workflow
Tencent Community Publishing Progress:
- [ ] Step 0: Load EXTEND.md preferences
- [ ] Step 1: Run pre-flight checks
- [ ] Step 2: Ensure authentication is valid
- [ ] Step 3: Resolve publish params (title/content/cover)
- [ ] Step 4: Select #腾讯云架构师技术同盟 and execute publish flow
- [ ] Step 5: Report result and next actionsStep 1: Pre-flight checks
python ${SKILL_DIR}/scripts/run.py check_permissions.pyStep 2: Authentication
First-time login:
python ${SKILL_DIR}/scripts/run.py auth_manager.py setupManagement commands:
python ${SKILL_DIR}/scripts/run.py auth_manager.py status
python ${SKILL_DIR}/scripts/run.py auth_manager.py validate
python ${SKILL_DIR}/scripts/run.py auth_manager.py clear
python ${SKILL_DIR}/scripts/run.py auth_manager.py reauthStep 3: Resolve publish params
Reference: references/article-posting.md
Rules:
--titleis strongly recommended.--contentaccepts file path or inline text.--coveris optional.--no-covercan force no-cover mode.- Every article must select the existing platform tag
腾讯云架构师技术同盟(displayed as#腾讯云架构师技术同盟). Do not submit if the selected tag cannot be verified. - When
--contentis a Markdown file that contains local image references like, the publisher now uploads those body images in order and inserts them into the editor. - If
--coverpoints to the same image as the first Markdown image, the body insertion step skips that duplicate and keeps it only as cover.
Step 4: Publish
Standard:
python ${SKILL_DIR}/scripts/run.py publisher.py --title "标题" --content article.mdHeadless:
python ${SKILL_DIR}/scripts/run.py publisher.py --title "标题" --content article.md --headlessDebug mode:
python ${SKILL_DIR}/scripts/run.py publisher.py --title "标题" --content article.md --debug-screenshots --wait-seconds 30Step 5: Completion report
Report should include:
- input type/path
- resolved options (
headless,no_cover,raw) - auth state (existing/new login)
- publish result (success/failure)
- selected tag (
#腾讯云架构师技术同盟) - if failed: failed phase + retry command
Review stage note
Publishing succeeds when the page shows 发布成功/提交成功/审核中 text. That is the sole success signal — the publisher does not open the article list afterwards. Newly published articles enter platform review and may not appear in the user's article list for a while; this is expected and is NOT a publish failure. Do not retry publishing and do not poll the article list to "verify".
Security Notes
run.pyprevents path traversal and only executes scripts inscripts/.- Auth state is stored in skill-local
data/. - Debug screenshots are off by default and created only when enabled.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

