Skip to content

add humanizer voice presets#95

Open
yourconscience wants to merge 1 commit into
mainfrom
humanizer-voice-presets
Open

add humanizer voice presets#95
yourconscience wants to merge 1 commit into
mainfrom
humanizer-voice-presets

Conversation

@yourconscience

Copy link
Copy Markdown
Owner

Summary

  • Add voice preset mode to humanizer skill (invoke with --voice <name> or "in the style of ")
  • Add first preset: huawei -- ПОЛНЫЙ ХУАВЕЙ channel style (ALL CAPS Russian corporate shitposting with heavy emoji)
  • Voice files live in voices/ as markdown with style rules + few-shot sample posts

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a "Voice preset" feature to the humanizer skill, allowing the agent to use named voice styles defined in markdown files. It adds the "ПОЛНЫЙ ХУАВЕЙ" voice preset (huawei.md) with its specific style rules and sample posts, and updates the skill documentation (SKILL.md) to describe how to invoke and use these presets. The reviewer feedback points out that the paths to the voice presets (e.g., voices/) in the documentation should be updated to be relative to the repository root (e.g., plugins/dotagents/skills/humanizer/voices/ and skills/humanizer/voices/) so that the agent can correctly locate and load the preset files during execution.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.


- **Rewrite**: improve an existing draft while preserving meaning.
- **Voice match**: analyze 1-3 samples, then rewrite using that rhythm, directness, and vocabulary level.
- **Voice preset**: use a named voice from `voices/`. Invoke with `--voice <name>` or "in the style of <name>". Load the voice file, follow its style rules, use its samples as few-shot examples. Available presets are markdown files in `voices/`.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The path voices/ is relative to the skill directory, but the agent typically executes from the repository root. Specifying the full repository-relative path plugins/dotagents/skills/humanizer/voices/ ensures the agent can correctly locate the preset files.

Suggested change
- **Voice preset**: use a named voice from `voices/`. Invoke with `--voice <name>` or "in the style of <name>". Load the voice file, follow its style rules, use its samples as few-shot examples. Available presets are markdown files in `voices/`.
- **Voice preset**: use a named voice from `plugins/dotagents/skills/humanizer/voices/`. Invoke with `--voice <name>` or "in the style of <name>". Load the voice file, follow its style rules, use its samples as few-shot examples. Available presets are markdown files in `plugins/dotagents/skills/humanizer/voices/`.

Comment on lines +75 to +78
Named voice presets live in `voices/` as markdown files. Each file contains style rules and sample posts.

When a preset is requested (`--voice huawei`, "write this in huawei style", etc.):
1. Read `voices/<name>.md`.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Update the directory and file paths to be relative to the repository root (plugins/dotagents/skills/humanizer/voices/) so that the agent can successfully find and read the preset files during execution.

Suggested change
Named voice presets live in `voices/` as markdown files. Each file contains style rules and sample posts.
When a preset is requested (`--voice huawei`, "write this in huawei style", etc.):
1. Read `voices/<name>.md`.
Named voice presets live in `plugins/dotagents/skills/humanizer/voices/` as markdown files. Each file contains style rules and sample posts.
When a preset is requested (`--voice huawei`, "write this in huawei style", etc.):
1. Read `plugins/dotagents/skills/humanizer/voices/<name>.md`.

Comment thread skills/humanizer/SKILL.md

- **Rewrite**: improve an existing draft while preserving meaning.
- **Voice match**: analyze 1-3 samples, then rewrite using that rhythm, directness, and vocabulary level.
- **Voice preset**: use a named voice from `voices/`. Invoke with `--voice <name>` or "in the style of <name>". Load the voice file, follow its style rules, use its samples as few-shot examples. Available presets are markdown files in `voices/`.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The path voices/ is relative to the skill directory, but the agent typically executes from the repository root. Specifying the full repository-relative path skills/humanizer/voices/ ensures the agent can correctly locate the preset files.

Suggested change
- **Voice preset**: use a named voice from `voices/`. Invoke with `--voice <name>` or "in the style of <name>". Load the voice file, follow its style rules, use its samples as few-shot examples. Available presets are markdown files in `voices/`.
- **Voice preset**: use a named voice from `skills/humanizer/voices/`. Invoke with `--voice <name>` or "in the style of <name>". Load the voice file, follow its style rules, use its samples as few-shot examples. Available presets are markdown files in `skills/humanizer/voices/`.

Comment thread skills/humanizer/SKILL.md
Comment on lines +75 to +78
Named voice presets live in `voices/` as markdown files. Each file contains style rules and sample posts.

When a preset is requested (`--voice huawei`, "write this in huawei style", etc.):
1. Read `voices/<name>.md`.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Update the directory and file paths to be relative to the repository root (skills/humanizer/voices/) so that the agent can successfully find and read the preset files during execution.

Suggested change
Named voice presets live in `voices/` as markdown files. Each file contains style rules and sample posts.
When a preset is requested (`--voice huawei`, "write this in huawei style", etc.):
1. Read `voices/<name>.md`.
Named voice presets live in `skills/humanizer/voices/` as markdown files. Each file contains style rules and sample posts.
When a preset is requested (`--voice huawei`, "write this in huawei style", etc.):
1. Read `skills/humanizer/voices/<name>.md`.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant