Skip to content

About

Fiskwise knowledge pack for scientific writing, reproducible documents, and review

Resources

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Part of Fiskwise

✍️ wise-writing — Write scientific documents with AI agents

Version 0.2.1 (2026-11-05)

This repository is part of Fiskwise, with its project hub. See MIGRATION.md for repository and local config migration notes.

Teach your AI agent to write like a scientist — one style, one set of technical conventions, and six ready document templates.

wise-writing is a knowledge pack that turns a general coding agent (Claude Code, Codex, Cursor, Mistral, a local model, …) into a competent, supervised co-author for academic writing in ecology and fisheries science. It carries:

  1. A writing style — accountability, tense, hedging, numbers, units, species names, figure and table wording. Editor-independent: it applies in Quarto, Word, LaTeX, or a plain text box.
  2. Technical conventions — reproducible Quarto and R: project structure, YAML, BibTeX, ICES figure widths, inline R instead of hard-coded numbers, local Git, rendering to HTML, Word, and PDF.
  3. Six document templates — manuscript, data report, cruise report, assessment report, advice sheet, benchmark report. Each is a skill plus a runnable .qmd skeleton.

You are the author. The pack encodes the ICMJE Recommendations: a language model is never an author, its use is disclosed in the methods, and the humans remain accountable for every word. It is not a trained model — your text never enters any model's weights. The agent simply reads this repo while it helps you.

🚀 Quickstart

  1. Install it. Type this to your agent:

    install https://github.com/DeepWaterIMR/wise-writing
    

    It clones the repo and installs its skills individually into your agent's global skills folder, once per machine. Matching symlinks stay linked to the checkout; other entries are backed up before replacement. See skills/academic-writing-install.

  2. Start a document within a project:

    Let's write this year's assessment report for beaked redfish, using
    wise-writing. The previous report is in docs/old_reports.
    

    The agent agrees the structure and the figures with you, scaffolds a project, and starts writing.

  3. Or just fix some prose. The style skill works on its own, in any editor:

    This paragraph reads like a chatbot wrote it. Fix it using academic-style.
    

Manual install: clone the repo and open your agent in the folder, or point its instructions at <clone>/skills/. Nothing here needs a network connection at use time.

🗂️ What's inside

Folder Contents
skills/ Fifteen skills, including shared R code, package setup, and Quarto reporting guidance
project-template/ The project skeleton a scaffolded project gets, with the shared R helpers and the six .qmd skeletons
examples/ A filled-in config.yaml to copy
scaffold.R scaffold_document() — creates a project from config.yaml
config/ validate-skills.R, the structural and privacy check

🧭 The skills

Skill What it does
academic-style How the prose must read. Ten rules, plus eight reference files on IMRaD structure, sentences, distinctions, citations, floats, field conventions, AI disclosure, and checklists
academic-conventions How the document is built. Project structure, YAML, bibliography and CSL, packages, rendering, Git
academic-manuscript Helps initiate paper writing for journal submission
academic-data-report An internal reproducible analysis opening with bullet-point key messages, every chunk visible but folded
academic-cruise-report A survey metadata report, with Word output for the institute web-report system
academic-assessment-report A chapter for ICES, AFWG, JRN-AFWG, or IMR stock assessment reports
academic-advice-sheet A fishing-opportunities advice sheet for IMR, JRN-AFWG, or ICES assessments
academic-benchmark-report A full revision of an assessment method, and its stock annex
scientific-quarto-review Review and audit an existing .qmd or .Rmd
r-code-style Tidyverse-oriented R style, documentation, formatting, and focused checks
r-package-setup Consent-aware CRAN/GitHub package loading; renv-aware
quarto-reporting General HTML, Word, and PDF report workflow and QA
academic-toolchain-setup Install Git, R, Quarto, Rtools, TinyTeX. Windows first
academic-writing-install · academic-writing-update Set the pack up, and keep it current

🔒 Privacy and scope

This repo is public and contains instructions and document templates only — never data. No research records, no private paths, no coordinates. Real data lives only in the project folder the agent generates for you, where data/, logs/, and figures/ are git-ignored.

Documents are written locally, committed to a local Git repository with no remote by default, and never pushed without you asking.

🧰 Siblings

wise-writing is deliberately general-purpose. Domain machinery lives elsewhere:

  • BAIT — IMR Biotic data access, privacy, maps, life history.
  • index-wise — sdmTMB spatiotemporal survey indices.
  • spict-wise — SPiCT biomass-dynamic stock assessments.
  • wise-presentations — Quarto RevealJS slides for scientific presentations.

Install whichever you need alongside; the skills stay out of each other's way.

index-wise and spict-wise build on wise-writing rather than beside it: they generate projects in this pack's layout and defer to its style and document skills. spict-wise goes further and calls scaffold_document() directly, overlaying its SPiCT layer on the project that produces, so there is one copy of the shared layout, helpers, and rendering pipeline and it lives here. A fix to docs/render.R, R/0_setup.R, or a document skeleton belongs in this repo; the analyses that fill them belong in theirs. The chain runs BAIT → index-wise → spict-wise: Biotic data becomes a survey index, the index becomes a stock assessment, and wise-writing turns each stage into a document someone can read.

🚨 You are still in charge

The agent drafts, checks, and formats. It does not decide what is true. Every claim traces to code, a displayed result, or a verified source; anything it cannot verify comes back to you marked [VERIFY] rather than smoothed over. Read what it wrote before you sign it.

🙋 Contributing

See CONTRIBUTING.md. Run Rscript config/validate-skills.R before opening a pull request.

📄 Licence

MIT, except the bundled institutional templates and citation style, which keep their own terms — see LICENSE.

Start with an example

The wise-writing overview shows the shared core, an example request and standalone installation. It is generated from the Fiskwise inventory; the detailed skills and templates remain authoritative here.

About

Fiskwise knowledge pack for scientific writing, reproducible documents, and review

Resources

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages