Add the skill details page
What does this MR do and why?
Add the skill details page, based on the iteration 1 design (screen 3a). The page shows:
- A Source card with the file path and the last commit: the message, the SHA, the branch, the author, and the time.
- A Skill files card with the files of the skill, grouped by folder. Select a file to show its content.
The page loads the files at the published commit (commitSha), not at the branch head. The page shows the same content that the catalog published.
The file content shows as plain text in a <pre> block, like the agent system prompt. The page does not render the repository file as Markdown.
The About sidebar does not show the usage count for skills, because nothing consumes a skill yet. !268368 (merged) adds the same hideUsageCount registry value for the list rows.
Not in this MR, because they are not in iteration 1: the Edit in Web IDE button, the alerts for pending and failed changes, and the warning for files that are not Markdown.
This is MR 8 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 | !267449 (merged) |
| 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 |
References
- Related #630880 (closed)
- Epic: gitlab-org#22961
- Design issue: #630405 (closed)
- Designs
- Rollout issue: #630885
- Split from !260396 (closed)
Screenshots or screen recordings
| Before | After |
|---|---|
![]() |
![]() |
How to set up and validate locally
-
In the Rails console, run
Feature.enable(:ai_catalog_skills). -
In a project, add
skills/security-review/SKILL.mdandskills/security-review/references/checklist.md:--- name: security-review description: Checks merge request changes against the team security checklist. metadata: gitlab.visibility: public --- # Security review Check the change against `references/checklist.md`. -
Run
bin/rake "gitlab:ai_catalog:publish_skills[<project_path>]". -
Visit
/explore/ai-catalog/skillsand select the skill. -
Check the Source card. Last commit shows the commit message, the SHA, and the branch.
-
In Skill files, select
checklist.md. The content changes to the checklist. -
Select the
referencesfolder. The files in the folder hide. -
In the About sidebar, there is no usage count. The visibility tooltip describes a skill, not an agent.
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.

