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

paper-format-agent

Use this skill when a user needs to inspect, score, repair, or regression-test academic paper formatting in DOCX files, especially thesis, journal, or conference documents with a separate format specification. The skill guides Codex through local-first document handling, rule extraction, formatting repair, report review, and contribution-safe validation.

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

연동 도구Word
설치 방법 보기

포함된 파일(74)

  • SKILL.md3.5 KB
  • .github/ISSUE_TEMPLATE/bug_report.md321 B
  • .github/ISSUE_TEMPLATE/config.yml394 B
  • .github/ISSUE_TEMPLATE/feature_request.md266 B
  • .github/ISSUE_TEMPLATE/format_rule_request.md883 B
  • .github/ISSUE_TEMPLATE/good_first_issue.md867 B
  • .github/ISSUE_TEMPLATE/reporting_improvement.md876 B
  • .github/ISSUE_TEMPLATE/skill_workflow_request.md581 B
  • .github/PULL_REQUEST_TEMPLATE.md869 B
  • .github/workflows/ci.yml821 B
  • .gitignore415 B
  • AGENTS.md1023 B
  • agents/openai.yaml276 B
  • CODE_OF_CONDUCT.md929 B
  • CONTRIBUTING.md3.9 KB
  • docs/ARCHITECTURE.md830 B
  • docs/BENCHMARK.md2.6 KB
  • docs/CONTRIBUTOR_TASKS.md3.2 KB
  • docs/MCP.md1.9 KB
  • docs/regression_manifest.sample.json412 B
  • docs/TEMPLATE_PACKS.md2.2 KB
  • docs/USAGE.md2.4 KB
  • examples/README.md1.1 KB
  • examples/sample_format_report.json1.2 KB
  • examples/sample_format_report.md817 B
  • examples/synthetic_format_guide.md1.0 KB
  • LICENSE1.1 KB
  • paper_format_agent/__init__.py83 B
  • paper_format_agent/__main__.py96 B
  • paper_format_agent/batch.py3.3 KB
  • paper_format_agent/calibration.py2.0 KB
  • paper_format_agent/cli.py6.1 KB
  • paper_format_agent/engines.py4.4 KB
  • paper_format_agent/gui.py24.8 KB
  • paper_format_agent/llm.py1.2 KB
  • paper_format_agent/mcp_server.py4.5 KB
  • paper_format_agent/ooxml.py786 B
  • paper_format_agent/pipeline.py37.1 KB
  • paper_format_agent/quality.py919 B
  • paper_format_agent/release_audit.py2.2 KB
  • paper_format_agent/rules.py7.4 KB
  • paper_format_agent/scorer.py24.2 KB
  • paper_format_agent/service.py7.9 KB
  • pyproject.toml1.7 KB
  • README.md3.8 KB
  • README.zh-CN.md3.8 KB
  • requirements.txt48 B
  • ROADMAP.md2.9 KB
  • run_gui.py175 B
  • SDD.md2.7 KB
  • SECURITY.md468 B
  • server.json616 B
  • templates/chinese-thesis-basic.json1.7 KB
  • templates/ieee-conference-basic.json1.8 KB
  • templates/journal-article-basic.json1.7 KB
  • templates/README.md1.7 KB
  • tests/test_abstract_variants.py4.8 KB
  • tests/test_batch.py2.4 KB
  • tests/test_benchmark_text_survival.py1.5 KB
  • tests/test_ieee_synthetic.py4.6 KB
  • tests/test_pipeline_guard.py5.4 KB
  • tests/test_quality.py1.1 KB
  • tests/test_release_audit.py2.0 KB
  • tests/test_rules.py1.8 KB
  • tests/test_scorer_diagnostics.py2.9 KB
  • tests/test_service.py2.8 KB
  • tests/test_skill_metadata.py280 B
  • tests/test_templates.py1.8 KB
  • tools/benchmark_text_survival.py8.9 KB
  • tools/compile_check.py1002 B
  • tools/demo_content_guard.py3.2 KB
  • tools/regression_runner.py3.6 KB
  • tools/release_audit.py2.3 KB
  • tools/validate_skill.py2.2 KB

SKILL.md(원문)

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

Paper Format Agent

Use this skill for local-first academic document formatting work. It is designed for .docx papers and a separate format specification in .docx, .doc, or .txt.

Safety Defaults

  • Never upload private papers or format guides to external services unless the user explicitly asks for it.
  • Treat student papers, manuscripts, reviewer comments, and school templates as sensitive data.
  • Do not change academic content unless the user explicitly opts in. Default to formatting-only changes.
  • Keep reports and generated documents in a user-provided output directory.

Standard Workflow

  1. Confirm the input files:
    • --format-file: format guide or template text.
    • --paper-file: source paper, currently .docx.
    • --out-dir: output directory for reports and generated documents.
  2. Run the CLI in formatting-only mode:
python -m paper_format_agent.cli \
  --format-file "format_guide.docx" \
  --paper-file "paper.docx" \
  --out-dir "./output" \
  --engine auto \
  --strict-required-sections
  1. Inspect generated artifacts:
    • formatted_paper_v3.docx: repaired document.
    • format_rules.json: extracted rules.
    • format_report.json: machine-readable score and checks.
    • format_report.html: human-readable report.
    • modify_log.json: formatting operations.
    • engine_report.json: post-processing engine result.
  2. Check the content guard fields in format_report.json:
    • content_changed should normally be false.
    • content_guard_enforced should normally be true.
  3. If a rule is wrong, update rule extraction or scoring logic and add a minimal test case.

Validation

Run these before handing work back:

python tools/validate_skill.py
python -m unittest discover -s tests -p "test_*.py"
python tools/compile_check.py
python tools/release_audit.py

When Adding Template Support

  • Add the smallest representative rule text needed to reproduce the behavior.
  • Prefer deterministic rule extraction over LLM-only interpretation.
  • Add tests for extracted margins, font size, line spacing, required sections, headings, captions, or references.
  • Do not commit real student documents. Use synthetic text or anonymized fixtures.

When Reviewing Output

Read format_report.json first, then inspect format_report.html if the user needs a human-readable summary. Prioritize issues in this order:

  1. Content changed unexpectedly.
  2. Required sections or headings were misclassified.
  3. Page setup, margins, fonts, or line spacing are wrong.
  4. Captions, references, tables, or numbering look wrong.
  5. Report wording or score explanation is unclear.

Contribution-Friendly Tasks

Good first PRs usually fit one of these buckets:

  • Add a synthetic test for a school, journal, or conference formatting rule.
  • Improve a rule extractor with a narrowly scoped regex or parser.
  • Improve report clarity without changing scoring semantics.
  • Add a regression case to docs/regression_manifest.sample.json.
  • Improve this skill workflow or agents/openai.yaml metadata.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

이 스킬의 문제 신고