Skills Plugins MCP Prompt Model 博客 我的中心

perl

Full Perl development aid. Use when the user wants to create, edit, run, debug, or test Perl scripts and modules. Scaffolds files with proper headers, follows Perl best practices, executes scripts, and assists with debugging.

DeepseekModel 官方收录技能 质量 良好 · 48 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=gary-ash-dotfiles-home-claude-skills-perl-skill-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name perl description Full Perl development aid. Use when the user wants to create, edit, run, debug, or test Perl scripts and modules. Scaffolds files with proper headers, follows Perl best practices, executes scripts, and assists with debugging. allowed-tools Read, Write, Edit, Grep, Glob, Bash argument-hint ["action or filename"] Perl Development Skill Assist with all aspects of Perl development including creating files, writing code, running scripts, debugging, and testing. Creating New Files When creating a new Perl script (.pl) or module (.pm), always include the file header from CLAUDE.md using the Perl template. Every script must begin with: #!/usr/bin/env perl use strict; use warnings; use v5.36 ; For modules, use the standard package structure: package MyModule; use strict; use warnings; use v5.36 ; # module code here 1 ; Running and Testing Run scripts with: perl -w <script.pl> Check syntax without executing: perl -c <script.pl> Run tests with: prove -v or perl -Ilib t/*.t Use perl -d <script.pl> information to help debug issues when the user asks Code Quality Always use strict and use warnings Prefer modern Perl idioms (v5.36+ features like use v5.36 which enables strict, signatures, etc.) Use descriptive variable names following snake_case convention Use Perl's built-in documentation: check perldoc for module usage Prefer core modules over external dependencies when practical Use three-argument open with lexical filehandles Handle errors explicitly ( open my $fh, '<', $file or die "Cannot open $file: $!" ) Debugging Built-in Perl debugging Add use Data::Dumper for inspecting complex data structures Use warn for debug output to STDERR Check for common issues: missing semicolons, incorrect sigils, scope problems Run perl -MO=Deparse <script.pl> to see how Perl interprets the code Perl debugger (perl -d) Launch with: perl -d <script.pl> Key commands: n (next line), s (step into), c (continue) b <line> (set breakpoint), B <line> (delete breakpoint) p <expr> (print expression), x <expr> (dump structure) l (list source), T (stack backtrace) w <expr> (watch expression), R (restart) q (quit) Use perl -d -e 0 for an interactive Perl shell Perl::Critic (static analysis) Enforces coding standards based on Perl Best Practices Run with: perlcritic <script.pl> Severity levels 1 (most strict) to 5 (least strict): perlcritic --severity 3 <script.pl> Use a .perlcriticrc file for project-specific policies Disable specific policies inline: ## no critic (PolicyName) Install with: cpanm Perl::Critic Perl::Tidy (code formatter) Reformats Perl code to a consistent style Run with: perltidy <script.pl> (creates <script.pl>.tdy ) In-place formatting: perltidy -b <script.pl> Use a .perltidyrc file for project-specific settings Install with: cpanm Perl::Tidy Test::More and prove (testing framework) Perl's standard testing framework Run tests with: prove -v or prove -v -r t/ Run a single test: prove -v t/specific_test.t Test file structure: use Test::More; is(my_function( 1 , 2 ), 3 , 'addition works' ); ok( defined $result , 'result is defined' ); like( $string , qr/pattern/ , 'string matches pattern' ); is_deeply(\ @got , \ @expected , 'arrays match' ); done_testing(); Additional test modules: Test::Exception -- test that code dies/lives as expected Test::Warn -- test warning output Test::Deep -- flexible deep structure comparison Test::MockObject -- mock objects for unit testing CPAN Modules Install modules with: cpanm <Module::Name> Check if a module is installed: perl -M<Module::Name> -e1 Prefer well-maintained, widely-used modules Argument Handling If $ARGUMENTS is a filename ending in .pl or .pm , work with that file If $ARGUMENTS is "new ", scaffold a new file with proper headers If $ARGUMENTS is "run ", execute the script and report output If $ARGUMENTS is "test", run the project's test suite Otherwise, treat $ARGUMENTS as a general Perl development request
Agent 识别该技能的关键词,点击任意一个即可复制。

该技能未提供触发词。

下载的 .skill 包内含以下字段。
字段 说明
format格式标识(skill/v1)
skill_id技能唯一 ID
name技能名称
version版本号
description技能描述
category所属分类(数组)
trigger_words触发词列表
tags标签列表
source来源标识
source_url来源链接(本页地址)
exported_at导出时间(每次下载生成)
system_prompt系统提示词正文
model_config模型参数:provider / model / temperature / max_tokens / top_p
examples示例
install_guide各平台导入说明(Coze / Dify / Claude / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。