Skip to content

Añadida documentación para agentes IA y definición de skills#1911

Open
daniel89fg wants to merge 3 commits intoNeoRazorX:masterfrom
daniel89fg:agents-ai
Open

Añadida documentación para agentes IA y definición de skills#1911
daniel89fg wants to merge 3 commits intoNeoRazorX:masterfrom
daniel89fg:agents-ai

Conversation

@daniel89fg
Copy link
Contributor

Se crean y estructuran archivos relevantes para los agentes de inteligencia artificial, incluyendo un marco de reglas en AGENTS.md, guías específicas en ai/skills/, y un índice en skills.yaml. Esto facilita la colaboración automatizada y estandariza el uso de herramientas como Tools, Translator, y extensiones vía hooks.

Esto ayudará a los agentes como Claude, Codex, Junie, Gemini, etc a saber interpretar mejor el código y no alucinar tanto, ademas, ayuda a los modelos a no tener que leer toda la estructura del proyecto o plugin para dar una solución, reduciendo el tiempo de respuesta y el consumo de tokens.

Se crean y estructuran archivos relevantes para los agentes de inteligencia artificial, incluyendo un marco de reglas en `AGENTS.md`, guías específicas en `ai/skills/`, y un índice en `skills.yaml`. Esto facilita la colaboración automatizada y estandariza el uso de herramientas como `Tools`, `Translator`, y extensiones vía hooks.
Copilot AI review requested due to automatic review settings March 16, 2026 12:19
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a structured documentation framework aimed at helping AI agents (and contributors) navigate the FacturaScripts codebase, with a global rules file (AGENTS.md), task-specific “skills” under ai/skills/, and an index in ai/skills.yaml.

Changes:

  • Adds project-wide AI agent context and architecture rules in AGENTS.md.
  • Adds an AI documentation hub (ai/README.md, ai/DEVELOPMENT.md) plus multiple skill guides in ai/skills/.
  • Introduces ai/skills.yaml as a catalog/index to discover skills.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 15 comments.

Show a summary per file
File Description
AGENTS.md Global AI-agent context, architecture rules, and pointers to AI docs
ai/README.md Explains the purpose/structure of the ai/ docs and how to add skills
ai/DEVELOPMENT.md Dev commands for install/tests/static analysis/style tools
ai/skills.yaml Registry/index of available skills and when to use them
ai/skills/use-tools.md Usage guidance for FacturaScripts\Core\Tools
ai/skills/use-translator.md Usage guidance for Translator / i18n patterns
ai/skills/model-management.md Model CRUD/query guidance with examples
ai/skills/table-definition.md XML DB table definition guidance
ai/skills/xml-view-definition.md XMLView forms/list definitions guidance
ai/skills/plugin-development.md Plugin structure and extension patterns
ai/skills/extensions-and-hooks.md Pipes/extensions + Twig hooks guidance
ai/skills/api-usage.md REST API usage + custom endpoint guidance
ai/skills/use-http.md HTTP client usage guidance (FacturaScripts\Core\Http)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

NeoRazorX and others added 2 commits March 16, 2026 14:12
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Se corrigen errores tipográficos en el uso de métodos (e.g., `Tools::settingsSave()`), se ajustan ejemplos para reflejar mejores prácticas (e.g., sustitución de instancias por métodos estáticos como `Http::get()`), y se unifican los métodos en las definiciones XML. Esto mejora la consistencia y evita confusiones al usar la documentación.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants