Skip to content
Back to skills

Docs

ASecurity

To write a book in markdown, built up from parts, chapters, sections, subsections, etc. Optionally, translate it into latex.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
documentationapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill docs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Docs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Docs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-docs-meta-skill-evloving/badge)](https://www.skillsdirectory.com/skills/david-li0406-docs-meta-skill-evloving)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Book skill

## Purpose

To write a book in markdown, built up from parts, chapters, sections, subsections, etc. Optionally, translate it into latex.

## Commands

Commands

- Initialise
  - {template} which template to use
  - {use-parts} whether parts should be used or not. Defaults to true.
  - {install cli} whether to install the booktool cli
- New chapter
  - {where} specify where the new chapter will be created
  - {prompt} specify what the new chapter will be about in the prompt
- latex
  - {action} compile or translate, default value is compile
  - {chapter} path to chapter, if not set do the action for the whole book
  - create main run the

## Structure

A book follows a pre-made structure:

- src
  - md
    - 100-frontmatter
      - docs
      - figures
      - references
      - frontmatter.md
    - 2XX-part-name-of-part
      - XX-ch-name-of-chapter
        - docs
        - figures
        - references
        - chXX-name-of-chapter.md
        - secXX-name-of-section.md
    - 3XX-appendix
      - docs
      - figures
      - references
      - appXX.md
    - 400-backmatter
      - docs
      - figures
      - references
      - backmatter.md
    - config.yaml
    - outline.md
    - main.md

Variants:
    ⁃    skip parts, only use chapters - use a variable to toggle parts on and off

Comments
    ⁃    config.yaml contains all the configuration parameters for the project
    ⁃    frontmatter.md - contains all the frontmatter parts like coverpage, colophone, toc, preface etc
    ⁃    backmatter.mf - contains all the backmatter parts like bibliography, list of figures, index, etc
    ⁃    docs-folder contains any non-scientific source used for the content creation
    ⁃    references-folder contains all scientific sources used in the parent folder.. Each has a summary file: `<name-of-source>`-summary.md and optionally an exact source file, saved as `<name-of-source>`-source.md. In addition, there is a references.bib file, holding the shortcut references, used to cite the references:
    ⁃    references
    ⁃    references.bib
    ⁃    `<name-of-source>`-source.md
    ⁃    `<name-of-source>`-summary.md

How to create main.md

Run a script: create-main.py

    ⁃    concatenates from top to bottom

    ◦    Add language to the skill - this is the language the book is written in
    ◦    Template - this is the template of the book uses to create the book

## PK-rutine

1. Nytt kapittel 2 (første iterasjon)
   1. Si hva det dreier seg om - les de 11 områdene - lag kap 2 ihh skill
   2. SKILL
   3. Som i kap 1
   4. Tilsvarende kap 2
2. Endringsprosess (iterativ)
   1. Leser gjennom selv
   2. Halvside per halvside
   3. Tar gjerne bilde og påpeker endring
   4. Dette tar tid
   5. Fagterm - punchline - forklaring - må si ifra
3. Referanser legge til til SLUTT
   1. Vanlige referanser i tekst som skal bakerst
   2. Spesifikke anbefalte referanser som er relevant til slutt i kapittelet
   3. PK. Sjekker at linkene eksisterer
   4. BIB fikser AI ihht APA 7

Files in this skill

  • book-skill.md3 KB
  • image_prompts.md6.8 KB
  • latex_reference.md3.6 KB
  • subfile.md33.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…