code-patterns

Reference Taskflow code patterns for database queries, Server Actions, and Server Components.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/tagty/taskflow --skill code-patterns-tagty
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-patterns
Source: https://github.com/tagty/taskflow/tree/main/.claude/skills/code-patterns
Command: npx skills add https://github.com/tagty/taskflow --skill code-patterns-tagty

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures consistency and adherence to established project patterns when implementing new features, reducing technical debt and improving maintainability.

Core Features & Use Cases

  • Pattern Reference: Provides clear examples for common development tasks like database queries, server actions, and page structures.
  • Guided Implementation: Helps developers follow best practices by referencing existing code patterns.
  • Use Case: When adding a new API endpoint, consult this Skill to understand the correct way to structure the Server Action and associated database query, ensuring it aligns with the project's architecture.

Quick Start

Refer to the code patterns for implementing a new database query.

Frequently Asked Questions about code-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure Server Actions with revalidation in Next.js?

To structure Server Actions with revalidation in Next.js, you should follow established code patterns that define how to execute mutations and trigger cache revalidation. This guides developers in implementing endpoints that align with project architecture.

What is the correct way to query the database using supabaseAdmin?

Querying the database using supabaseAdmin requires following specific code patterns that standardize query structure and execution. Consulting a developer guide ensures the queries adhere to project conventions, reducing technical debt and improving maintainability.

How do I structure Server Components for new pages in a Next.js project?

Structuring Server Components for new pages involves adhering to established code patterns that specify page architecture and component hierarchy. Following these development standards ensures feature consistency and reduces technical debt across the project.

How should I write task descriptions and handle database migrations?

Writing task descriptions and handling database migrations requires following specific instructions outlined in code patterns. Adhering to these development standards ensures clear communication and correct database schema updates during feature implementation.

Does following predefined code patterns reduce technical debt in web development?

Following predefined code patterns reduces technical debt by ensuring consistency and adherence to established project conventions when implementing new features. This practice improves overall maintainability and provides a clear reference for development standards.