Agent skill

manage-project

项目管理工具集。使用场景:(1) 分集切分——探测切分点并执行切分,(2) 批量添加角色/线索到 project.json。提供 peek(预览)+ split(执行)的渐进式切分工作流,以及角色/线索批量写入。

Stars 1,657
Forks 360

Install this agent skill to your Project

npx add-skill https://github.com/ArcReel/ArcReel/tree/main/agent_runtime_profile/.claude/skills/manage-project

SKILL.md

项目管理工具集

提供项目文件管理的命令行工具,主要用于分集切分和角色/线索批量写入。

工具一览

脚本 功能 调用者
peek_split_point.py 探测目标字数附近的上下文和自然断点 主 agent(阶段 2)
split_episode.py 执行分集切分,生成 episode_N.txt + _remaining.txt 主 agent(阶段 2)
add_characters_clues.py 批量添加角色/线索到 project.json subagent

分集切分工作流

分集切分采用 peek → 用户确认 → split 的渐进式流程,由主 agent 在 manga-workflow 阶段 2 直接执行。

Step 1: 探测切分点

bash
python .claude/skills/manage-project/scripts/peek_split_point.py --source {源文件} --target {目标字数}

参数

  • --source:源文件路径(source/novel.txtsource/_remaining.txt
  • --target:目标有效字数
  • --context:上下文窗口大小(默认 200 字符)

输出(JSON):

  • total_chars:总有效字数
  • target_offset:目标字数对应的原文偏移
  • context_before / context_after:切分点前后上下文
  • nearby_breakpoints:附近自然断点列表(按距离排序,最多 10 个)

Step 2: 执行切分

bash
# Dry run(仅预览)
python .claude/skills/manage-project/scripts/split_episode.py --source {源文件} --episode {N} --target {目标字数} --anchor "{锚点文本}" --dry-run

# 实际执行
python .claude/skills/manage-project/scripts/split_episode.py --source {源文件} --episode {N} --target {目标字数} --anchor "{锚点文本}"

参数

  • --source:源文件路径
  • --episode:集数编号
  • --target:目标有效字数(与 peek 一致)
  • --anchor:切分点的锚点文本(10-20 字符)
  • --context:搜索窗口大小(默认 500 字符)
  • --dry-run:仅预览,不写文件

定位机制:target 字数计算大致偏移 → 在 ±window 范围内搜索 anchor → 使用距离最近的匹配

输出文件

  • source/episode_{N}.txt:前半部分
  • source/_remaining.txt:后半部分(下一集的源文件)

角色/线索批量写入

从项目目录内执行,自动检测项目名称:

⚠️ 必须单行,JSON 使用紧凑格式,不可用 \ 换行:

bash
python .claude/skills/manage-project/scripts/add_characters_clues.py --characters '{"角色名": {"description": "...", "voice_style": "..."}}' --clues '{"线索名": {"type": "prop", "description": "...", "importance": "major"}}'

字数统计规则

  • 统计非空行的所有字符(包括标点)
  • 空行(仅含空白字符的行)不计入

Expand your agent's capabilities with these related and highly-rated skills.

ArcReel/ArcReel

vercel-react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

1,657 360
Explore
ArcReel/ArcReel

web-design-guidelines

Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".

1,657 360
Explore
ArcReel/ArcReel

agent-browser

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.

1,657 360
Explore
ArcReel/ArcReel

release

项目发版流程:询问版本步进类型,更新前后端版本号,锁定依赖,提交、打 tag 并推送。当用户提到"发版"、"release"、"bump version"、"升版本"、"打 tag"、"发布新版本"时使用此 skill。

1,657 360
Explore
ArcReel/ArcReel

generate-clues

生成线索设计参考图(道具/环境)。当用户说"生成线索图"、"画道具设计"、想为重要物品或场景创建参考图、或有 major 线索缺少 clue_sheet 时使用。确保跨场景视觉一致。

1,657 360
Explore
ArcReel/ArcReel

generate-characters

生成角色设计参考图(三视图)。当用户说"生成角色图"、"画角色设计"、想为新角色创建参考图、或有角色缺少 character_sheet 时使用。确保视频中角色形象一致。

1,657 360
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results