agentleFS
letitbkletitbk/claude-academic-setup/skills/discuss-claims/SKILL.md

discuss-claims

Skill46 starsChanged 9 months agoMITView on GitHub

Use when the user wants to create GitHub issues for internal team discussion of core empirical claims in a research paper, or when the user says "post issues", "create claim issues", "set up GitHub discussion", or "discuss findings on GitHub".

  • Commits and pushes

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run these checks before touching GitHub.

    line 26
  2. Very specific:

    PNG rule: Always link .png files, never .pdf.

    line 65
  3. Very specific:

    Ask the user how many claims there are.

    line 69
  4. Distinctive:

    Always create this first so it gets the lowest issue number.

    line 82
  5. Distinctive:

    No labels. No milestone. No reviewer instructions.

    line 87

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Discuss Claims

Post self-contained GitHub issues for internal team discussion of core empirical claims. Each issue covers one claim: motivation, methods, findings (with inline figure/table links), interpretation, implications, and limitations.

When to Use

  • User wants to share analysis findings with co-authors via GitHub Issues
  • User says "post issues", "create claim issues", "discuss on GitHub", "set up review"
  • Analysis pipeline is complete and output files exist

When NOT to Use

  • User wants a formal reviewer template with feedback/decision boxes (this skill creates discussion threads, not review forms)
  • Repo is public and findings are embargoed
  • Output files have not been generated yet

Workflow

Phase 0: Pre-flight

Run these checks before touching GitHub. Fix any failures before proceeding.

# 1. Issues enabled?
gh repo view OWNER/REPO --json hasIssuesEnabled

# 2. Existing [DISCUSS] issues?
gh issue list --state open | grep "\[DISCUSS\]"

# 3. Find untracked output files and auto-commit them
git ls-files --others --exclude-standard output/
# If any exist: git add output/ && git commit -m "Add output files for co-author review" && git push

CRITICAL — broken links are the #1 failure mode: GitHub blob links return 404 if the file is not committed and pushed. Always verify with git ls-files --error-unmatch <file> for at least a sample of referenced figures/tables before creating any issue.

Phase 1: Collect Project Metadata

Infer from git or ask the user:

  • GitHub repo: owner/repo (infer from git remote get-url origin)
  • Branch: master or main (infer from git symbolic-ref refs/remotes/origin/HEAD)
  • Output directories: where figures and tables live (default: output/figures/, output/tables/)

Construct the base blob URL:

https://github.com/OWNER/REPO/blob/BRANCH/PATH/TO/file.png

Phase 2: Discover Output Files

Scan the output directories and build a menu for the user to pick from per claim:

ls output/figures/*.png   # PNG only — PDFs do NOT render inline on GitHub
ls output/tables/*.csv
ls output/reports/*.md
ls code/                  # analysis scripts

PNG rule: Always link .png files, never .pdf. GitHub renders PNG inline; PDFs show as download links only.

Phase 3: Collect Claim Content (interactive, repeat N times)

Ask the user how many claims there are. Then for each claim, collect via AskUserQuestion or open-ended prompts:

  1. 1-sentence claim statement (becomes the issue title: [DISCUSS] Claim N: ...)
  2. Motivation: Why this analysis? What gap or puzzle does it address?
  3. Method: What is the estimand? What design/scripts were used?
  4. Key numbers: The 3–5 most important statistics
  5. Figures + tables: User picks from the discovered file list (Phase 2)
  6. Interpretation: What does the finding mean substantively?
  7. Implications: Why does it matter for the paper's contribution?
  8. Limitations (optional): Caveats and open questions

Phase 4: Create Master Tracker (Issue #1)

Always create this first so it gets the lowest issue number. Body contains:

  • One-paragraph project description
  • Navigation table: | Issue | Claim | One-line summary |
  • Links to findings report, scripts dir, figures dir, tables dir

No labels. No milestone. No reviewer instructions.

Phase 5: Create Claim Issues (Issues #2 onward)

For each claim, create one issue using this structure:

## Motivation
[Why this analysis / what gap it fills]

## Data & Method
[Estimand, design, identification strategy]
**Scripts**: [script1.R](blob-url) · [script2.R](blob-url)

## Findings
[Key numbers in a table or bullets]

**Figures**:
- [figXX.png](blob-url) — [what to look at]

**Tables**: [tabXX.csv](blob-url) · ...
**Script reports**: [report.md](blob-url) · ...

## Interpretation
[What the pattern means]

## Implications
[Why it matters for the paper]

## Limitations & Open Questions
[Caveats, future directions — optional but encouraged]

Never include: labels, milestones, reviewer feedback sections, decision boxes, or tagging conventions like [SUBSTANTIVE].

Phase 6: Output

  1. Print a summary table of all created issues with URLs.
  2. Open the tracker in the browser: gh issue view 1 --repo OWNER/REPO --web

Quick Reference

StepCommand
Check Issues enabledgh repo view OWNER/REPO --json hasIssuesEnabled
Find untracked outputsgit ls-files --others --exclude-standard output/
Auto-commit outputsgit add output/ && git commit -m "Add output files" && git push
Verify file trackedgit ls-files --error-unmatch output/figures/fig.png
Create issuegh issue create --repo OWNER/REPO --title "..." --body "..."
Remove labels if presentgh issue edit N --repo OWNER/REPO --remove-label "label1,label2"
Open in browsergh issue view N --repo OWNER/REPO --web

Common Mistakes

MistakeFix
Link to untracked files → 404git ls-files --error-unmatch on sample files; auto-commit output/ first
Use PDF linksSwitch to .png — PDFs don't render inline on GitHub
Include reviewer structureThis skill makes discussion threads: no feedback boxes, no decision fields
Create claim issues before trackerTracker must be first to get the lowest issue number
Add labelsNever add labels — always create clean, unlabeled issues
Use raw GitHub URLsUse blob URLs — renders PNG inline and CSV as formatted table

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.