AI skill for AI Marketing Initiative: guide for setting up AI tooling to interact with GitLab via the CLI
## Summary Create a **Marketing AI Initiative–specific AI** skill that quickly guides any Marketing AI Initiative developer through setting up an AI assistant (e.g. Claude Code) to interact with GitLab on git.drupalcode.org via the CLI. The skill should cover initial setup (CLI install, auth, environment variables, token scopes) and a handful of generic best-practice patterns so new contributors don't burn a day wiring things up themselves. Scope is intentionally small; we will iterate on content after this first draft. ## Acceptance Criteria - [x] A discoverable SKILL.md exists for the Marketing AI Initiative that guides new developers through setting up AI tooling to interact with GitLab via the CLI. - [x] Documents install + env-var auth pattern for `glab` against `git.drupalcode.org`, including PAT creation and a recommended minimum scope. - [x] Flags the `glab api -f field=@file` gotcha — `glab` does **not** read the file; it silently passes `@file` as the literal value (unlike `gh api`, which people reach for by muscle memory). Documents the `FIELD=$(cat file)` shell-variable pattern as the default for multi-line writes. Context: [#3586406 note 807944](https://git.drupalcode.org/project/ai_initiative/-/work_items/3586406#note_807944), where this wiped two issue descriptions before being caught. - [x] Covers a handful (3–5) of day-to-day CLI patterns — e.g. listing/reading/creating issues, posting comments, viewing MR state, and the unauthenticated `discussions.json` read-only fallback. - [x] Cross-links rather than duplicates existing drupalcode GitLab docs / skills. - [x] Explicitly notes what is intentionally out of scope for this first pass (e.g. creating MRs end-to-end, drupal.org issue credit flow) so follow-ups are easy to spot. ## Notes - First-draft scope only; additional ACs and content will be refined in follow-up tickets after initial review. - Target audience: any contributor joining the Marketing AI Initiative who already uses an AI coding assistant and wants GitLab interop without a long setup runway. --- *Drafted with the assistance of AI (Claude Code / Opus 4.7).*
issue