# Generate Trend-Based Chinese Content

Trend tracking and long-form drafting take time for content teams. This skill fetches TopHub topics and produces structured Simplified Chinese drafts in three Defou x Stanley styles.

## Install

```bash
npx skillstore add wangdefou-dev/tophub-defou-stanley-combo
```

## Metadata

- Status: approved
- Slug: wangdefou-dev-tophub-defou-stanley-combo
- Skillstore revision: r1
- Version status: missing
- Tree hash: c873b2fa041fdff4ef18f2e5304f6b03d33f66afbf362b59bce69d7aaee380b8
- Author: wangdefou-dev
- GitHub username: wangdefou-dev
- License: MIT
- Repository: https://github.com/wangdefou-dev/defou-workflow-agent/tree/main/skills/tophub-defou-stanley-combo
- Ref: 36e07d5e13068e5be64447e8f20b427cf2cbd21a
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: confirmation\_required
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network, filesystem, env\_access
- Quality score: 38
- Quality tier: warning
- Public page: https://skillstore.pages.dev/skills/wangdefou-dev-tophub-defou-stanley-combo
- Manifest: https://skillstore.pages.dev/api/skills/wangdefou-dev-tophub-defou-stanley-combo/manifest

## Capabilities

- Fetches the TopHub hot list from https://tophub.today/hot.
- Parses topic titles, ranks, sources, heat labels, and links.
- Asks Anthropic Claude to select ten high-potential topics.
- Generates Stanley, Defou, and combined article versions for each topic.
- Writes Markdown drafts under outputs/defou-stanley-posts.
- Supports mock mode through MOCK\_MODE for local testing.

## Use Cases

- Draft trend commentary: Use fresh TopHub topics to create Chinese opinion drafts for review and editing.
- Plan daily posts: Turn current hot topics into multiple draft angles for daily social channels.
- Compare content angles: Review Stanley, Defou, and combined versions before choosing a publication direction.

## Prompt Templates

### Run the workflow

```
Use tophub-defou-stanley-combo to fetch current TopHub topics and generate Markdown drafts.
```

### Test without API spend

```
Run the workflow with MOCK_MODE=true and show where the draft files would be saved.
```

### Review generated drafts

```
Run the skill, then summarize the selected topics, source links, and draft file paths for review.
```

### Adapt topic selection

```
Modify the workflow to select only career and psychology topics, then generate the three content variants for each topic.
```

## Limitations

- Requires network access to TopHub and the Anthropic API.
- Requires ANTHROPIC\_API\_KEY unless MOCK\_MODE is true.
- Generated writing is Simplified Chinese and needs editorial review.
- Topic selection depends on TopHub page structure and availability.

## Best Practices

- Review every draft for factual accuracy, tone, and publication risk.
- Use MOCK\_MODE=true for setup tests before spending API credits.
- Keep API keys in a local environment file and avoid committing them.

## Anti Patterns

- Publishing generated drafts without human review.
- Using untrusted trending titles as instructions for another automation step.
- Running the workflow repeatedly without rate limits or source checks.

## Security Audit

- Audited at: 2026-07-07T08:00:16.073\+00:00
- Summary: I reviewed the TypeScript workflow, Markdown instructions, and bundled evaluation file. Most static hits are false positives from JavaScript template literals, Markdown backticks, expected network access, local configuration, and bounded output writes. I found context-level risks from a self-audit safety claim and untrusted trend text entering LLM prompts.

## Stats

- Views: 239
- Downloads: 64
- Favorites: 3
- Popularity score: 0
