All authors

Claude Skills by danieleteti
github.com/danieleteti16 skills5 installs132 views
- Delphi Code SmellsUse when reviewing existing Delphi / Object Pascal code for defects, hunting a memory leak or an access violation, or hardening new code against the classic mistakes. Covers compiler warnings and hints that indicate a real bug, warnings-as-errors, leak detection and how to make a leak fail a build, third-party static analysis, a catalogue of smells each with a search that finds it, and a staged review procedure with evidence labels. Triggers on "code smell", "code review", "review this unit",...Votes: 0GitHub stars: 24
- DelphiUse when writing, reviewing or fixing Delphi / Object Pascal code — any .pas or .dpr unit, the RTL or the VCL — independently of any framework. Covers language level and version gating, inline var, generics, anonymous methods, memory and lifetime (Free, try/finally, interfaces, managed records), strings and encodings, exceptions, System.Generics.Collections, RTTI and attributes, threading, migrating legacy code (Unicode, 64-bit, BDE), and the naming/formatting conventions. Triggers on "Delphi...Votes: 0GitHub stars: 24
- Dmvcframework JsonrpcUse when building or consuming a JSON-RPC 2.0 endpoint with DelphiMVCFramework — publishing a plain Delphi class as remotely callable methods, or calling one from a Delphi client. Triggers on "JSON-RPC", "JSONRPC", "MVCFramework.JSONRPC", "RPC method", "PublishObject", "TMVCJSONRPCController", "TMVCJSONRPCPublisher", "IMVCJSONRPCExecutor", "TMVCJSONRPCExecutor", "TJSONRPCRequest", "IJSONRPCResponse", "MVCJSONRPCAllowGET", "EMVCJSONRPCError", "JSON-RPC notification", "the wizard's JSON-RPC Ser...Votes: 0GitHub stars: 24
- Dmvcframework Minimal ApiUse when building a DelphiMVCFramework service with lambda/anonymous-method routes instead of controller classes — Minimal API. Triggers on "minimal API", "MapGet", "MapPost", "MapMethods", "route group", "endpoint filter", "HTTP filter", "filter bundle", "TMVCRouteGroup", "AsWeb", "lambda routes", "no controller", "Prefix", "group.Use", "TMVCFormFile", "MVCFromQueryString", "wizard Minimal API preset". Covers both Minimal REST APIs and Minimal web apps (TemplatePro/HTMX via .AsWeb).Votes: 0GitHub stars: 24
- Dmvcframework SecurityUse when writing or reviewing any DelphiMVCFramework server-side code that touches untrusted input — request bodies, query strings, headers, cookies, uploads, redirects, SQL/RQL, HTML output, JWT, CORS, secrets. Covers access control, mass assignment, SQL injection, XSS in TemplatePro, CSRF, path traversal, SSRF, file uploads, security headers, JWT hardening and secret management, with the DMVCFramework API that actually implements each control. Read before shipping an endpoint that a strange...Votes: 0GitHub stars: 24
- Dmvcframework TestingUse when writing or fixing tests for a DelphiMVCFramework API — integration tests that drive real HTTP against an in-process server, or unit tests around controllers. Covers the DUnitX + in-process IMVCServer + IMVCRESTClient stack, CRUD/auth/authorization test patterns, database fixtures and the console runner. Triggers on "write tests", "integration test", "test the endpoint", "test the controller", "DUnitX", "TMVCRESTClient", "IMVCRESTClient", "test REST API", "API test".Votes: 0GitHub stars: 24
- Dmvcframework UiUse when styling or laying out the HTML of a DMVCFramework web application — adding a page, a nav entry, a card, a form, a toast, a theme toggle, or touching style.css. Covers the presentation layer the DMVCFramework wizard actually generates: Bootstrap 5.3 (loaded from CDN in baselayout), the brand tokens in style.css, dark/light mode via data-bs-theme, and the HTMX activity classes. Triggers on "style.css", "Bootstrap", "dark mode", "theme toggle", "navbar", "card", "toast", "hero", "CSS", ...Votes: 0GitHub stars: 24
- Dmvcframework WebappUse when building a server-side web application with DelphiMVCFramework — HTML pages and HTMX fragments rendered by TemplatePro. Covers view engine setup, template inheritance and blocks, ViewData and its ownership rules, fragments, custom filters, cookie/JWT login, static files, and the HTMX request/response helpers on the Delphi side. Triggers on "TemplatePro", "RenderView", "ViewData", "baselayout", "template inheritance", "HTML fragment", "web controller", "HTMX", "hx-get", "server-side v...Votes: 0GitHub stars: 24
- DmvcframeworkUse when writing any server-side feature with DelphiMVCFramework (DMVC) — controllers, routes, REST endpoints, entities, filters and middleware, validation, dependency injection, JWT, SSE, or the server bootstrap. The core skill; the Minimal API, web-app, UI, security and testing skills build on it. Triggers on "DMVCFramework", "DelphiMVCFramework", "create a controller", "add a route", "REST endpoint in Delphi", "TMVCActiveRecord", "ActiveRecord entity", "add middleware", "add a filter", "fi...Votes: 0GitHub stars: 24
- Htmx SkillUse when you need accurate htmx 2.x syntax or behavior: attributes, events, headers, the JS API, extensions, or a worked example. Indexes the htmx 2.0.11 reference pages with a description each, so the right page can be fetched and read instead of recalled from memory. Not for htmx 4 (see the body).Votes: 0GitHub stars: 24
- Delphi BuildUse when building, compiling or verifying a Delphi project from the command line - finding the newest RAD Studio, rsvars.bat, msbuild on a .dproj, dcc32/dcc64 on a .dpr, Debug/Release, Win32/Win64, reading compiler errors and warnings, making a warning fail the build, CI builds and exit codes. Triggers on "build a Delphi project", "msbuild", "dcc32", "dcc64", "rsvars", "compile error", "compiler error", "E2003", "F2613", "MSB4057", "warnings as errors", "Win64 build", "command line build", "C...Votes: 0GitHub stars: 24
- Delphi FiredacUse when writing or fixing plain Delphi code that talks to a database through FireDAC (VCL, FMX, console, service), with no web framework. Covers TFDConnection, connection definitions and pooling, transactions, TFDQuery/TFDCommand/TFDStoredProc, parameters and macros, fetching and RecordCount, array DML, cached updates and ApplyUpdates, EFDDBEngineException, threading, the uses clause per driver, and porting a BDE/ADO/dbExpress app. Triggers on "FireDAC", "TFDConnection", "TFDQuery", "ExecSQL...Votes: 0GitHub stars: 24
- Delphi SecurityUse when writing or reviewing the security of plain Delphi code that is not a web server - desktop apps, services, console tools, clients. Covers password hashing, random tokens and keys, THTTPClient/TNetHTTPClient TLS and certificate validation, SQL injection in FireDAC macros, path traversal, secrets and passwords in memory, ShellExecute/CreateProcess command injection, DLL search order, untrusted sizes, and what a log or crash report must not contain. Server endpoints belong to dmvcframewo...Votes: 0GitHub stars: 24
- Delphi TestingUse when writing, running or fixing unit tests in plain Delphi with DUnitX as shipped with RAD Studio - a console test project, fixtures, assertions, test data, per-test leak detection, CI exit codes, and tests that pin down legacy code. Triggers on "DUnitX", "unit test", "TestFixture", "[Test]", "TestCase", "Assert", "test project", "CI exit code", "memory leak in a test", "characterization test", "golden master", "test double".Votes: 0GitHub stars: 24
- Exewatch DelphiUse when adding, changing or debugging ExeWatch monitoring in a Delphi app - the ExeWatchSDKv1 unit, TExeWatch, InitializeExeWatch, remote logging, crash reporting, stack trace in production, application monitoring, telemetry (timings, counters, gauges, breadcrumbs), offline buffering, the map file, ExeWatchMapCLI. Triggers on "ExeWatch", "ExeWatchSDKv1", "TExeWatch", "application monitoring", "remote logging", "crash reporting", "stack trace in production", "telemetry in a Delphi app".Votes: 0GitHub stars: 24
- Dmvcframework McpUse when adding or changing MCP (Model Context Protocol) tools, resources or prompts in a DelphiMVCFramework project generated with the wizard's "MCP Server" preset or MCP options - the mcp-server-delphi library (MVCFramework.MCP.* units), TMCPToolProvider, TMCPResourceProvider, TMCPPromptProvider, TMCPToolResult, the /mcp endpoint, the stdio transport, or the REST bridge (RegisterFromEngine). Triggers on "MCP", "MCP server", "MCP tool", "Model Context Protocol", "tool provider", "Tools.Sampl...Votes: 0GitHub stars: 24