PHPLARA-100: Create agent skills - #3546
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Adds “Agent Skill” assets for the laravel-mongodb integration (skill content + review workflow docs), plus CI/local tooling to validate skills and evaluate example quality.
Changes:
- Introduces the
laravel-mongodbskill (skills/SKILL.md) with supporting reference guides underskills/references/. - Adds a skill review workflow (
tools/review-skill/) and a local validation helper (tools/validate-skills.sh). - Adds CI validation for skills and test utilities/evals for validating skill examples (
tests/skills/*,.github/*).
Reviewed changes
Copilot reviewed 22 out of 22 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| tools/validate-skills.sh | Local helper to run skill-validator against one skill or all skills. |
| tools/review-skill/SKILL.md | “Review skill” workflow instructions for SMEs to validate and score skills. |
| tools/review-skill/references/llm-scoring.md | LLM scoring flow documentation (Claude CLI provider). |
| tools/review-skill/references/install-skill-validator.md | Installation guide for skill-validator and Claude CLI prereqs. |
| tools/review-skill/assets/report.md | Scoring interpretation framework and review summary structure. |
| tests/skills/validate-php-examples.php | Utility to lint PHP code blocks embedded in skill markdown. |
| tests/skills/evals/evals.json | Evals corpus for the laravel-mongodb skill behavior. |
| skills/SKILL.md | The primary laravel-mongodb agent skill definition and templates. |
| skills/references/vector-search.md | Skill reference on Atlas Vector Search (auto-embed/manual/hybrid). |
| skills/references/transactions.md | Skill reference for MongoDB transaction usage/limitations. |
| skills/references/support.md | Skill reference for routing bug reports to the correct repo/layer. |
| skills/references/search-engine.md | Skill reference for Atlas Search and optional Scout integration. |
| skills/references/schema.md | Skill reference for schema/index migrations and Blueprint methods. |
| skills/references/relationships.md | Skill reference for embedded/cross-db relations and FK typing. |
| skills/references/queues.md | Skill reference for MongoDB queue driver config and indexes. |
| skills/references/query-builder.md | Skill reference for unsupported helpers and MongoDB alternatives. |
| skills/references/installation.md | Skill reference for installing ext-mongodb and package setup. |
| skills/references/eloquent-models.md | Skill reference for MongoDB Eloquent model basics and _id mapping. |
| skills/references/connection.md | Skill reference for MongoDB connection configuration and usage. |
| skills/references/cache-sessions.md | Skill reference for MongoDB cache/session stores and TTL indexes. |
| .github/workflows/validate-skills.yml | CI workflow to install skill-validator and validate skills on PRs. |
| .github/scripts/validate-skills.sh | CI script to validate only skills changed in a PR and write summaries. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
GromNaN
reviewed
Jul 15, 2026
kevinAlbs
reviewed
Jul 15, 2026
| @@ -0,0 +1,23 @@ | |||
| # Support and Issue Reporting | |||
|
|
|||
| Before opening an issue, search existing issues and pull requests in the relevant repository — the bug may already be reported or fixed. | |||
There was a problem hiding this comment.
Though Jira may be less useful to an agent (requires logging in), consider also referencing the PHPLARA, PHPLIB, PHPC Jira projects (similar to README) since they may be tracking an existing issue.
paulinevos
force-pushed
the
agent-skills
branch
2 times, most recently
from
July 16, 2026 10:06
e8c4528 to
7a10add
Compare
The same skill validator that's used for the MongoDB agent-skills repo
The AGENTS.md file in the project root is meant for development of `laravel-mongodb` itself.
kevinAlbs
approved these changes
Jul 16, 2026
kevinAlbs
left a comment
There was a problem hiding this comment.
LGTM with consideration to refer to Jira projects.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds agent skills to the Laravel integration. This is basically @GromNaN's PR to the mongodb agent-skills repo but we decided to have it live here instead.
Also copies over necessary skills review workflow.