Skip to content

PHPLARA-100: Create agent skills - #3546

Merged
paulinevos merged 3 commits into
mongodb:5.xfrom
paulinevos:agent-skills
Jul 16, 2026
Merged

PHPLARA-100: Create agent skills#3546
paulinevos merged 3 commits into
mongodb:5.xfrom
paulinevos:agent-skills

Conversation

@paulinevos

Copy link
Copy Markdown
Contributor

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.

Copilot AI review requested due to automatic review settings July 15, 2026 09:41
@paulinevos
paulinevos requested a review from a team as a code owner July 15, 2026 09:41
@paulinevos
paulinevos requested a review from GromNaN July 15, 2026 09:41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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-mongodb skill (skills/SKILL.md) with supporting reference guides under skills/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.

Comment thread .github/workflows/validate-skills.yml
Comment thread .github/workflows/validate-skills.yml Outdated
Comment thread skills/laravel-mongodb/references/schema.md Outdated
Comment thread skills/laravel-mongodb/references/schema.md Outdated
Comment thread skills/laravel-mongodb/references/vector-search.md
Comment thread skills/laravel-mongodb/references/vector-search.md
Comment thread tests/skills/laravel-mongodb/validate-php-examples.php
Comment thread .github/workflows/validate-skills.yml Outdated
Comment thread .github/workflows/validate-skills.yml
Comment thread .github/workflows/validate-skills.yml
@paulinevos
paulinevos requested a review from kevinAlbs July 15, 2026 10:03
@paulinevos paulinevos changed the title Agent skills PHPLARA-100: Create agent skills Jul 15, 2026
@paulinevos
paulinevos enabled auto-merge (squash) July 15, 2026 10:08
Comment thread AGENTS.md
Comment thread skills/laravel-mongodb/references/search-engine.md Outdated
Comment thread skills/laravel-mongodb/references/vector-search.md Outdated
Comment thread skills/laravel-mongodb/references/connection.md Outdated
Comment thread skills/laravel-mongodb/references/connection.md Outdated
Comment thread skills/laravel-mongodb/references/eloquent-models.md Outdated
Comment thread skills/laravel-mongodb/references/support.md Outdated
@@ -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.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Poke: this might be still relevant.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 23 out of 23 changed files in this pull request and generated 2 comments.

Comment thread .github/workflows/validate-skills.yml
Comment thread tools/review-skill/SKILL.md
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.
Comment thread .github/workflows/validate-skills.yml

@kevinAlbs kevinAlbs left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM with consideration to refer to Jira projects.

@paulinevos
paulinevos merged commit 928a900 into mongodb:5.x Jul 16, 2026
31 checks passed
@paulinevos
paulinevos deleted the agent-skills branch July 22, 2026 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants