Skip to content
Back to skills

Story Display Skill

ASecurity

负责小说情节的持久化写入、生成校验以及终端的完整展示。通过原生指令确保万字剧情不被截断。

  • 5 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added February 10, 2026
toolspython

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add Wjiajie/wuxiaX --skill story-display-skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Story Display Skill?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Story Display Skill
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wjiajie-story-display-skill/badge)](https://www.skillsdirectory.com/skills/wjiajie-story-display-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: story-display-skill
description: 负责小说情节的持久化写入、生成校验以及终端的完整展示。通过原生指令确保万字剧情不被截断。
---

# 小说情节展示技能 (Story Display Skill)

## 概述
本技能是“万言小说”最后落地的关键环节。它通过“写入 -> 校验 -> 原生展示”的闭环,确保每一回剧情都能安全存盘并 1:1 地呈现在玩家终端上。

## 核心职责
1. **稳健写入**:将 `story-engine` 生成的内容写入 `./history/chapters/`。
2. **落盘校验**:写入后通过脚本检测文件是否存在且字节数正常。
3. **原生展示**:调用系统原生指令(如 `type`)完整输出内容,规避 AI 模型输出长度限制。

## 使用流程
1. 当一章剧情生成完毕后,调用:
   `python .agent/skills/story-display-skill/scripts/display_chapter.py --chapter <N> --content "<CONTENT>"`
2. 脚本会自动处理写入、校验并回显。

## 脚本索引
- `scripts/display_chapter.py`: 处理核心流转。

Files in this skill

  • SKILL.md1 KB
  • scripts/display_chapter.py4.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.