본문으로 건너뛰기
cccskills
무료GitHub에 공개

subsection-writer

Write survey prose into per-section files under `sections/` so each unit can be QA'd independently before merging.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(15)

  • SKILL.md6.4 KB
  • assets/bootstrap_paragraph_templates.json3.5 KB
  • assets/paragraph_job_templates.json15.4 KB
  • assets/subsection_writer_context.schema.json2.7 KB
  • references/bootstrap_assembly.md1.8 KB
  • references/contrast_moves.md1.1 KB
  • references/eval_anchor_patterns.md1.0 KB
  • references/examples_bad.md760 B
  • references/examples_good.md1009 B
  • references/limitation_moves.md961 B
  • references/opener_catalog.md1.2 KB
  • references/overview.md2.2 KB
  • references/paragraph_job_archetypes.md3.3 KB
  • references/paragraph_jobs.md1.2 KB
  • scripts/run.py103.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Subsection Writer (compatibility router)

Triggers & routing

  • Trigger: subsection writer, per-section writing, split sections, sections/, 分小节写, 按章节拆分写作.
  • Use when: Approve C2 is recorded and writer packs exist (outline/writer_context_packs.jsonl); you want evidence-bounded drafting without a monolithic one-shot draft.

Purpose: write or refine per-section survey prose under sections/ while keeping the current pipeline contract unchanged.

Compatibility mode:

  • output paths stay the same
  • scripts/run.py still handles approval checks, missing-file bootstrap, and sections/sections_manifest.jsonl
  • writing guidance now lives in references/ instead of being encoded primarily in the script

Load Order

Always read:

  • references/overview.md
  • references/paragraph_jobs.md
  • references/paragraph_job_archetypes.md when adjusting paragraph-role behavior or refactoring writer policy out of Python
  • references/bootstrap_assembly.md when reasoning about compatibility-mode bootstrap behavior

Read as needed:

  • references/opener_catalog.md when paragraph 1 sounds generic or narrated
  • references/contrast_moves.md when building A-vs-B comparison paragraphs
  • references/eval_anchor_patterns.md when making performance / robustness / benchmark claims
  • references/limitation_moves.md when adding caveats or local conclusions
  • references/examples_good.md and references/examples_bad.md for calibration only

Machine-readable contract:

  • assets/subsection_writer_context.schema.json
  • assets/bootstrap_paragraph_templates.json
  • assets/paragraph_job_templates.json

Inputs

Required:

  • DECISIONS.md (must include Approve C2)
  • outline/outline.yml
  • outline/writer_context_packs.jsonl (preferred)
  • citations/ref.bib

Optional but useful:

  • outline/subsection_briefs.jsonl
  • outline/evidence_drafts.jsonl
  • outline/evidence_bindings.jsonl
  • outline/anchor_sheet.jsonl
  • outline/chapter_briefs.jsonl

Outputs

Keep the current contract:

  • sections/S<sub_id>.md for H3 bodies
  • sections/sections_manifest.jsonl, refreshed across all section files already produced by the three writer Skills
  • sections/h3_bodies.refined.ok after a model or human has reviewed the generated H3 bodies and is submitting U100 for mandatory acceptance

front-matter-writer owns Abstract, Introduction, Related Work, Discussion, and Conclusion. chapter-lead-writer owns H2 lead blocks. This Skill reads those files while refreshing the shared manifest but does not claim their authorship.

Writer policy

The active rule is move coverage, not paragraph quota. A subsection should cover the necessary argument moves the pack supports; do not pad to a fixed count when the evidence does not justify it.

Opener / ending policy:

  • generate 2-4 opener candidates from the pack's actual tension, contrast, protocol, or limitation signals; keep the most content-bearing option instead of reusing one stock stem everywhere
  • let subsection endings emerge from evidence-bearing comparison / limitation material; do not append a fixed “safest synthesis / decision rule” closer just to make the paragraph feel finished
  • normalize internal axis labels into natural reader prose; slash-style brief handles should remain planning metadata, not leak unchanged into the paper

Script boundary

Use scripts/run.py as a helper only:

  • it may bootstrap missing H3 files and refresh the manifest
  • bootstrap prose is assembled deterministically from writer packs and the versioned template assets; it is inspectable fallback material, not a claim of model authorship or final prose quality
  • it must not be treated as the canonical source of prose shape or voice policy
  • it must not self-certify its bootstrap prose: the script never creates sections/h3_bodies.refined.ok
  • the marker is only U100's submission attestation; it is created before the downstream writer-selfloop, so it cannot mean that the self-loop already passed
  • mandatory acceptance independently compares H3 sentences with the Run-selected writer template assets and rejects literal residue above the Pipeline limit
  • writer-selfloop calls the shared strict section checker, which recomputes the H3 measure before the report can PASS
  • the mandatory pipeline-auditor measures the entire merged draft and writes a scorecard whose verdict and dimensions the Harness projects into the evaluation ledger
  • the current 10% limit is an initial policy target; a published current-contract replay measures 0/226 residue for one retained Artifact set, while clean from-scratch and cross-topic reproduction remain open
  • if the marker predates a writer input or the writer script, it is stale and the next run removes it before regenerating bootstrap prose

Quick Start

  • uv run python .codex/skills/subsection-writer/scripts/run.py --workspace <workspace>

Troubleshooting

  • If the pack is thin, stop and route upstream instead of padding prose.
  • If the subsection sounds narrated, reload references/opener_catalog.md and references/examples_bad.md.
  • If a claim lacks protocol context, reload references/eval_anchor_patterns.md before rewriting.

Execution notes

When running in compatibility mode, scripts/run.py currently consumes:

  • DECISIONS.md for Approve C2
  • outline/outline.yml to enumerate chapter / subsection files
  • outline/writer_context_packs.jsonl as the primary drafting input
  • citations/ref.bib for in-scope citations
  • outline/subsection_briefs.jsonl, outline/evidence_drafts.jsonl, outline/evidence_bindings.jsonl, outline/anchor_sheet.jsonl, and outline/chapter_briefs.jsonl as optional enrichment sources

Script

Quick Start

  • uv run python .codex/skills/subsection-writer/scripts/run.py --workspace <workspace>

All Options

  • --workspace <dir>
  • --unit-id <id>
  • --inputs <a;b;...>
  • --outputs <a;b;...>
  • --checkpoint <C*>

Examples

  • uv run python .codex/skills/subsection-writer/scripts/run.py --workspace <workspace>

Troubleshooting

  • If DECISIONS.md lacks Approve C2, stop and fix approval first.
  • If outline/writer_context_packs.jsonl is thin, reroute upstream instead of padding prose.
  • If citation scope looks wrong, re-check citations/ref.bib and the writer packs before editing output text.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Internal template for creating or refactoring a skill into the repository's reference-first shape. **Trigger**: reference-first template, blueprint skill, create a reusable skill, refactor a script-heavy skill. **Use when**: you need a lean `SKILL.md`, explicit `references/`, machine-readable `assets/`, and a minimal deterministic `run.py`.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

WILLOSCAR/research-units-pipeline-skills5152026년 10월 5일 업데이트

Download a small corpus of open-access arXiv survey/review PDFs about agentic systems and extract text for style learning.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

WILLOSCAR/research-units-pipeline-skills5152026년 10월 5일 업데이트

Extract per-subsection “anchor facts” (NO PROSE) from evidence packs so the writer is forced to include concrete numbers/benchmarks/limitations instead of generic summaries.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

WILLOSCAR/research-units-pipeline-skills5152026년 10월 5일 업데이트

Curate reader-facing survey tables for the Appendix (clean layout + high information density), using only in-scope evidence and existing citation keys.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

WILLOSCAR/research-units-pipeline-skills5152026년 10월 5일 업데이트

Build a final, machine-readable argument snapshot from current H3 sections and refresh section fingerprints before merge.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

WILLOSCAR/research-units-pipeline-skills5152026년 10월 5일 업데이트

Audit one research Workspace for declared Unit outputs and Pipeline target Artifacts, writing `output/CONTRACT_REPORT.md`; use for mid-Run coverage snapshots or final delivery completeness, not deep provenance integrity.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

WILLOSCAR/research-units-pipeline-skills5152026년 10월 5일 업데이트

WILLOSCAR의 스킬 모두 보기

이 스킬의 문제 신고