Skip to content
best-practice-core logo

Best Practice Core

best-practice-core

[Dev] Extracts and organizes best practices for a given topic into a minimal tree structure (max depth 3, max 5 children per node). Use during task planning when writing subtasks in Docs/{name}_Task.md - output is added under each subtask as a concise reference guide. Pure reasoning task with str...

SKILL.md

Full skill instructions

Best Practice Core

Extracts core best practices for a topic and formats them as a minimal, keyword-focused tree.

Purpose

Extract essential best practices for implementation tasks and format them as ultra-concise tree structures for quick reference during development.

When to Use

Invocation Timing:

  • During task planning phase (before implementation)
  • When writing subtasks in Docs/​{name}_Task.md documents
  • BEFORE Worker agents start implementation

Output Location:

  • Written directly under each subtask in Task document
  • Acts as quick reference for developers/​agents

Output Rules (STRICT ENFORCEMENT)

Format Constraints

RuleConstraint
Max depth3 levels
Max children per node5 items
Leaf node max length12 words OR 60 characters
Node formatNoun phrases/​keywords ONLY
DuplicatesMerge into single item
Tree formatMarkdown tree ONLY (no mixing)

Zero Tolerance Items

❌ FORBIDDEN:

  • Intro paragraphs, conclusions, or commentary
  • Full sentences in leaf nodes
  • Explanatory text outside the tree
  • Mixed tree formats (ASCII + Markdown)
  • Depth > 3 or children > 5
  • Duplicate items

✅ REQUIRED:

  • ONLY output the tree structure
  • Use noun phrases: "Error boundary setup", "State validation logic"
  • Keep leaf nodes concise: max 12 words
  • Merge similar concepts
  • Single tree format (Markdown bullets)

Example Output

Topic: Implementing User Authentication

- User Authentication
  - Security
    - Password hashing (bcrypt/​argon2)
    - JWT token management
    - HTTPS-only cookies
  - Validation
    - Input sanitization
    - Email format check
    - Rate limiting
  - Error Handling
    - Failed login attempts tracking
    - Account lockout mechanism
    - Clear error messages (no data leaks)

Workflow

When invoked with a topic:

  1. Identify Core Areas: Extract 2-5 main categories for the topic
  2. Extract Best Practices: For each category, list 2-5 key practices
  3. Format as Keywords: Convert to noun phrases (no full sentences)
  4. Verify Constraints: Check depth ≤ 3, children ≤ 5, length ≤ 12 words
  5. Merge Duplicates: Combine similar/​overlapping items
  6. Output Tree ONLY: No intro, no conclusion, just the tree

Integration with Task Documents

Example Task Document Integration:

## Worker1

- [ ] Implement user authentication #auth !high Deadline(2025:01:15)
  - [ ] Design login UI layout
    <!-- Best Practice Tree -->
    - Login UI
      - Layout
        - Mobile-first responsive design
        - Focus management (accessibility)
        - Password visibility toggle
      - Validation
        - Real-time feedback
        - Clear error states
      - Security
        - No password in URL params
        - Auto-logout on idle
  - [ ] Create API integration
    <!-- Best Practice Tree -->
    - Auth API Integration
      - Request Handling
        - Token refresh logic
        - Retry with exponential backoff
      - Error Handling
        - Network failure graceful degradation
        - 401/​403 redirect to login
      - Security
        - Secure token storage
        - XSS/​CSRF protection

Usage Notes

  • Concise over Complete: Focus on critical practices, not exhaustive lists
  • Actionable Keywords: Use phrases developers can immediately act on
  • Context-Aware: Tailor to the specific subtask context (UI vs API vs DB)
  • No Duplication: If practice applies to multiple subtasks, mention once in parent

Common Topics

Topic TypeCore Areas to Cover
UI ComponentsLayout, Accessibility, State, Events, Performance
API IntegrationRequest/​Response, Error Handling, Caching, Security
Database OperationsSchema Design, Query Optimization, Transactions, Validation
State ManagementData Flow, Mutations, Side Effects, Persistence
TestingCoverage, Edge Cases, Mocking, Performance

Remember: Output ONLY the tree. No explanations.

More Productivity & Planning skills

brainstorming logo
Productivity & Planning

brainstorming

Structured design dialogue that validates ideas before implementation begins.

295.4K 385.7K
View
ui-ux-pro-max logo
Productivity & Planning

ui-ux-pro-max

Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.

133.1K 383.9K
View
writing-plans logo
Productivity & Planning

writing-plans

Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.

295.4K 268K
View
using-superpowers logo
Productivity & Planning

using-superpowers

Introduction to the obra skills system with mandatory skill invocation rules and best practices.

295.4K 259.8K
View
executing-plans logo
Productivity & Planning

executing-plans

Execute a written implementation plan with critical review and task checkpoints.

295.4K 229.1K
View
dispatching-parallel-agents logo
Productivity & Planning

dispatching-parallel-agents

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View
using-git-worktrees logo
Productivity & Planning

using-git-worktrees

Isolated git worktrees with smart directory selection and safety verification.

295.4K 205.2K
View
webapp-testing logo
Productivity & Planning

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

179.7K 170.6K
View
content-strategy logo
Productivity & Planning

content-strategy

Plan searchable and shareable content that drives traffic, builds authority, and generates leads.

53.3K 150.9K
View
repo-intake-and-plan logo
Productivity & Planning

repo-intake-and-plan

README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.

497 139.6K
View
marketing-ideas logo
Productivity & Planning

marketing-ideas

Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.

53.3K 137.2K
View
site-architecture logo
Productivity & Planning

site-architecture

Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.

53.3K 112.8K
View

Productivity AI tools

Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View
SaveDay logo
Productivity

SaveDay

Capture, organize, and utilize your knowledge effortlessly.

Free
View
Any Summary logo
Productivity

Any Summary

Instant Summaries of Audio & Video Interviews with AnySummary

Freemium
View
M
Productivity

Map This

Transform PDFs into engaging mind maps.

Freemium
View
ChatPDF logo
Productivity

ChatPDF

Chat with any PDF instantly

Free
View
I
Productivity

intellisay

Create an optimal daily plan using your voice

Paid
View
A
Productivity

Aurora AI

A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.

Paid
View
AskYourPDF logo
Productivity

AskYourPDF

AskYourPDF Pricing Plans: Tailored to Your Needs

Free
View