feat: add .agents/skills/ directory + fix codegen output path to .agents/skills/#870
Merged
pyramation merged 1 commit intomainfrom Mar 21, 2026
Merged
Conversation
- Add .agents/skills/constructive-monorepo-setup/SKILL.md with lightweight setup guide that cross-references public skills repo - Fix resolveSkillsOutputDir() default from 'skills' to '.agents/skills' so codegen-generated skills are auto-discoverable - Update skillsPath documentation to reflect new default
Contributor
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
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.
Summary
Two changes to improve agent skill auto-discovery in the Constructive monorepo:
Fix codegen default output path —
resolveSkillsOutputDir()ingraphql/codegen/src/core/generate.tsnow defaults to.agents/skills/instead ofskills/. This aligns codegen-generated skills with the.agents/skills/<name>/SKILL.mdconvention used by Devin, Claude Code, Cursor, and Copilot for auto-discovery.Add
.agents/skills/constructive-monorepo-setup/SKILL.md— A lightweight setup skill that cross-references public skills (pgpm, constructive-graphql, constructive-testing, etc.) without duplicating content. Provides quick-start commands for local dev.Note: The existing
skills/directory (14 codegen-generated skill dirs) is left in place — it will be superseded on the next codegen run, which will write to.agents/skills/instead.Review & Testing Checklist for Human
@constructive-io/graphql-codegenwithout an explicitskillsPathwill now output skills to.agents/skills/instead ofskills/. Verify this is acceptable for all consumers, or consider whetherskillsPathoverrides are needed in existing codegen configs.skills/directory: This PR does not remove or migrate the existingskills/directory (14 dirs:cli-admin,hooks-public,orm-objects, etc.). Decide whether to clean it up in this PR or leave it for the next codegen run.cnc codegen(or equivalent) against a live endpoint after merging to confirm skills are written to.agents/skills/correctly.Notes
'skills'→'.agents/skills'). No type, import, or logic changes.skillsPathconfig option still works as an override — only the default changes.constructive-skills(Feat/use postgis pgvector #67, test pgvector postgis #68),constructive-private-skills(node-gyp build error on npm install #25),constructive-db(chore: remove apiExtensions and database_extension references #654), andconstructive-sdk-agentic-flow(setup demo script #17) for the same.agents/skills/migration.Link to Devin session: https://app.devin.ai/sessions/d0a20ee2e5194f4e8c342c6bc12fea07
Requested by: @pyramation