Tag: best-practices
Comprehensive TypeScript Code Style Guide
This guide outlines best practices for writing robust, type-safe TypeScript code, covering advanced topics such as preferred type usage (interface vs type), modern async patterns, and structured module imports. It ensures adherence to high …
Vitest best practices and testing guide
This guide outlines advanced best practices for writing robust unit and integration tests using Vitest. It advises developers on mocking strategies, distinguishing between behavior and implementation tests, and optimizing test coverage.
Comprehensive Code Review Checklist for LobeHub
This comprehensive checklist guides developers through critical areas of code review, covering security best practices, testing coverage, internationalisation, and architectural consistency. It ensures adherence to LobeHub's standards, part…
LobeHub React Component Development Guide
This skill provides comprehensive guidelines for developing React components within the LobeHub ecosystem. It details optimal styling approaches using createStaticStyles, component priority, and architectural rules for routing and desktop f…
Create structured git commits with best practices
This skill guides the user through creating professional, atomic git commits by enforcing the conventional commit format. It ensures proper staging and adherence to industry best practices for version control.
Comprehensive code review for bugs and security
This skill performs comprehensive code analysis, checking for logic errors, security vulnerabilities, and performance bottlenecks. It provides actionable, structured feedback covering best practices and maintainability.
Code Review Quality Assurance Framework
A structured framework for evaluating code correctness, maintainability, performance, and security. It provides a comprehensive checklist and guidance for delivering actionable feedback.
CloudBase platform overview and capability selection
This skill provides foundational knowledge and conceptual guidance across the entire CloudBase ecosystem. It helps developers select the correct platform, service, or specialized skill (e.g., Web, Mini Program, storage) before implementing …
Automated Code Review and Quality Assurance
This skill provides comprehensive code review assistance, automating style checks and identifying potential bugs, security vulnerabilities, and performance issues. It delivers structured feedback categorized by severity (Critical, Important…
Stripe API integration best practices guide
This skill guides developers through selecting the appropriate Stripe API for complex integrations, covering everything from one-time payments and subscriptions to marketplace setup and financial account management. It ensures adherence to …
Stripe API integration best practices guide
This skill provides comprehensive guidance on selecting the correct Stripe API endpoints for various use cases, including one-time payments, subscriptions, and marketplace setups. It covers critical best practices such as restricted API key…
Code cleanup, refactoring, and documentation skill
This skill analyzes uncommitted and outgoing branch changes to improve code quality. It refactors for readability and performance, adds Google-style docstrings, and ensures adherence to established architectural patterns.
agent skill creation and development guide
This skill provides comprehensive guidance on structuring and authoring modular agent skills. It details best practices, including progressive disclosure, resource management (scripts, references, assets), and adhering to the AgentSkills sp…
Comprehensive Code Quality and Security Reviewer
Performs thorough code assessments covering correctness, readability, performance, and security vulnerabilities. It provides a structured report detailing issues by severity, along with actionable recommendations for improvement.
comprehensive code review for security and bugs
Analyzes provided codebases to identify logical bugs, security vulnerabilities (such as injection risks), and deviations from established best practices. Findings are structured by severity level with actionable remediation suggestions.
Enforces modern typescript code style and safety
This skill enforces robust, modern TypeScript best practices, covering advanced type usage (e.g., `interface` vs `type`), asynchronous patterns, and optimal module import structures. It guides developers toward writing highly maintainable a…
Best Practices for Writing Robust Unit Tests
This guide outlines best practices for developing reliable tests using Vitest, covering advanced mocking patterns, test structure, and distinguishing between behavior and implementation-coupled assertions. It advises developers on optimizin…
Comprehensive Code Review Checklist for LobeHub
This skill provides a detailed, multi-faceted checklist for reviewing pull requests, covering best practices across security, testing, i18n, and architectural consistency. It guides developers to catch common pitfalls such as hardcoded secr…
Capture and Formalise Team Conventions
This skill parses natural language descriptions of best practices to automatically update .claude/rules/ or .claude/agents/ configuration files. It identifies the appropriate scope, drafts concise rule definitions with rationales, and ensur…
Project Code Standards Reviewer Skill
This skill reviews code changes against a comprehensive set of project-specific coding standards. It validates adherence to rules covering multitenancy, data access patterns, architectural layering, and modern TypeScript best practices.
React/TypeScript Component Architecture Guide
This guide provides architectural best practices for developing robust React/TypeScript components. It covers state management, data fetching contracts, prop typing, and component ownership to ensure highly maintainable and scalable codebas…
Comprehensive Frontend Code Quality Review Skill
This skill performs comprehensive code reviews on frontend files (e.g., TSX, JS). It supports both reviewing staged changes and specific files, flagging violations against established checklists for quality, performance, and business logic.
Backend Code Review and Quality Analysis
This skill analyzes backend code (e.g., Python files in api/) for security vulnerabilities, performance bottlenecks, and adherence to best practices. It supports reviewing staged changes, code snippets, or specific files across multiple def…
Guidelines for robust LLM code generation
This skill provides behavioral guidelines designed to mitigate common coding pitfalls observed in large language models. It enforces principles such as explicit assumption surfacing, maintaining code simplicity, performing surgical edits, a…