Install
$ agentstack add skill-victoraurelius-claude-starter-kit-thesis-citation-extract ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Thesis Citation Extract Skill
Tự động extract [N] citation keys từ thesis chapter markdown + verify chéo với canonical bibliography (documents//references/bibliography.md) theo IEEE format. Phát hiện 2 loại orphan: broken refs (cite trong body nhưng không có entry) + dead weight (entry trong bib nhưng không được cite). Output JSON cache vào data/last-run.json để track delta giữa các lần audit.
Khi nào dùng
- Trước khi flip
documents//**chapter PR sang DONE - Audit thesis V1/V2/V3 trước defense GVHD/GVPB
- Thesis closure sub-task — verify cite hygiene
- Phát hiện citation drift sau khi user thêm/sửa bibliography
Quy trình (≈3 phút)
- Extract — chạy
bash scripts/extract-citations.sh→ outputfilename:line:cite_keycho mọi[N]/[N, M]/[N]–[M]trong body. Range expand thành cá nhân ([5]–[7]→ 5, 6, 7); danh sách[1, 4, 9]tách 1+4+9. - Verify — chạy
bash scripts/verify-citations.sh→ so sánh tập cite (body) vs tập entry (bib). Output 3 nhóm + báo cáo summary stdout + ghi JSON cache vàodata/last-run.json. - Interpret — đọc summary:
- ✅
matched: N— cite có entry, OK - ⚠️
orphan-body: N— cite trong body nhưng KHÔNG có entry bib → broken reference (fix bib hoặc xóa cite) - ⚠️
orphan-bib: N— entry trong bib nhưng KHÔNG được cite → dead weight (xóa entry hoặc thêm cite trong body)
- Self-test —
bash scripts/self-test.shvalidate logic trên 3 fixture (good / bad-orphan-body / bad-orphan-bib).
Skill contents
reference/ieee-citation-rules.md— quy ước IEEE in-text + bibliography flat list format (project canonical)reference/orphan-detection.md— định nghĩa 2 loại orphan + decision tree fixscripts/extract-citations.sh— parser regex\[[0-9]+\]với range expansionscripts/verify-citations.sh— set-diff body cites vs bibliography entriesscripts/self-test.sh— synthetic fixtures verify extract + verify logicdata/last-run.json— cache lần verify gần nhất (delta tracking, generated at runtime)
Gotchas
- Bibliography flat list — recommended convention: bibliography renumbered sang single sequential
[1]...[N]flat (NOT per-chapter sections). Section headings## Chapter Nchỉ là grouping cho reader; cite key độc lập section. - Range expansion —
[5]–[7]dùng em-dash–(U+2013), KHÔNG phải hyphen-. Parser support cả 2 (em-dash + hyphen) để phòng typo. - List separator —
[1, 2]dùng comma + space; parser tolerate[1,2](no space) và[1 ,2](trailing space). - Code block exclusion — KHÔNG parse
[N]trong code fence ``````(vdarray[1]` Java code). Parser skip lines giữa code fence markers. - Markdown link false-positive —
[text](url)link syntax có[]nhưng KHÔNG phải cite. Parser yêu cầu content trong[]PHẢI là số nguyên thuần (^[0-9]+$). - Bibliography entry regex — entry line PHẢI bắt đầu chính xác
[N]đầu line (không indent). Indent line bị skip vì có thể là continuation hoặc quote. - Backup file scope — KHÔNG include
chapter-*-backup-YYYY-MM-DD.mdtrong verify mặc định. Backup là snapshot, không phản ánh current cite state. - Out of scope: scope của skill này — chỉ extract + verify, KHÔNG sửa source. Người dùng tự fix (sửa bib hoặc body) sau khi nhìn report.
- Adapt to your project's path layout — default
documents//references/bibliography.md. Adjust scripts/args nếu layout khác (vdthesis/references/).
Related
documents//references/bibliography.md— canonical bibliography (flat IEEE list)documents//references/CITATION-STYLE.md— IEEE format spec (in-text + entry templates) [recommended companion doc].claude/rules/skill-conventions.md— skill structure mandate.claude/rules/thesis-content-standard.mdC3 Bibliography category — this skill closes C3 audit gap (100% inline cite utilization + orphan detection)- Sister skill:
quality/thesis-figure-curation/SKILL.md(closes C7 Diagram + figure rendering category)
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: VictorAurelius
- Source: VictorAurelius/claude-starter-kit
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.