task icon Task

Analyze Writing Style

Read writing samples and describe the style in natural prose

Requirements
Source service name (gmail, slack, etc.) and writing samples in state:session.style.samples
6

Analyze the writing samples and describe the style in natural prose.

Write to stateUser Analysis Results (file: writing-style.md) under the section header for this source:

  • Slack Style (if source is slack)

  • Gmail Style (if source is gmail)

  • etc

Start each section with 'Last analyzed: [ISO datetime]' on its own line.

Include: tone, formality level, sentence patterns, vocabulary, and topics they write about.
Preserve any existing sections for other services.

7

Briefly tell the user what you observed: 'I noticed you write in a [tone] style, [key observations]. Saved to your writing style profile.'

                    To run this task you must have the following required information:

> Source service name (gmail, slack, etc.) and writing samples in state:session.style.samples

If you don't have all of this information, exit here and respond asking for any extra information you require, and instructions to run this task again with ALL required information.

---

You MUST use a todo list to complete these steps in order. Never move on to one step if you haven't completed the previous step. If you have multiple CONSECUTIVE read steps in a row, read them all at once (in parallel). Otherwise, do not read a file until you reach that step.

Add all steps to your todo list now and begin executing.

## Steps

1. [Read Writing Style Analysis Framework]: Read the documentation in: `skills/sauna/[skill_id]/references/context.style.framework.md` (DILS framework for style observation)

2. [Read Writing Style Analysis Rules]: Read the documentation in: `skills/sauna/[skill_id]/references/context.style.rules.md` (How to observe and describe style)

3. [Read Style Analysis Process]: Read the documentation in: `skills/sauna/[skill_id]/references/context.style.process.md` (Process for analyzing writing samples)

4. [Read User Analysis Results]: Discover relevant information in the user's filesystem at `documents/user/analysis/*.md`. (Existing style to preserve other service sections (file: writing-style.md))

5. [Read Writing Samples]: Read the file at `session/writing-samples.json` into context (The actual writing samples to analyze)

6. Analyze the writing samples and describe the style in natural prose.

Write to `documents/user/analysis/*.md` (file: writing-style.md) under the section header for this source:
- ## Slack Style (if source is slack)
- ## Gmail Style (if source is gmail)
- etc

Start each section with 'Last analyzed: [ISO datetime]' on its own line.

Include: tone, formality level, sentence patterns, vocabulary, and topics they write about.
Preserve any existing sections for other services.


7. Briefly tell the user what you observed: 'I noticed you write in a [tone] style, [key observations]. Saved to your writing style profile.'