Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计通过

pragmatic-programmer务实的程序员

Agent Skill

pragmatic-programmer 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

539

周安装

22

GitHub Stars

3

下载量

172
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:pragmatic-programmer(务实的程序员)
来源仓库:https://github.com/grndlvl/software-patterns
仓库路径:skills/pragmatic-programmer
安装命令:
npx skills add https://github.com/grndlvl/software-patterns --skill pragmatic-programmer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/grndlvl/software-patterns --skill pragmatic-programmer

简介

总结务实的程序员技巧,强调 DRY、正交性、可逆性和自动化测试。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中辅助开发决策和工程优化。
  • 通过 GitHub 安装并使用 npx 命令添加,内容源自经典书籍提炼。
  • 需评估团队习惯和文化适配度,避免强推可能引发抵触的做法。
  • 建议定期回顾更新,保持技能与行业趋势同步发展。

SKILL.md

The Pragmatic Programmer Reference

A comprehensive reference for pragmatic software development principles based on "The Pragmatic Programmer" by David Thomas and Andrew Hunt. This skill provides timeless advice for becoming a better developer.

When This Skill Activates

This skill automatically activates when you:

  • Discuss software development best practices
  • Need debugging strategies
  • Consider code duplication (DRY)
  • Think about tooling and automation
  • Discuss project estimation or planning
  • Review development workflows

Core Philosophy

"Care about your craft." "Think about your work."

Pragmatic programmers:

  • Take responsibility for their career and work
  • Don't make excuses—provide options
  • Are agents of change, not victims of circumstance
  • Continuously learn and adapt

Quick Reference

Foundational Principles

PrincipleSummary
DRY - Don't Repeat YourselfEvery piece of knowledge has a single representation
OrthogonalityKeep things independent and decoupled
ReversibilityMake decisions reversible; avoid lock-in
Tracer BulletsGet feedback fast with end-to-end skeleton
PrototypesLearn before committing; throw away prototypes
Domain LanguagesProgram close to the problem domain
EstimatingLearn to give accurate estimates

Practical Techniques

PracticeSummary
The Power of Plain TextKeep knowledge in accessible format
Shell GamesMaster the command line
DebuggingFix the problem, not the blame
Text ManipulationLearn text processing tools
Code GeneratorsWrite code that writes code
Design by ContractDefine rights and responsibilities
Assertive ProgrammingIf it can't happen, use assertions
DecouplingMinimize dependencies between modules
RefactoringImprove code continuously
TestingTest early, test often, test automatically
AutomationDon't use manual procedures

The Pragmatic Tips

Key tips from the book:

  1. Care About Your Craft - Why spend your life developing software unless you care?
  2. Think! About Your Work - Turn off autopilot and take control
  3. Provide Options, Don't Make Excuses - Don't say it can't be done; explain what can be done
  4. Don't Live with Broken Windows - Fix bad designs and wrong decisions when you see them
  5. Be a Catalyst for Change - Show people the future and help them participate
  6. Remember the Big Picture - Don't get so focused you forget what you're doing
  7. Make Quality a Requirements Issue - Get users involved in determining quality
  8. Invest Regularly in Your Knowledge Portfolio - Make learning a habit
  9. Critically Analyze What You Read and Hear - Don't be swayed by vendors or media hype
  10. It's Both What You Say and How You Say It - Communication matters

The Knowledge Portfolio

Treat your knowledge like a financial portfolio:

  • Invest regularly - Learn something new routinely
  • Diversify - Know many different technologies
  • Manage risk - Balance safe tech with high-risk/high-reward
  • Buy low, sell high - Learn emerging tech before it becomes mainstream
  • Review and rebalance - Reassess periodically

Suggestions:

  • Learn a new language every year
  • Read a technical book each month
  • Read non-technical books too
  • Take classes
  • Participate in local user groups
  • Experiment with different environments
  • Stay current (newsletters, blogs, conferences)

Communication

  • Know what you want to say
  • Know your audience
  • Choose the right moment
  • Choose a style
  • Make it look good
  • Involve your audience
  • Be a listener
  • Get back to people
  • Documentation is part of the project, not after

Language Translation Notes

Examples use generic pseudocode. Adapt to your language:

  • PHP: class, function, ->, type hints
  • JavaScript/TypeScript: class, arrow functions, .
  • Python: class, def, ., type hints
  • Java/C#: Direct mapping with access modifiers

*Based on concepts from "The Pragmatic Programmer: Your Journey to Mastery" by David Thomas and Andrew Hunt.*

适合场景

01

研究助手

02

事实核查

03

知识库问答

04

带来源的搜索总结

能力概览

能力 1

组合搜索和大模型调用

能力 2

支持多来源检索和总结

能力 3

强调引用来源和事实核查

能力 4

适合研究型 Agent 流程

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.07%
按下载量换算62

Claude

32.55%
按下载量换算56

Cursor

19.33%
按下载量换算33

Gemini CLI

9.44%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/grndlvl/software-patterns --skill pragmatic-programmer 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills