NAME

Wordsmith::Claude::Blog - Blog style definitions and presets

SYNOPSIS

use Wordsmith::Claude::Blog;

# Get style instruction
my $instruction = Wordsmith::Claude::Blog->get_style('technical');

# Get tone instruction
my $tone = Wordsmith::Claude::Blog->get_tone('enthusiastic');

# List all styles
my @styles = Wordsmith::Claude::Blog->all_styles;

# Get style info
my $info = Wordsmith::Claude::Blog->style_info('tutorial');

DESCRIPTION

Defines blog styles, tones, and length presets for the blog() function.

STYLES

CLASS METHODS

get_style

my $instruction = Wordsmith::Claude::Blog->get_style('technical');

Returns the instruction text for a style, or undef if style doesn't exist.

get_tone

my $instruction = Wordsmith::Claude::Blog->get_tone('friendly');

Returns the instruction text for a tone, or undef if tone doesn't exist.

get_length

my $instruction = Wordsmith::Claude::Blog->get_length('medium');

Returns the instruction text for a length, or undef if length doesn't exist.

style_exists

if (Wordsmith::Claude::Blog->style_exists('tutorial')) { ... }

Returns true if the style exists.

tone_exists

if (Wordsmith::Claude::Blog->tone_exists('friendly')) { ... }

Returns true if the tone exists.

length_exists

if (Wordsmith::Claude::Blog->length_exists('short')) { ... }

Returns true if the length exists.

all_styles

my @styles = Wordsmith::Claude::Blog->all_styles;

Returns list of all style names.

all_tones

my @tones = Wordsmith::Claude::Blog->all_tones;

Returns list of all tone names.

all_lengths

my @lengths = Wordsmith::Claude::Blog->all_lengths;

Returns list of all length names.

style_info

my $info = Wordsmith::Claude::Blog->style_info('technical');
# { description => '...', instruction => '...' }

Returns full info hashref for a style.

tone_info

my $info = Wordsmith::Claude::Blog->tone_info('friendly');

Returns full info hashref for a tone.

length_info

my $info = Wordsmith::Claude::Blog->length_info('medium');

Returns full info hashref for a length.

style_description

my $desc = Wordsmith::Claude::Blog->style_description('tutorial');

Returns the short description for a style.

tone_description

my $desc = Wordsmith::Claude::Blog->tone_description('enthusiastic');

Returns the short description for a tone.

length_description

my $desc = Wordsmith::Claude::Blog->length_description('long');

Returns the short description for a length.

AUTHOR

LNATION, <email at lnation.org>

LICENSE AND COPYRIGHT

This software is Copyright (c) 2026 by LNATION.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)