story-proj-adopt
Use when an existing thesis draft or Overleaf export should come under STORY. Inventories the draft, confirms a file map, copies (never moves) the source after the author commits a pre-adoption checkpoint, records the draft's claims, and verifies the resulting build without redesigning chapters. After adoption, story-syns-coach frames the thesis story.
- License 许可
- MIT
- 最近更新
- 2026-10-11
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- story-proj-adopt
- description
- Use when an existing thesis draft or Overleaf export should come under STORY. Inventories the draft, confirms a file map, copies (never moves) the source after the author commits a pre-adoption checkpoint, records the draft's claims, and verifies the resulting build without redesigning chapters. After adoption, story-syns-coach frames the thesis story.
- disable-model-invocation
- true
03 SKILL.md 正文
Adopt an existing thesis
Shared conventions. Read docs/mds/story-workflow/writing-workflow-conventions.md in full before acting. Read .env once for the STORY_LANG, INVOLVE, and STORY_MAIN values this run needs, and reuse them. Resolve the language of replies and new Markdown under conventions §7: an explicit author request first, then a valid STORY_LANG, then the dialogue language, read from the author's latest own prose and never from a bare command or the English this run loads, or the invocation language when there is no user turn. Manuscript prose follows degree/profile.tex, and an existing file keeps its language. A clear instruction may select the target and scope and authorize the corresponding action within this skill's documented paths, and work already authorized in this run is not asked for again; it never replaces a confirmation point or an AGENTS.md §1 ask-first choice (conventions §7).
If % degree_level in degree/profile.tex is unknown, inventory may continue, but ask the author to confirm master or doctoral before mapping level-specific front matter, milestones, or requirements (conventions §1).
- Inventory the draft read-only: entry points, chapter inputs, front and back matter, figures, tables, bibliography files and their package (natbib or biblatex), document class and styles, build engine and commands, institutional-template signals (compared with
% official_templateindegree/profile.tex), and candidate evidence. - Copy from the source (the path the author names, else this repository) into the confirmed targets; never move or modify it, inside this repository or outside. Originals stay in place; removing one later is a deletion (conventions §7).
- Propose a complete map into
manus/fronts/,manus/chaps/,manus/backs/,manus/figs/,manus/tabs/,manus/bibs/, andmanus/stys/, naming every path and reference rewrite. In it:- name every target as conventions §5 (Manuscript file names) spells it: chapters
<nn>_<slug>.texin the draft's chapter order, appendices<letter>_<slug>.tex, each figure filemanus/figs/<owner>_<slug>.tex(wrapping a figure the draft sets inline), its graphic and sourcesmanus/figs/srcs/<owner>_<slug>.*, and each table<owner>_<slug>.texafter the one file that includes it, front matter without a key, and a language twin ending in-zh, rewriting every\input,\include, and\includegraphicspath to match; - map the draft's bibliography file or files to
manus/bibs/reference.bib, merging several without dropping a citekey the manuscript uses, and rewrite the entry point's bibliography lines; a biblatex draft is an unresolved template decision, because the STORY class loads natbib; - map an institutional class the draft builds with into
manus/stys/as its build layer, keep the draft's title-page macros, loadstys/storyonly if it compiles with that class (otherwise keep the draft's\todoor define one), and set a non-pdflatex engine with a% !TeX program = <engine>line in the entry point; - name the file that becomes the active entry point:
manus/main.tex, or another file the author then selects withSTORY_MAINin.env.
- name every target as conventions §5 (Manuscript file names) spells it: chapters
- Copying files into
manus/and changing the entry point are a confirmation point: show the complete map and wait. Before applying it, rungit status --shorton every repository path the map reads or rewrites; if any is modified or untracked, or the repository has no commit, ask the author to commit first, and never commit yourself. Recordgit rev-parse HEADas the pre-adoption commit. - Apply only the confirmed map. Create
notes/adopt.mdfor the first approved adoption, or update it in place on a rerun, spelling keys, headings, and tokens exactly as here (conventions §1): frontmattersource,source_kind: internal | external,pre_adoption_commit, andadopted: <system date>; headingsFile map(aSource | Target | Action | Statustable,Actioncopy | rewrite,Statusapplied | pending | unresolved),Entry point and engine(with the class the entry point loads and, for an institutional class, that lint does not check its language option, and with thedegree/profile.texfields the entry point typesets),Bibliography,Unresolved mappings, andBuild. - Add the draft's quantitative or comparative statements to
notes/claims.mdwithStated infilled, asunsourced, or asdraftedwithEvidencefilled when their evidence is already registered (conventions §3); an absent ledger takes the conventions §3 columns. List candidate evidence forstory-evid-curator; this skill registers nothing. - Build, then lint (conventions §8), recording both results under
Build. Report unresolved mappings and compilation failures without guessing fixes: mark each unresolved row innotes/adopt.md, list it underUnresolved mappings, and add atasks/adopt.mdcheckbox line keyed by its source path. After a failed build, leave the applied copies in place. If the author asks to roll back, restore only the rewritten files, by name, from the pre-adoption commit (git restore --source=<commit> -- <paths>), and list the new target paths for the author to confirm removing.
During adoption, create no notes/*.md artifact but notes/adopt.md and notes/claims.md, and do not redesign the chapter architecture.
Once the imported thesis builds, the Next action: is, while candidate evidence remains unregistered, the exact command for the author to type (story-evid-curator import source=<path> or story-evid-curator register path=<file>); otherwise it is story-syns-coach, which frames the story before story-outl-planner maps the adopted chapters.
04 同仓库更多 Skills
story-tabs-builder
Use to build or revise one thesis table (results, comparisons, mappings, synthesis) from fingerprinted evidence, with a source anchor on every quantitative or comparative row and synchronized claim, outline, and notation records. For a design whose message depends on visual encoding, use story-figs-designer.
story-syns-coach
Use before outlining, when the thesis lacks a coherent argument, or to record an author-supplied publication reuse or permission fact. Shapes the thesis problem, central argument, research questions, arc, synthesis, and degree contributions from the author's intent and registered evidence, with the contribution, publication, and claim maps. For chapter architecture, use story-outl-planner.
story-revs-resolver
Use after thesis feedback or an official outcome arrives from supervisors, coauthors, committees, examiners, defenses, corrections, or deposits. Converts it into an immutable-source point ledger, reasoned dispositions, tracked promises, and outcome records, without rewriting chapters. For a simulated review, use story-exam-reviewer.
story-refs-curator
Use when a thesis needs a trustworthy source record — add, verify, deduplicate, or re-check bibliography entries, write reading notes, or find candidates for a chapter's unsupported literature assertions, verifying only from records fetched in the run. For auditing what the manuscript already cites, use story-cite-auditor.
story-proj-adopt
Use when an existing thesis draft or Overleaf export should come under STORY. Inventories the draft, confirms a file map, copies (never moves) the source after the author commits a pre-adoption checkpoint, records the draft's claims, and verifies the resulting build without redesigning chapters. After adoption, story-syns-coach frames the thesis story.
story-outl-planner
Use once the thesis story is finalized or the author chooses a provisional outline, and whenever chapter boundaries change. Turns the story and contribution map into chapter architecture, briefs, figure and table plans, and chapter scaffolds wired into the active entry point, mapping existing drafts instead of replacing them. For the thesis argument itself, use story-syns-coach.