About dao-best-practice
A conventions skill for creating and modifying DAO write methods. It directs developers to a best-practice guide, template, and checklist, then requires assessing table scope; multi-table writes must invoke the repository-best-practice skill.
Key features
- 01Defines a process for DAO write methods
- 02Uses a guide, template, and checklist
- 03Requires assessment of tables affected by writes
- 04Routes multi-table writes to the Repository skill
- 05Requires an optional tx parameter for single-table methods
Use cases
- 01Create a DAO write method following project conventions
- 02Assess table scope after changing a write method
- 03Create a Repository for a multi-table write
- 04Check optional transaction support on single-table methods
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ forge-town/ skills --skill dao-best-practiceAfter installing, type/dao-best-practicein Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
best-practice-examples/usersDao.tsreferences/checklist.mddao-best-practice.mdtemplate-dao.tsComments
Markdown supported