Add Skills project sidebar menu item
What does this MR do and why?
Add a Skills item under AI in the project sidebar. It links to /<project>/-/automate/skills, added in !266269 (merged).
The item shows only when the ai_catalog_skills flag is on for the project and the user can read catalog items (read_ai_catalog_item). These are the same conditions that the controller uses for the route.
The page has no Vue route until MR 6. Until then, the project Vue router redirects /automate/skills to Sessions.
The AI Catalog Curation redesign (gitlab-org#23061) plans to replace the separate Agents, Flows and Skills items with one AI Catalog item (#627837). Until then, this item follows the current pattern.
This is MR 2 of the split of !260396 (closed). All parts are behind the ai_catalog_skills flag (default off).
| # | MR | Status |
|---|---|---|
| 1 | Add routes for AI catalog skills | !266269 (merged) |
| 2 | Add Skills project sidebar menu item | |
| 3 | Register skill as an AI catalog item type | !267460 (merged) |
| 4 | Fall back to the git author name in item attribution | !267461 (merged) |
| 5 | Support skills in the version alert and enable disclaimer | !268927 (merged) |
| 6 | Add skills routes to the Explore and project Vue routers | !267907 (merged) |
| 7 | Add Skills tab to the Explore AI catalog | !268368 (merged) |
| 8 | Add the skill details page | !268788 (merged) |
References
- Related #630880 (closed)
- Epic: gitlab-org#22961
- Rollout issue: #630885
- Split from !260396 (closed)
Screenshots or screen recordings
| Before | After |
|---|---|
![]() |
![]() |
How to set up and validate locally
- Open a project with GitLab Duo enabled. Expand AI in the sidebar. There is no Skills item.
- In the Rails console, run
Feature.enable(:ai_catalog_skills). - Reload the page. AI > Skills appears after Flows. It links to
/<project>/-/automate/skills, which redirects to Sessions until MR 6.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

