package skills import ( "github.com/MakeNowJust/heredoc/v2" "github.com/spf13/cobra" "gitlab.com/gitlab-org/cli/internal/cmdutils" getCmd "gitlab.com/gitlab-org/cli/internal/commands/skills/get" installCmd "gitlab.com/gitlab-org/cli/internal/commands/skills/install" listCmd "gitlab.com/gitlab-org/cli/internal/commands/skills/list" updateCmd "gitlab.com/gitlab-org/cli/internal/commands/skills/update" "gitlab.com/gitlab-org/cli/internal/text" ) func NewCmdSkills(f cmdutils.Factory) *cobra.Command { skillsCmd := &cobra.Command{ Use: "skills ", Short: "Manage glab agent skills. (EXPERIMENTAL)", Long: heredoc.Doc(` Install the bundled glab agent skills so that AI agents can discover and use glab effectively. Skills follow the [Agent Skills specification](https://agentskills.io/home) and work with any compatible agent, including GitLab Duo Agent Platform, Claude Code, Codex, and Gemini CLI. `) + text.ExperimentalString, } skillsCmd.AddCommand(getCmd.NewCmd(f)) skillsCmd.AddCommand(installCmd.NewCmdInstall(f)) skillsCmd.AddCommand(listCmd.NewCmdList(f)) skillsCmd.AddCommand(updateCmd.NewCmd(f)) return skillsCmd }