Add a new journal to the MedSci Skills profile database. Extracts metadata from author guidelines, generates write-paper (detailed) and find-journal (compact) profiles in canonical format with quality gates.
You are helping a medical researcher add a new journal to the MedSci Skills profile database. You generate two reference profiles per journal -- a detailed write-paper profile (~100-150 lines) and a compact find-journal profile (~30 lines) -- using the journal's author guidelines as the primary data source.
${CLAUDE_SKILL_DIR}/../write-paper/references/journal_profiles/${CLAUDE_SKILL_DIR}/../find-journal/references/journal_profiles/If the user provides only a journal name without a URL, ask for the Author Guidelines URL before proceeding. The guidelines page is the single most important data source for accurate profile generation.
Before any data extraction, check whether the journal already exists:
Glob both directories:
${CLAUDE_SKILL_DIR}/../write-paper/references/journal_profiles/*.md
${CLAUDE_SKILL_DIR}/../find-journal/references/journal_profiles/*.md
Filename match: Normalize the journal name (spaces to underscores, remove special characters) and check for an exact filename match.
Abbreviation match: Grep existing profiles for the journal's common abbreviation (e.g., "JCO" for Journal of Clinical Oncology).
Extract the following. Mark any field that cannot be determined as [TODO: verify at journal site].
For write-paper profile:
| Field | Example |
|---|---|
| Full name | Journal of Clinical Oncology |
| Abbreviation | J Clin Oncol |
| Publisher | Wolters Kluwer (ASCO) |
| ISSN (print/online) | 0732-183X / 1527-7755 |
| Frequency | 36 issues/year |
| Impact Factor (with year) | ~45.3 (JCR 2023) |
| OA model | Hybrid |
| Acceptance rate | ~10-15% |
| Peer review type | Single-blind, 2-3 reviewers |
| Manuscript types with limits | Table: type, word limit, abstract, references, figures |
| Abstract format | Structured/unstructured, headings, word limit |
| Required sections | For Original Article |
| Statistical requirements | p-value format, CI, effect sizes |
| Figure specs | DPI, format, color, max count |
| Cover letter requirements | What to include |
For find-journal profile:
| Field | Example |
|---|---|
| Scope paragraph | 1-2 sentence scope description |
| Scope keywords | Comma-separated, 15-20 keywords |
| Article types | List of accepted types |
| Classification | Tier (Q1/Q2), OA, Field |
Present extracted metadata as a structured summary. Ask the user:
Do NOT proceed to Phase 3 until user confirms or provides corrections.
Read ONE existing write-paper profile from a similar field as a format reference:
| Field | Template to Load |
|---|---|
| Radiology | Radiology.md or European_Radiology.md |
| General medicine | The_BMJ.md or JAMA.md |
| Medical education | Medical_Education.md or BMC_Medical_Education.md |
| AI / digital health | npj_Digital_Medicine.md or JMIR.md |
| IR / interventional | CVIR.md or JVIR.md |
| Surgery | Annals_of_Internal_Medicine.md |
| Other | The_BMJ.md (safest general template) |
Also read ONE existing find-journal profile from any field for the compact format reference.
Follow the canonical 11-section order exactly:
# Journal Profile: {Full Name}
## Journal Identity
- **Full name**: {name}
- **Abbreviation**: {abbrev}
- **Publisher**: {publisher}
- **ISSN**: {print} (print), {online} (online)
- **Frequency**: {frequency}
- **Impact Factor**: ~{IF} (JCR {year})
- **Open Access**: {OA model}
- **Acceptance rate**: ~{rate}
- **Peer review**: {type}
## Manuscript Types and Word Limits
| Type | Body Word Limit | Abstract | References | Figures/Tables |
|------|----------------|----------|------------|----------------|
| Original Article | {limit} | {limit} | {limit} | {limit} |
| ... | ... | ... | ... | ... |
---
## Abstract Requirements
{Structured or unstructured. Show format as code block if structured.}
---
## Required Sections (Original Article)
1. **Introduction**
2. **Methods**
- {subsections}
3. **Results**
4. **Discussion**
5. **{Other required sections if any}**
---
## Statistical Reporting
- {p-value format}
- {CI requirements}
- {Effect size requirements}
- {Software identification requirement}
- {Journal-specific statistical requirements}
---
## Figures
- **Maximum**: {N figures/tables}
- **Resolution**: {DPI} minimum
- **Format**: {accepted formats}
- **Color**: {policy}
---
## Common Rejection Reasons
1. {reason}
2. {reason}
3. {reason}
4. {reason}
5. {reason}
---
## Cover Letter
Should include:
- {requirements}
---
## AI Writing Disclosure Policy
- **Requirement level:** {Required / Recommended / Not specified — follows ICMJE recommendations}
- **Permitted scope:** {Language editing only / All tasks / describe specific policy}
- **Disclosure location:** {Methods / Acknowledgments / Cover letter / Submission form}
- **AI-generated images:** {Banned / Must be declared / Not specified}
- **Policy URL:** {URL to journal's AI policy page, or author guidelines URL if no dedicated page}
<!-- Use WebFetch to check the journal's Author Guidelines for AI policy.
If no specific AI policy found, use ICMJE default:
- Requirement level: Not specified — follows ICMJE recommendations
- Permitted scope: Language editing only — per ICMJE 2025
- Disclosure location: Methods
- AI-generated images: Not specified
- Policy URL: [author guidelines URL] (no dedicated AI policy page)
Add [VERIFY] tag if uncertain about any field. -->
---
## Author Guidelines URL
{URL}
---
## Positioning
{When to submit here. When NOT to submit here.}
| Dimension | {This Journal} | {Competitor 1} | {Competitor 2} |
|-----------|---------------|----------------|----------------|
| Society | ... | ... | ... |
| Scope | ... | ... | ... |
| Impact factor | ... | ... | ... |
| Emphasis | ... | ... | ... |
Follow the canonical 5-section format exactly:
# {Full Name}
## Identity
- **Abbreviation:** {abbrev}
- **Publisher:** {publisher}
- **ISSN:** {print} / {online}
- **Homepage:** {URL}
- **Author guidelines:** {URL}
## Scope
{1-2 sentence scope description.}
## Scope Keywords
{comma-separated keywords, 15-20 terms}
## Article Types Accepted
- Original Article
- Review Article
- ...
## Classification
- **Tier:** {Q1/Q2}
- **Open Access:** {Full OA / Hybrid / Subscription}
- **Field:** {field}
## Special Notes
{2-3 sentences on positioning, unique aspects, society affiliation.} AI policy: {1-line summary from write-paper profile's AI Writing Disclosure Policy section — e.g., "language editing only, dual disclosure required, AI images banned." or "follows ICMJE — disclose AI use in Methods."}
Present BOTH complete draft profiles to the user. Ask:
Do NOT write files until user approves both profiles.
Convert journal name to filename: spaces to underscores, remove special characters.
Examples:
Journal_of_Clinical_Oncology.mdJACC.mdThe_Lancet_Oncology.mdJAMA_Network_Open.mdWrite the write-paper profile to:
${CLAUDE_SKILL_DIR}/../write-paper/references/journal_profiles/{filename}.md
Write the find-journal profile to:
${CLAUDE_SKILL_DIR}/../find-journal/references/journal_profiles/{filename}.md
After writing, count the actual files in both directories using Glob:
Glob: ${CLAUDE_SKILL_DIR}/../write-paper/references/journal_profiles/*.md
Glob: ${CLAUDE_SKILL_DIR}/../find-journal/references/journal_profiles/*.md
Compute total = find-journal count + write-paper count.
Update all count references in these files:
find-journal/SKILL.md -- update every occurrence of the old counts:
description: line (total count)Use Grep to find all numeric count references before updating. Use replace_all when
the same number appears multiple times.
README.md -- update:
Report to user:
git add -A && git commit to commit changes"When the user wants to add multiple journals in one session:
This avoids updating counts N times for N journals.
[TODO: verify at journal site].Every write-paper profile MUST include a Statistical Reporting section. If the journal's author guidelines do not specify statistical requirements, use these defaults and note they should be verified:
The Positioning section should include a comparison table against 2-3 similar journals,