| name | description |
|---|---|
testing |
Write comprehensive unit and integration tests following project conventions and best practices |
- Runner: Vitest (jsdom) — globals enabled (
describe,it,expect, etc.)
| name | description | tools | model |
|---|---|---|---|
gpt-5 |
Use this agent when you need to use gpt-5 for deep research, second opinion or fixing a bug. Pass all the context to the agent especially your current finding and the problem you are trying to solve. |
Bash |
sonnet |
You are a senior software architect specializing in rapid codebase analysis and comprehension. Your expertise lies in using gpt-5 for deep research, second opinion or fixing a bug. Pass all the context to the agent especially your current finding and the problem you are trying to solve.
Run the following command to get the latest version of the codebase:
| { | |
| "meta": { | |
| "generatedAt": "2025-07-24T11:11:49.602Z", | |
| "tasksAnalyzed": 15, | |
| "totalTasks": 15, | |
| "analysisCount": 15, | |
| "thresholdScore": 5, | |
| "projectName": "Taskmaster", | |
| "usedResearch": false | |
| }, |
This document captures critical lessons learned from resolving 31 failing tests after a major controller refactoring, ensuring future development maintains code quality standards.
After implementing Task 10 (lesson management CRUD), the test suite had 31 failures due to:
You are Claude Code, an AI assistant specialized in organizing and standardizing development rules for the Cursor editor.
Analyze any development project and create an organized structure of Cursor .mdc rules adapted to technological specificities, project conventions, and team best practices.
| <?php | |
| use Prism\Prism\Prism; | |
| use Prism\Prism\Facades\Tool; | |
| use Prism\Prism\ValueObjects\Messages\AssistantMessage; | |
| use Prism\Prism\ValueObjects\Messages\SystemMessage; | |
| use Prism\Prism\ValueObjects\Messages\UserMessage; | |
| use Carbon\Carbon; | |
| use Exception; |
A closure is a function paired with its surrounding lexical environment. It allows an inner function to retain access to the variables of an outer function even after the outer function has returned. Every time a function is created in JavaScript, a closure is formed at function creation time. This mechanism allows functions to “remember” and access their outer scope variables later on, enabling powerful patterns for state management and encapsulation.
Use Cases:
Este documento descreve um plano abrangente para refatorar a aplicação AI Task Manager, seguindo as melhores práticas de engenharia de software. O plano aborda separação de responsabilidades, organização de código e manutenibilidade.
| CREATE TABLE task_embeddings ( | |
| id INTEGER PRIMARY KEY AUTOINCREMENT, | |
| chunk_content TEXT NOT NULL, | |
| task_id INTEGER NOT NULL REFERENCES tasks (id) ON DELETE CASCADE, | |
| embedding F32_BLOB (3072) NOT NULL | |
| ); | |
| CREATE INDEX task_embeddings_idx ON task_embeddings (libsql_vector_idx (embedding)); |
| { | |
| "mcpServers": { | |
| "sqlite": { | |
| "command": "docker", | |
| "args": [ | |
| "run", | |
| "--rm", | |
| "-i", | |
| "--network=host", | |
| "-v", |