@xynogen/pix-skills 0.10.0 → 0.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -22
- package/package.json +1 -1
- package/skills/ask-user.md +34 -43
- package/skills/audit.md +27 -30
- package/skills/bootstrap.md +19 -43
- package/skills/brainstorm.md +10 -51
- package/skills/cicd.md +17 -30
- package/skills/clone.md +19 -18
- package/skills/command-runner.md +7 -15
- package/skills/commit.md +22 -65
- package/skills/composio-mcp.md +24 -34
- package/skills/debug.md +18 -53
- package/skills/diff.md +8 -19
- package/skills/environment.md +21 -43
- package/skills/explain.md +27 -28
- package/skills/finish.md +24 -57
- package/skills/format.md +1 -1
- package/skills/handoff.md +24 -99
- package/skills/harden.md +18 -22
- package/skills/human/SKILL.md +177 -0
- package/skills/{human.md → human/references/patterns.md} +58 -252
- package/skills/human/references/profiles.md +86 -0
- package/skills/lint.md +1 -1
- package/skills/lsp.md +7 -11
- package/skills/readme.md +19 -25
- package/skills/review.md +30 -40
- package/skills/runner/SKILL.md +130 -0
- package/skills/runner/references/justfile.md +47 -0
- package/skills/runner/references/makefile.md +33 -0
- package/skills/runner/references/mise.md +88 -0
- package/skills/runner/references/npm-scripts.md +27 -0
- package/skills/runner/references/run-sh.md +46 -0
- package/skills/runner/references/taskfile.md +50 -0
- package/skills/search.md +22 -32
- package/skills/subagent.md +37 -353
- package/skills/suggest.md +10 -38
- package/skills/task.md +17 -37
- package/skills/tdd.md +1 -1
- package/skills/test.md +13 -46
- package/skills/tldr.md +12 -22
- package/skills/toon-json.md +11 -35
- package/skills/ui.md +8 -19
- package/skills/verify.md +14 -44
- package/skills/runner.md +0 -419
package/skills/handoff.md
CHANGED
|
@@ -1,129 +1,54 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: handoff
|
|
3
|
-
description:
|
|
3
|
+
description: Toggles a session handoff through HANDOFF.md — writes one when none exists (giving mode), or reads and deletes it when it exists (receiving mode). Use when the user says "handoff", is ending a session and wants the next one to continue, or starts a session that should pick up previous work.
|
|
4
4
|
disable-model-invocation: true
|
|
5
5
|
---
|
|
6
|
+
# Handoff
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
## 1. Find the root
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
Use the path the user named. Else run `git rev-parse --show-toplevel`. If still unclear, ask which directory to use. Refer to it as the root; do not set a shell variable.
|
|
10
11
|
|
|
11
|
-
|
|
12
|
+
## 2. Detect the mode
|
|
12
13
|
|
|
13
|
-
|
|
14
|
+
`HANDOFF.md` exists in the root → **receive**. It does not exist → **give**.
|
|
14
15
|
|
|
15
|
-
##
|
|
16
|
+
## Give
|
|
16
17
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
Resolve the directory where `HANDOFF.md` should live:
|
|
20
|
-
|
|
21
|
-
- User mentioned a specific path/repo in the prompt? Use that as root.
|
|
22
|
-
- Otherwise: use the `bash` tool to run `git rev-parse --show-toplevel` from the relevant directory.
|
|
23
|
-
- Still unclear? Ask: "Which directory is the repo root for this handoff?"
|
|
24
|
-
|
|
25
|
-
Call this resolved path **REPO_ROOT** in your reasoning only — never pass it as a shell variable.
|
|
26
|
-
|
|
27
|
-
### Step 2: Detect Mode
|
|
28
|
-
|
|
29
|
-
Use the `bash` tool to check if `HANDOFF.md` exists in REPO_ROOT:
|
|
30
|
-
|
|
31
|
-
```
|
|
32
|
-
bash: ls <REPO_ROOT>/HANDOFF.md
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
- File found → **Receiving Mode**
|
|
36
|
-
- File not found (error/empty) → **Giving Mode**
|
|
37
|
-
|
|
38
|
-
---
|
|
39
|
-
|
|
40
|
-
### Giving Mode
|
|
41
|
-
|
|
42
|
-
> No `HANDOFF.md` found. This session closing.
|
|
43
|
-
|
|
44
|
-
**Step 1: Gather context from current conversation + codebase**
|
|
45
|
-
|
|
46
|
-
Collect all of the following — summarize if long, but never drop critical decisions or failures:
|
|
47
|
-
|
|
48
|
-
- What is being built and why (goal)
|
|
49
|
-
- Where progress stands right now (current state)
|
|
50
|
-
- Which files actively being modified (files in flight)
|
|
51
|
-
- What changed this session (touched files + what changed)
|
|
52
|
-
- Every failed attempt with its reason — **most critical section**
|
|
53
|
-
- Single next concrete action for next session
|
|
54
|
-
|
|
55
|
-
**Step 2: Write `HANDOFF.md` in the resolved repo root using this exact structure**
|
|
18
|
+
1. Collect from this conversation and the codebase: the goal, the current state, files in flight, what changed, every failed attempt with its reason, and the single next action. Summarize long parts, but never drop a decision or a failure.
|
|
19
|
+
2. Write `<root>/HANDOFF.md`:
|
|
56
20
|
|
|
57
21
|
```markdown
|
|
58
|
-
# Handoff — [
|
|
22
|
+
# Handoff — [work area]
|
|
59
23
|
**Date:** YYYY-MM-DD
|
|
60
24
|
|
|
61
25
|
## Goal
|
|
62
|
-
[What is being built and why
|
|
26
|
+
[What is being built and why, one short paragraph]
|
|
63
27
|
|
|
64
28
|
## Current State
|
|
65
|
-
[What works, what
|
|
29
|
+
[What works, what does not]
|
|
66
30
|
|
|
67
31
|
## Files in Flight
|
|
68
|
-
- `path
|
|
32
|
+
- `path` — [why it matters]
|
|
69
33
|
|
|
70
34
|
## Changed
|
|
71
|
-
- `path
|
|
35
|
+
- `path` — [what changed this session]
|
|
72
36
|
|
|
73
37
|
## Failed Attempts
|
|
74
|
-
-
|
|
38
|
+
- [What was tried] — [why it failed, with the error]
|
|
75
39
|
|
|
76
40
|
## Next Step
|
|
77
|
-
[The one concrete
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
**Step 3: Confirm to user**
|
|
81
|
-
|
|
82
|
-
```
|
|
83
|
-
Handoff written → <REPO_ROOT>/HANDOFF.md
|
|
84
|
-
Next session: call this skill again to resume.
|
|
41
|
+
[The one concrete first action]
|
|
85
42
|
```
|
|
86
43
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
### Receiving Mode
|
|
90
|
-
|
|
91
|
-
> `HANDOFF.md` found. Previous session left context.
|
|
92
|
-
|
|
93
|
-
**Step 1: Read the file**
|
|
94
|
-
|
|
95
|
-
Use the `read` tool on `<REPO_ROOT>/HANDOFF.md`.
|
|
96
|
-
|
|
97
|
-
**Step 2: Internalize before doing anything**
|
|
98
|
-
|
|
99
|
-
- Understand goal and current state fully
|
|
100
|
-
- Register all **Failed Attempts** — do not retry anything listed here
|
|
101
|
-
- Note **Files in Flight** as starting point for code exploration
|
|
102
|
-
- Treat **Next Step** as first action to execute
|
|
103
|
-
|
|
104
|
-
**Step 3: Delete the file**
|
|
44
|
+
Get the date from `date +%F`; never guess it. Always include **Failed Attempts**. If there were none, write `(none this session)`. This section is the most important one.
|
|
105
45
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
Deleted immediately so next session starts fresh in giving mode.
|
|
109
|
-
|
|
110
|
-
**Step 4: Confirm and continue**
|
|
111
|
-
|
|
112
|
-
```
|
|
113
|
-
Handoff received. Resuming from:
|
|
114
|
-
→ [Next Step content]
|
|
115
|
-
|
|
116
|
-
Skipping: [brief list of Failed Attempts to avoid]
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
Then execute Next Step directly — don't ask user to repeat context already in the handoff.
|
|
120
|
-
|
|
121
|
-
---
|
|
46
|
+
3. Report: `Handoff written → <root>/HANDOFF.md. Next session: load the handoff skill to resume.`
|
|
122
47
|
|
|
123
|
-
##
|
|
48
|
+
## Receive
|
|
124
49
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
50
|
+
1. Read `<root>/HANDOFF.md` in full.
|
|
51
|
+
2. Take in the goal and state. Never retry anything under **Failed Attempts**. Start code exploration from **Files in Flight**.
|
|
52
|
+
3. Delete the file (`rm <root>/HANDOFF.md`) so the next run starts in give mode.
|
|
53
|
+
4. Report: `Handoff received. Resuming from: [Next Step]. Skipping: [failed attempts].`
|
|
54
|
+
5. Do the Next Step. Do not ask the user to repeat context that is in the file.
|
package/skills/harden.md
CHANGED
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: harden
|
|
3
|
-
description:
|
|
3
|
+
description: Retrofits a fail-fast static-analysis gate onto an existing project in any language — format check, lint, type or compile check, tests, dependency audit, locked versions, and the same gate in CI. Use only on explicit request such as "harden this project", "add static analysis", or "set up quality gates". For new projects, load bootstrap instead.
|
|
4
4
|
disable-model-invocation: true
|
|
5
5
|
---
|
|
6
|
-
#
|
|
6
|
+
# Harden
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
Goal: one gate command that runs locally and in CI, fails fast, and blocks merge when red.
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
## Phase 1: Audit (read-only)
|
|
10
|
+
## 1. Audit (read-only)
|
|
13
11
|
|
|
14
12
|
Inventory before touching anything:
|
|
15
13
|
|
|
16
14
|
- **Ecosystem** — detect language(s), build system, package/dependency manager, existing configs (linter, formatter, compiler/type-checker settings, CI files, hooks). Mixed-language repos: audit each language separately.
|
|
17
15
|
- **Existing tools win** — a project with a working linter keeps it; never swap tools for taste. Only fill gaps.
|
|
18
|
-
- **Verify, don't recall** —
|
|
16
|
+
- **Verify, don't recall** — confirm each tool and flag with `--help` or the official docs before you propose it.
|
|
19
17
|
- **Gaps checklist** (rank by value/effort, report before applying):
|
|
20
18
|
1. Formatter + linter present and enforced (not just installed)?
|
|
21
19
|
2. Warnings fail CI, or are they decorative?
|
|
@@ -26,23 +24,23 @@ Inventory before touching anything:
|
|
|
26
24
|
7. CI exists, runs the same commands as local, pinned toolchain version (never `latest`)?
|
|
27
25
|
8. Dead-code / unused-dep detection — only for multi-package repos; use the ecosystem's tool if one exists, skip otherwise.
|
|
28
26
|
|
|
29
|
-
##
|
|
27
|
+
## 2. Propose
|
|
30
28
|
|
|
31
|
-
|
|
29
|
+
Show the gaps as a table: item · status · fix · effort. Get approval before you install anything. Skip what the user rejects. No silent extras.
|
|
32
30
|
|
|
33
|
-
##
|
|
31
|
+
## 3. Apply
|
|
34
32
|
|
|
35
|
-
- **One tool per job.** Prefer the ecosystem's
|
|
36
|
-
- **Single gate command** — one entry point
|
|
33
|
+
- **One tool per job.** Prefer the ecosystem's common default (Biome or ESLint+Prettier; ruff+mypy; gofmt+vet+staticcheck; clippy+rustfmt; ktlint+detekt; php-cs-fixer+phpstan).
|
|
34
|
+
- **Single gate command** — one entry point: format **check** (never write mode) → lint → static/type check → tests, fail-fast. Use whatever the project already uses to run tasks: package-manager script, Makefile, justfile, rakefile, cargo alias, gradle task. CI calls this exact entry point, never a diverging copy.
|
|
37
35
|
- **Warnings are errors in CI.** A rule worth having is worth failing on.
|
|
38
36
|
- **Coverage: ratchet, don't aspire.** Set threshold to the current actual percentage; raise it later. Never set an aspirational number that fails on day one.
|
|
39
37
|
- **Pin versions** — tool versions locked by the dependency manager (or a pinned tool-version file: `.tool-versions`, `rust-toolchain.toml`, `.python-version`), toolchain version pinned in CI config.
|
|
40
38
|
- Config over code: use the tool's recommended preset + minimal overrides. No 300-line rule files.
|
|
41
39
|
|
|
42
|
-
##
|
|
40
|
+
## 4. Verify and report
|
|
43
41
|
|
|
44
|
-
- Run the full gate once
|
|
45
|
-
-
|
|
42
|
+
- Run the full gate once. It must pass on the current code; a gate that starts red gets deleted. To get there, fix code or relax rules, but list every relaxed rule and why in the report, and get approval for it.
|
|
43
|
+
- Prove the gate bites: with a clean `git status`, add one lint error to a single file, confirm the gate fails, then `git checkout -- <file>`.
|
|
46
44
|
|
|
47
45
|
```text
|
|
48
46
|
## Hardened: [project name]
|
|
@@ -56,11 +54,9 @@ Present the gap list with one-line fixes and effort estimates. Get approval befo
|
|
|
56
54
|
|
|
57
55
|
Mixed-language repo: repeat the gate per language, one top-level command runs all.
|
|
58
56
|
|
|
59
|
-
##
|
|
57
|
+
## Never
|
|
60
58
|
|
|
61
|
-
-
|
|
62
|
-
-
|
|
63
|
-
-
|
|
64
|
-
-
|
|
65
|
-
- Aspirational coverage thresholds.
|
|
66
|
-
- Adding hooks (husky etc.) when a gate script + CI already covers it — hooks are opt-in, ask first.
|
|
59
|
+
- Replace a working tool the project already uses.
|
|
60
|
+
- Install anything before approval.
|
|
61
|
+
- Let CI run different commands than the local gate.
|
|
62
|
+
- Add Git hooks (husky etc.) without asking. They are opt-in.
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: human
|
|
3
|
+
description: Audits and rewrites content to remove AI writing patterns ("AI-isms"). Use when asked to "remove AI-isms," "clean up AI writing," "edit writing for AI patterns," "audit writing for AI tells," "make this sound less like AI," or "humanize this." Supports rewrite, detect-only, and edit-in-place modes, plus voice profiles (casual / professional / technical / warm / blunt). Based on conorbronsdon/avoid-ai-writing.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Avoid AI Writing — Audit & Rewrite
|
|
8
|
+
|
|
9
|
+
You are editing content to remove AI writing patterns ("AI-isms") that make text sound machine-generated.
|
|
10
|
+
|
|
11
|
+
## What this skill is and isn't
|
|
12
|
+
|
|
13
|
+
This is a **writing-quality tool**, not a verdict. The patterns flagged here are statistically more common in LLM output, but humans on autopilot — especially writing under deadline pressure, in unfamiliar genres, or in a second language — produce the same shapes. Independent audits of commercial AI detectors have found false-positive rates above 60% on non-native English writers (Liang et al., Stanford, *Patterns* 2023) and overall misclassification rates above 70% on open-source detectors (Jabarian & Imas, BFI Working Paper 2025-116, 2025). Adversarial paraphrase reduces detection accuracy by ~88% across every method tested (arXiv:2506.07001, 2025).
|
|
14
|
+
|
|
15
|
+
The patterns are useful as a signal — both for cleaning up your own writing and for assessing whether a piece reads as AI-generated. Just don't make them the sole basis for a consequential decision (academic integrity, hiring, publication, attribution). Several rules here also fire on second-language writing, deadline-pressed humans, and technical genres that compress vocabulary by design. Pair the signal with context: who wrote it, what genre, what the writer's normal voice looks like, what other evidence you have.
|
|
16
|
+
|
|
17
|
+
In short: signals, not proof. Worth acting on; not worth ruining someone's day over.
|
|
18
|
+
|
|
19
|
+
## Modes
|
|
20
|
+
|
|
21
|
+
This skill operates in one of three modes:
|
|
22
|
+
|
|
23
|
+
**`rewrite`** (default) — Flag AI-isms and rewrite the text to fix them.
|
|
24
|
+
|
|
25
|
+
**`detect`** — Flag AI-isms only. No rewriting. Use this mode when:
|
|
26
|
+
|
|
27
|
+
- The writer wants to see what's flagged and decide what to fix themselves
|
|
28
|
+
- The flagged patterns might be intentional (AI patterns aren't always bad — they can be effective in small doses)
|
|
29
|
+
- You're auditing text you don't want altered (published content, someone else's writing, reference material)
|
|
30
|
+
- You want a quick scan without waiting for a full rewrite
|
|
31
|
+
|
|
32
|
+
**`edit`** — Edit a file in place rather than returning rewritten text. Use this when the writer points you at a file ("clean up `draft.md`", "fix the AI-isms in this file directly") and wants the file changed, not a copy to paste back. Make **minimal, targeted edits** with the Edit tool — change the flagged spans, not the whole document. **Preserve passages that are already human**: if a paragraph has no tells, leave it untouched. **Don't edit quoted material, code blocks, or text attributed to someone else** — flag those instead of rewriting them. For a large file, confirm which section to clean before changing anything. After editing, re-read the file and confirm the flagged patterns are resolved.
|
|
33
|
+
|
|
34
|
+
Trigger detect mode when the user says "detect," "flag only," "audit only," "just flag," "scan," "what AI patterns are in this," or similar. Trigger edit mode when the user names a file and asks you to fix or clean it in place. Default to rewrite mode if not specified.
|
|
35
|
+
|
|
36
|
+
**Invocation.** Natural language is enough ("rewrite this in a blunt voice for LinkedIn," "edit `post.md` in place," "scan this, don't rewrite"). Power users can also pass explicit options, which map to the sections below and to `references/profiles.md`: `[--mode rewrite|detect|edit]`, `[--voice casual|professional|technical|warm|blunt]`, `[--context linkedin|blog|technical-blog|investor-email|docs|casual]`, `[--file PATH]`, `[--iterate N]` (max 2).
|
|
37
|
+
|
|
38
|
+
**Iterate to convergence (optional).** Rewrite mode already runs one corrective second pass (see Output format) — that built-in pass *is* pass 2, so `--iterate` does not stack on top of it. When the writer asks to "iterate," "keep going until it's clean," or passes `--iterate N`, repeat the audit→rewrite cycle until no patterns remain or **N passes** are reached. Cap **N at 2**: a rewrite plus one corrective pass clears the flagged patterns, and a third pass costs a full regeneration while rarely finding more. Report how many passes it took ("converged in 2 passes").
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
In **rewrite** mode, your job is to:
|
|
43
|
+
|
|
44
|
+
1. **Audit it**: identify every AI-ism present, citing the specific text
|
|
45
|
+
2. **Rewrite it**: return a clean version with all AI-isms removed
|
|
46
|
+
3. **Show a diff summary**: briefly list what you changed and why
|
|
47
|
+
|
|
48
|
+
In **detect** mode, your job is to:
|
|
49
|
+
|
|
50
|
+
1. **Audit it**: identify every AI-ism present, citing the specific text
|
|
51
|
+
2. **Assess it**: note which flags are clear problems vs. patterns that may be intentional or effective in context
|
|
52
|
+
|
|
53
|
+
In **edit** mode, your job is to:
|
|
54
|
+
|
|
55
|
+
1. **Read** the file the writer named
|
|
56
|
+
2. **Edit in place**: apply minimal, targeted fixes to the flagged spans with the Edit tool, leaving already-human passages untouched
|
|
57
|
+
3. **Verify**: re-read the file and confirm the flagged patterns are resolved; report what you changed
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## What to remove or fix
|
|
62
|
+
|
|
63
|
+
Read `references/patterns.md` before every audit. It holds the full catalog: formatting, sentence structure, the three-tier word list, template and transition phrases, structural issues, and when to rewrite from scratch. Load it with `read_skills(name="human", resource="references/patterns.md")`.
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## Severity tiers
|
|
68
|
+
|
|
69
|
+
Not all AI-isms are equal. When doing a quick pass or triaging a large document, prioritize by tier:
|
|
70
|
+
|
|
71
|
+
### P0 — Credibility killers (fix immediately)
|
|
72
|
+
|
|
73
|
+
- Cutoff disclaimers ("As of my last update")
|
|
74
|
+
- Chatbot artifacts ("I hope this helps!", "Great question!")
|
|
75
|
+
- Vague attributions without sources ("Experts believe")
|
|
76
|
+
- Significance inflation on routine events
|
|
77
|
+
- Hashtag stuffing on `linkedin` and `investor-email` posts (severity varies by profile — same rule, lower priority on `blog`/`technical-blog` where a launch post may legitimately stack tags; see `references/profiles.md`)
|
|
78
|
+
|
|
79
|
+
### P1 — Obvious AI smell (fix before publishing)
|
|
80
|
+
|
|
81
|
+
- Word-list violations (delve, leverage, harness, robust, etc.)
|
|
82
|
+
- Template phrases and slot-fill constructions
|
|
83
|
+
- "Let's" transition openers
|
|
84
|
+
- Synonym cycling within a paragraph
|
|
85
|
+
- Formulaic openings ("In the rapidly evolving world of...")
|
|
86
|
+
- Bold overuse
|
|
87
|
+
- Em dash frequency (above 1 per 1,000 words)
|
|
88
|
+
- Generic future-narrative closers ("may become one of the most important narratives…")
|
|
89
|
+
- Social endorsement closers ("This one is worth your time:", "thank me later")
|
|
90
|
+
- Hedge-stacked predictions ("could potentially," "may eventually")
|
|
91
|
+
- Real/actual adjective inflation ("real on-chain tokenomics")
|
|
92
|
+
- Bullet lists of bare noun phrases (5+ short adj+noun items, no verbs)
|
|
93
|
+
- Tier 3 phrase clustering (≥3 distinct boilerplate phrases in one piece)
|
|
94
|
+
|
|
95
|
+
### P2 — Stylistic polish (fix when time allows)
|
|
96
|
+
|
|
97
|
+
- Generic conclusions ("The future looks bright")
|
|
98
|
+
- Compulsive rule of three
|
|
99
|
+
- Uniform paragraph length
|
|
100
|
+
- Copula avoidance (serves as, features, boasts)
|
|
101
|
+
- Transition phrases (Moreover, Furthermore, Additionally)
|
|
102
|
+
- Hashtag stuffing (`blog`/`technical-blog` profiles)
|
|
103
|
+
- Tier 3 phrase repetition (single phrase ≥2× — fine in isolation, suspect in stacks)
|
|
104
|
+
|
|
105
|
+
Use P0+P1 for quick passes. Full audit covers all three tiers.
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
## Self-reference escape hatch
|
|
110
|
+
|
|
111
|
+
When writing *about* AI writing patterns (blog posts, tutorials, skill documentation like this file), quoted examples are exempt from flagging. Text inside quotation marks, code blocks, or explicitly marked as illustrative ("for example, AI might write...") should not be rewritten. Only flag patterns that appear in the author's own prose, not in cited examples of bad writing.
|
|
112
|
+
|
|
113
|
+
---
|
|
114
|
+
|
|
115
|
+
## Context and voice profiles
|
|
116
|
+
|
|
117
|
+
Context profiles set how strict each rule is for an audience (`linkedin`, `blog`, `technical-blog`, `investor-email`, `docs`, `casual`). Voice profiles set how the prose sounds (`casual`, `professional`, `technical`, `warm`, `blunt`). With no context given, infer it: short + hashtags → `linkedin`; code or APIs → `technical-blog`; salutation + fundraising → `investor-email`; README or parameter docs → `docs`; else `blog`. Say which profile you use and why.
|
|
118
|
+
|
|
119
|
+
For the tolerance matrix, technical-blog word exceptions, voice targets, and how voice combines with context, read `references/profiles.md`.
|
|
120
|
+
|
|
121
|
+
---
|
|
122
|
+
|
|
123
|
+
## Output format
|
|
124
|
+
|
|
125
|
+
### Rewrite mode (default)
|
|
126
|
+
|
|
127
|
+
Return your response in four sections:
|
|
128
|
+
|
|
129
|
+
**1. Issues found**
|
|
130
|
+
A bulleted list of every AI-ism identified, with the offending text quoted.
|
|
131
|
+
|
|
132
|
+
**2. Rewritten version**
|
|
133
|
+
The full rewritten content. Preserve the original structure, intent, and all specific technical details. Only change what the guidelines require.
|
|
134
|
+
|
|
135
|
+
**3. What changed**
|
|
136
|
+
A brief summary of the major edits made. Not every word, just the meaningful changes.
|
|
137
|
+
|
|
138
|
+
**4. Second-pass audit**
|
|
139
|
+
Re-read the rewritten version from section 2. Identify any remaining AI tells that survived the first pass — recycled transitions, lingering inflation, copula avoidance, filler phrases, or anything else from the categories above. Fix them, return the corrected text inline, and note what changed in this pass. If the rewrite is clean, say so.
|
|
140
|
+
|
|
141
|
+
### Detect mode
|
|
142
|
+
|
|
143
|
+
Return your response in two sections:
|
|
144
|
+
|
|
145
|
+
**1. Issues found**
|
|
146
|
+
A bulleted list of every AI-ism identified, with the offending text quoted. Group by severity (P0, P1, P2).
|
|
147
|
+
|
|
148
|
+
**2. Assessment**
|
|
149
|
+
For each flag, note whether it's a clear problem or a judgment call. Some AI-associated patterns are effective writing techniques — uniform paragraph length is a problem, but a well-placed "however" isn't. Call out which flags the writer should definitely fix vs. which ones are worth a second look but might be fine in context. If the text is clean, say so.
|
|
150
|
+
|
|
151
|
+
### Edit mode
|
|
152
|
+
|
|
153
|
+
After editing the file in place, return a short report — not the full file:
|
|
154
|
+
|
|
155
|
+
**1. Edits made**
|
|
156
|
+
A bulleted list of the changes, each with the file location and the before → after. Only the spans you touched.
|
|
157
|
+
|
|
158
|
+
**2. Verification**
|
|
159
|
+
Confirm you re-read the file and the flagged patterns are resolved. Note anything you deliberately left alone because it was already human or intentional.
|
|
160
|
+
|
|
161
|
+
---
|
|
162
|
+
|
|
163
|
+
## Tone calibration
|
|
164
|
+
|
|
165
|
+
The goal is writing that sounds like a person wrote it. Direct. Specific. The writing should demonstrate confidence, not assert it.
|
|
166
|
+
|
|
167
|
+
Five principles for human-sounding rewrites:
|
|
168
|
+
|
|
169
|
+
1. **Vary sentence length** — mix short with long. Fragments are fine.
|
|
170
|
+
2. **Be concrete** — replace vague claims with numbers, names, dates, or examples.
|
|
171
|
+
3. **Have a voice** — where appropriate, use first person, state preferences, show reactions.
|
|
172
|
+
4. **Cut the neutrality** — humans have opinions. If the piece is supposed to take a position, take it.
|
|
173
|
+
5. **Earn your emphasis** — don't tell the reader something is interesting. Make it interesting.
|
|
174
|
+
|
|
175
|
+
If the original writing is already strong, say so and make only the necessary cuts. Don't over-edit for the sake of it.
|
|
176
|
+
|
|
177
|
+
The replacement tables in `references/patterns.md` are defaults, not mandates. If a flagged word is clearly the right choice in context, keep it.
|