Skills for Real Engineers: mattpocock's .agents Directory
mattpocock's .agents directory offers practical engineering skills for real-world application development, addressing common challenges in AI-assisted coding.
Introduction to mattpocock's Skills
mattpocock, a GitHub user, has developed a set of practical engineering skills aimed at addressing common challenges in real-world application development. These skills are designed to be small, adaptable, and composable, working with any model.
The skills are based on decades of engineering experience and are intended to be hackable, allowing developers to make them their own. Updates to these skills and new ones are shared through a newsletter with over 60,000 subscribers.
Skill Management and Updates
The skills are managed through a plugin that updates itself daily. Developers can install the plugin in VS Code and update it by running specific commands. The plugin copies editable files into the project, which are then updated manually.
To ensure that only one skill is installed per agent, developers are advised to select 'setup-matt-pocock-skills' during installation. Updates to the skills can be run using the 'npx skills@latest update' command.
Addressing Misalignment in Software Development
One of the key challenges mattpocock addresses is misalignment in software development, where there is often a communication gap between developers and the AI agents they work with.
To tackle this, mattpocock suggests a 'grilling session' where the agent is prompted to ask detailed questions about the project, ensuring a better understanding of the developer's needs.
The Importance of a Shared Language
Developers and domain experts often speak different languages at the start of a project, leading to confusion and inefficiency. mattpocock emphasizes the need for a shared language, which is a document that helps decode project jargon.
This shared language not only reduces verbosity but also fosters better communication and understanding between developers and AI agents.
Feedback Loops and Continuous Improvement
mattpocock highlights the importance of feedback loops in ensuring the quality of the code produced by AI agents. This includes static types, browser access, and automated tests, particularly a red-green-refactor loop.
The /tdd skill encourages a red-green-refactor approach, while the /diagnosing-bugs skill wraps best debugging practices into a disciplined loop.
“Developing real applications is hard. Approaches like GSD, BMAD, and Spec-Kit try to help by owning the process. But while doing so, they take away your control and make bugs in the process hard to resolve.”
— mattpocock