huawei-cloud-study-plan-generate
БесплатноЗапускает вложенные скриптыНе проверенRandomly generate a structured, configurable study-practice plan (学习实践表). Lays the plan out as day x time-slot cells, assigns every cell a study topic and a…
от wlc-dev459 установок в других каталогахОб этом скилле
Study Plan Generator
Overview
This skill produces a random, readable study-practice plan. By default it covers 7 days, each day with 3 time slots (morning / afternoon / evening), and every cell carries a study topic, a practice item, and a session length. It focuses on producing a plan that is random but reasonable:
- Constraint-respecting randomness — the same topic is not reused until the whole
topic pool is exhausted; a day's time slots never overlap; session lengths stay inside
a bounded interval around
--session-minutes. - Configurable — number of days, slots per day, topic pool, session length, start date and output format are all parameters.
- Reproducible — passing
--seedmakes a run deterministic; when omitted, a random seed is chosen and printed so the run can be reproduced later. - Self-contained — pure Python 3 standard library, no network, no credentials.
Prerequisites
- Python 3.8+ available as
python3(orpython) onPATH. - No Huawei Cloud credentials, CLI (KooCLI), SDK, or network access are needed; this skill is entirely local.
scripts/topics.jsonmust be present (it ships with the skill) unless a custom topic pool is supplied with--topics.
Workflow
- Load the topic pool —
load_topics()readsscripts/topics.jsonand returns a list of{"topic", "practices"}entries;--topicsmay override it with a comma-separated topic list or a custom JSON pool. - Lay out the grid —
build_plan(seed, days, slots_per_day, ...)walks each day and each selected time slot (kept in chronological order). Topics are drawn from a shuffled queue that is refilled only after it is exhausted, so no topic repeats until the pool is used up. - Fill each cell — a practice item is chosen at random from the topic's practices,
and the session length is drawn from
[session_minutes - 10, session_minutes + 10](clamped to[15, 110], rounded to 5 minutes). All random choices come fromrandom.Random(seed). - Render —
render_markdown()/render_text()/render_json()turn the plan into readable output (Markdown table by default). - Emit — the result goes to standard output, or to a file when
--outputis given.
Core Commands
# Default: a 7-day plan (3 slots per day), reproducible with the given seed
python3 scripts/generate_study_plan.py --seed 20240501 --start-date 2026-10-24
# Plain text
python3 scripts/generate_study_plan.py --seed 42 --format text
# JSON (machine-readable)
python3 scripts/generate_study_plan.py --seed 42 --format json
# Custom number of days, slots per day, and session length
python3 scripts/generate_study_plan.py --seed 7 --days 3 --slots-per-day 2 --session-minutes 30
# Override the topic pool with a comma-separated list of names
python3 scripts/generate_study_plan.py --seed 7 --topics "英语,算法,系统设计"
# Use a custom topic-pool JSON file and write the result to a file
python3 scripts/generate_study_plan.py --topics /path/to/topics.json --output plan.md
# Run the bundled unit tests
python3 -m unittest discover -s tests -v
The command-line entry point is scripts/generate_study_plan.py; the built-in
scripts/topics.json is what the examples above read by default.
Parameter Confirmation
| Parameter | Required | Description | Default |
|---|---|---|---|
--days |
No | Number of days to generate | 7 |
--slots-per-day |
No | Time slots per day (max 7) | 3 |
--topics |
No | Topic pool override: comma-separated names, or a JSON file path | built-in scripts/topics.json |
--session-minutes |
No | Nominal session length in minutes; actual length varies within ±10 | 45 |
--start-date |
No | Start date YYYY-MM-DD |
today |
--seed |
No | Integer seed for reproducible output | random (printed) |
--format |
No | Output format: markdown, text, or json |
markdown |
--output |
No | Write the plan to a file instead of stdout | stdout |
Reference Documents
| Document | Description |
|---|---|
| references/usage-guide.md | Command recipes, reproducibility rules, extending the topic pool |
| references/verification-method.md | How the skill is verified (offline unit tests + spot checks) |
| references/acceptance-criteria.md | Acceptance criteria and out-of-scope items |
| references/dataflow-diagram.md | Mermaid data flow diagram |
| references/iam-policies.md | Permission notes (none required) |
Notes
- The generator is read-only with respect to the cloud: it reads only its local topic
pool and writes only to standard output or a user-chosen
--outputfile. - Output ordering: within a day, slots are shown in chronological order; days are labelled by ISO date plus a C
Установить huawei-cloud-study-plan-generate в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл huawei-cloud-study-plan-generate?
Randomly generate a structured, configurable study-practice plan (学习实践表). Lays the plan out as day x time-slot cells, assigns every cell a study topic and a concrete practice item, keeps topics from repeating until the topic pool is exhausted, keeps a day's time slots non-overlapping, varies each session length inside a reasonable interval, and prints the result as a Markdown table (or plain text / JSON). A --seed flag makes any run reproducible. Implemented with the Python 3 standard library only; it does not call the Huawei Cloud CLI, any Huawei Cloud SDK, or any REST API, and it touches no cloud resource. Triggers include: "生成学习实践表", "随机生成学习计划", "学习安排", "帮我排学习计划", "生成学习表", "study plan", "random study plan", "study schedule", "learning plan", "practice plan".
Как установить скилл huawei-cloud-study-plan-generate?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл huawei-cloud-study-plan-generate запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic