CLAUDE.md · git:20260602.0fbdd5e · 2026-06-02 · sha256 308ed2aeb672a521

CLAUDE.md git:20260602.0fbdd5eA

Immutable. This exact content never changes and is served at /api/v1/blob/308ed2aeb672a521.

# last30days-cn

Agent-facing notes for local development.

## Purpose

`last30days-cn` researches recent Chinese-platform discussion across Weibo, Xiaohongshu, Bilibili, Zhihu, Douyin, WeChat public accounts, Baidu, and Toutiao. The default window is the last 30 days.

## Structure

- `skills/last30days/SKILL.md`: installable Agent Skill entrypoint.
- `skills/last30days/scripts/`: self-contained runtime payload for Agent Skills installs.
- `scripts/`: root development copy kept for compatibility.
- `scripts/lib/render.py`: Markdown, JSON context, and HTML report rendering.
- `tests/`: focused regression tests.

## Commands

```bash
python scripts/last30days.py "你的主题" --emit compact
python scripts/last30days.py "你的主题" --emit html-path
python scripts/last30days.py --diagnose
```

When validating on this Windows workspace, prefer:

```bash
py -m pytest
```

The `python` command may resolve to the Windows Store shim on some machines.

## Release Notes

For v3.0.0, the skill payload is self-contained under `skills/last30days`, and the new HTML renderer emits a Guizang-inspired Swiss/IKB report.