Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Book Chapter.Improve Text Tags?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/gpsaggese-book-chapter-improve-text-tags)
---
description: Add and improve text tags using bold and italic
model: haiku
---
# Goal
- Review book chapters and add bold and italic where needed
# Workflow
## Gather Context
- Read `.claude/skills/book_map.rules.md`
## Identify Chapters to Process
- For multiple chapters, process each one independently, applying every step below
## Detect File Type
- Detect the type from its extension:
- `.typ`: Typst
- `.tex`: Latex
- `.md`: markdown
- If the extension is missing or ambiguous, infer the type from existing
markup (e.g., `#emph[...]` implies Typst)
## Render Bold and Italic Based on the Type of File
- Render bold:
- `#strong[...]` in Typst
- `\textbf{...}` in Latex
- `**...**` in markdown
- Render italic:
- `#emph[...]` in Typst
- `\textit{...}` in Latex
- `_..._` in markdown
## Detect Chapter Type
- A chapter is Roadmap or Summary type if its title or heading contains
"Roadmap", "Summary", or "Overview"
- Every other chapter is a regular chapter
## Improve Roadmap and Summary Chapters
- Do not use bold
- Use italic for terms that are introduced and important
### Example: Summary Chapter
- **Bad** (no italic on introduced terms)
```text
From there, the discussion turns to the languages available for encoding knowledge,
spanning natural language, programming languages, propositional logic, and
first-order logic, each offering a different point in that tradeoff space. Semantics
then pins down what it means for a knowledge base to be "about" the world: how
symbols are grounded in referents, what a model is, and what it means for a sentence
to be satisfied. Reasoning builds on that semantic foundation by defining entailment
(what follows from what), inference (the mechanical process of deriving new
sentences), and the twin guarantees of soundness and completeness that connect the
two. With these pieces in place, the focus shifts to agents that actually use
represented knowledge: from simple reflex agents, through rule-based systems, to full
knowledge-based agents that maintain an internal knowledge base and query it before
acting. Finally, ontologies provide the large-scale organizational scaffolding,
specifying the categories, relations, and axioms that let knowledge be shared and
reused across tasks and domains.
```
- **Good** (italic marks each introduced term)
```text
From there, the discussion turns to the #emph[languages] available for encoding
knowledge, spanning natural language, programming languages, propositional logic, and
first-order logic, each offering a different point in that tradeoff space.
#emph[Semantics] then pins down what it means for a knowledge base to be "about" the
world: how symbols are grounded in referents, what a model is, and what it means for
a sentence to be satisfied. #emph[Reasoning] builds on that semantic foundation by
defining #emph[entailment] (what follows from what), #emph[inference] (the
mechanical process of deriving new sentences), and the twin guarantees of
#emph[soundness] and #emph[completeness] that connect the two. With these pieces in
place, the focus shifts to #emph[agents] that actually use represented knowledge:
from simple reflex agents, through rule-based systems, to full knowledge-based
agents that maintain an internal knowledge base and query it before acting. Finally,
#emph[ontologies] provide the large-scale organizational scaffolding, specifying the
categories, relations, and axioms that let knowledge be shared and reused across
tasks and domains.
```
## Improve Other Chapters
- Use bold for definitions of a term
- Use italic to highlight important concepts
### Example: Apply Bold to Chapter
- **Bad** (no bold on the defined terms)
```text
KR defines two essential aspects of any encoding. Syntax determines
how knowledge is organized: whether as a flat set of propositions, a hierarchy
of classes and instances, or a graph of interconnected concepts.
Semantics determines what the encoded statements actually mean: the
formal interpretation that lets a reasoner distinguish valid inferences from
invalid ones. Without clear semantics, a knowledge base is just syntax; without
clear structure, it becomes unwieldy as the domain grows.
```
- **Good** (bold marks each defined term)
```text
KR defines two essential aspects of any encoding. #strong[Syntax] determines
how knowledge is organized: whether as a flat set of propositions, a hierarchy
of classes and instances, or a graph of interconnected concepts.
#strong[Semantics] determines what the encoded statements actually mean: the
formal interpretation that lets a reasoner distinguish valid inferences from
invalid ones. Without clear semantics, a knowledge base is just syntax; without
clear structure, it becomes unwieldy as the domain grows.
```
### Example: Apply Italic to Chapter
- **Bad** (no italic on the highlighted concepts)
```text
Machines need to reason about the world, not just recognize patterns. A
medical AI trained on patient data can predict diseases with impressive
accuracy, but to explain a diagnosis to a doctor, it needs structured
knowledge that captures relationships between symptoms, conditions, and
treatments. Without that structure, prediction divorced from reasoning is
often useless.
```
- **Good** (italic marks each highlighted concept)
```text
Machines need to #emph[reason] about the world, not just recognize patterns. A
medical AI trained on patient data can #emph[predict] diseases with impressive
accuracy, but to #emph[explain] a diagnosis to a doctor, it needs structured
knowledge that captures relationships between symptoms, conditions, and
treatments. Without that structure, prediction divorced from reasoning is
often useless.
```
## Write Result
- Update the file with the improved text
# Constraints
- Do not tag a term that is already bold or italic
- Do not change wording: only add tags around existing text
- Limit density to 1-2 tagged terms per paragraph so tags keep their signal
- Leave fenced code blocks, math, and citations untouched
# Verification
- [ ] Diff the file before and after: confirm only tags were added, with no
wording changed, removed, or reordered
- [ ] Confirm tag density is reasonable: not every sentence has a tagged term
- [ ] For Typst or Latex files, render the chapter to confirm the tags compile
without errors