/skills:getty-perl-corefrom skills
Use when editing any Perl in a Getty project — module loading, subs, errors, style, cpanfile pins, per-file $VERSION.
Ships in skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
These override defaults in every Getty project. Object-system specifics:
getty-perl-moo / getty-perl-moose; whether and where to type: getty-perl-typing.
use Module; at the top — every dependency loads at compile time. A require Foo; in a method body (to "speed up startup", or require + ->new in a controller action) → hoist it to a top-level use.require only for true runtime plugin loading — the class name comes from config/DB (Module::Runtime::use_module($class_from_db)). Known at write-time → use.strict + warnings in every file: written out in scripts, tests and plain modules; Moo/Moose/Catalyst classes get them on import — not repeated there.is => 'ro' by default; rw needs a reason.sub _build_foo, never default => sub {...}: Moo is => 'lazy', Moose lazy_build => 1.use namespace::clean; (not in roles); Moose class use namespace::autoclean; (or no Moose;) and __PACKAGE__->meta->make_immutable; as its last line.weak_ref => 1 on attributes holding a reference back to a parent/owner.->instance on MooseX::Singleton / MooX::Singleton classes, never ->new.my ( $self, $x ) = @_; as the first line — spaces inside the parens; never my $self = shift;. One-liners skip unpacking: sub trace { shift->_logger->trace(@_) }. A builder ignoring $self is one line: sub _build_readonly { 0 }._ prefix marks private subs and attributes; a private attribute's builder doubles up: sub _build__mp.$self, never a bare _foo($self->config, $x) — bare subs can't be overridden or mocked. Bare subs only in non-class utility modules imported as functions.%ENGINE_CLASS table counts); a per-process cache is an attribute on the singleton (has _cache => ( is => 'ro', default => sub { {} } )), not my %CACHE.A literal Some::Package->helper(...) nails the call to that package — no subclass or mock can reach it. Call the class's own methods through $self, and name each collaborator class once in an overridable resolver:
package My::Pipe;
sub backend_class { 'My::Backend::Age' } # override point, named once
sub decrypt {
my ( $self, %arg ) = @_;
my $key = $self->backend_class->unwrap( $arg{header} ); # not My::Backend::Age->unwrap
return $self->_finish( $key ); # not My::Pipe->_finish
}
package My::Pipe::Vault;
use parent -norequire, 'My::Pipe';
sub backend_class { 'My::Backend::Vault' } # a subclass swaps it; the pipeline follows
Class-method-only modules too: my ( $self, ... ) = @_; and dispatch through $self — the class name is the invocant, and Thing->do(...) callers keep working.
croak, never die — use Carp qw( croak );, called bare; the message names the origin: croak __PACKAGE__."->state too many args".'Adding '.$f.' with '.$length.' bytes'. Interpolate only where concatenation would be unreadable." only when you need interpolation or escapes.qw( croak confess ) — spaces inside; never rely on default exports.if/unless for guards and short conditions; unless $x, not if !$x.return unless $res->is_success; — not return undef;.Path::Tiny for every file operation — not File::Spec, not bare open.JSON::MaybeXS always — never JSON::PP, JSON::XS, Cpanel::JSON::XS directly. Encoders get canonical => 1, convert_blessed => 1. Booleans JSON->true / JSON->false, never JSON::PP::true barewords.->canonical, DBIC serializer_options => { canonical => 1 }, every format.$YAML::XS::Boolean = 'JSON::PP' is a YAML::XS mode name, not a module choice — leave it.=> in multi-line hashes when keys are of similar length; optional pairs inline: $cond ? ( experimental => 1 ) : (),$ENV{MYPROJECT_TIME_ZONE}), each with a default in code. Many attributes of that shape → a generator sub that wraps has, not N copied declarations.standard, slant, small, banner); short file or no figlet → a #### <Name> rule.DDP (Data::Printer), never Data::Dumper in shipped code. Live debug calls go before commit; commented-out ones stay (#use DDP; p($res);) — they mark where debugging was needed.cpanfile, not dist.ini prereq blocks.requires 'Module::Name'; — omit the version when unpinned, never '0'. A version means "or higher": requires 'Foo', '5.0';, never '>= 5.0'.on test => sub {...}) at the end.[@Author::GETTY] keeps a repo's $VERSION at the next, unreleased version (0.402 while CPAN has 0.401) — a sibling checkout is always one ahead of CPAN.
$VERSION while using nothing that version introduced names an unreleased version and breaks the build off this machine.cpanm --info; if it carries what you use, that is the pin:
cpanm --info Module::Name | tail -1
# → GETTY/Module-Name-1.234.tar.gz ← pin to 1.234
Getty-authored (non-exhaustive): Langertha, IO::K8s, Kubernetes::REST, WWW::Crawl4AI, Net::Async::Crawl4AI, Net::Async::WebSearch, Catalyst::Plugin::ChainedURI, Locale::Simple, DBIO::*, WWW::Zitadel, WWW::PayPal, WWW::Chain.
$VERSION and fileslib/ and every Perl executable under bin/ carries its own our $VERSION = '...'; — the next, unreleased version.our $VERSION in a file.bin/, never script/ — script/ is neither installed nor versioned.Mechanics: skill getty-perl-release-author-getty.
Grep hand-written Getty code for the pattern — an older repo with no AI commits in its history. Newer repos may show an agent's guess, not the house rule.
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (getty/skills) — no native marketplace selected
npx claudepluginhub p/getty-skills129 skills in this plugin
/ai-playable-gamesUse when building a game or simulation that bots or LLM agents must play — observation and order interface, agent API or MCP server, AI seats beside humans, fog of war, replays; or when an AI player cheats, stalls, misreads the state or follows text other players wrote./ai-web-scrapingUse when scraping, crawling or extracting structured data from websites, especially with an LLM — Crawl4AI, Firecrawl, Scrapy, Crawlee, Playwright, browser-use; building a dataset or RAG corpus, watching pages for changes, or a scraper that returns empty, duplicated or invented records./cedar-engineeringUse when writing, validating or debugging Cedar authorization policies — .cedar and .cedarschema files, permit/forbid, entities and hierarchies, RBAC/ABAC/ReBAC, templates, multi-tenant access, partial evaluation, Amazon Verified Permissions, migrating to or from Cedar./cel-engineeringUse when writing, embedding or debugging Common Expression Language (CEL) — type environments, macros, missing fields, errors and unknowns, cost limits, Kubernetes x-kubernetes-validations and ValidatingAdmissionPolicy, Envoy, Google Cloud IAM Conditions./cisco-ios-routerUse when reading, auditing or changing a classic Cisco IOS 15.x router (ISR 900/1900/2900/3900, 800 series, c900-universalk9) — interfaces and SVIs, ACLs, NAT and port forwards, zone-based firewall, IP SLA failover, SSH hardening, licences, config rollback, IOS upgrades; IOS-XE differences noted./cisco-small-business-switchUse when configuring or auditing a Cisco Small Business switch (SG300/SF300/SG500, Sx350/Sx550, CBS250/CBS350) via CLI or web UI — VLANs and port modes, management IP, SSH users, LLDP and MAC lookups, PoE, mirroring, saving config, firmware upgrades. Not Catalyst IOS.Other plugins' skills for the same job