FreePascal/Lazarus Code Review

Evaluate FreePascal/Lazarus code against correctness, security, performance, and style guidelines.

17|7|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/delphicleancode/lazarus-spec-kit --skill freepascal-lazarus-code-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: FreePascal/Lazarus Code Review
Source: https://github.com/delphicleancode/lazarus-spec-kit/tree/main/.gemini/skills/code-review
Command: npx skills add https://github.com/delphicleancode/lazarus-spec-kit --skill freepascal-lazarus-code-review

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a comprehensive, repeatable code-review checklist to ensure FreePascal/Lazarus projects meet quality, security, performance, and maintainability standards.

Core Features & Use Cases

  • Provides a structured, criteria-driven evaluation covering correctness, memory management, naming conventions, testing, and documentation.
  • Helps teams enforce SOLID principles and Pascal-specific guidelines to reduce bugs and tech debt.
  • Use Case: You are reviewing a new Lazarus unit; apply the checklist to verify proper try/finally usage, proper interface usage, and naming consistency across the codebase.

Quick Start

Run the code review checklist on your FreePascal/Lazarus project to identify primary improvements.

Frequently Asked Questions about FreePascal/Lazarus Code Review

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

FAQPage Schema
How do I review FreePascal code for memory management and naming conventions?

Reviewing FreePascal code involves checking memory management issues, naming inconsistencies, and SOLID adherence using a structured checklist covering correctness, security, performance, and style guidelines.

What is the best way to enforce SOLID principles in a Lazarus project?

Enforcing SOLID principles in Lazarus projects requires applying criteria-driven evaluations to verify proper try/finally usage, interface usage, and naming consistency to reduce bugs and technical debt.

How does a structured FreePascal code review checklist work?

A structured FreePascal code review checklist works by evaluating code quality against dedicated sections for correctness, security, performance, naming, tests, and documentation backed by best-practice guidance.

Can I use this code review process for FreePascal libraries and Lazarus units?

Yes, you can apply this code review process to both Lazarus projects and FreePascal libraries to identify primary improvements and ensure they meet quality, security, and maintainability standards.

How do I check if my Lazarus unit has proper try/finally usage and interface usage?

Checking proper try/finally usage and interface usage in Lazarus units involves applying a comprehensive code-review checklist that evaluates correctness, memory management, and documentation.

What should a FreePascal code review cover to reduce tech debt?

A FreePascal code review should cover correctness, memory management, naming conventions, testing, and documentation to enforce SOLID principles and Pascal-specific guidelines, thereby reducing bugs and tech debt.