Skip to content

Docs: Add example prompts for GitLab Duo Chat/Code Suggestions

What does this MR do?

GitLab Duo adoption requires practical, hands-on examples for our customers. This MR collects the learnings from FY24 and FY25 blog posts, recorded learning lessions in the GitLab Duo Coffee Chat gitlab-com/marketing/developer-relations/developer-advocacy/developer-advocacy-meta#375 and customer feedback into the documentation.

  1. Add more examples to GitLab Duo Chat use cases, learned through the GitLab Duo Coffee Chat series
    1. /refactor practical examples
    2. /tests additional practical examples
    3. /explain practical examples from own workflows
    4. Add more examples for generating CI/CD configuration.
    5. Additional follow-up question example with C#
    6. New section: Ask about errors focussing on programming language errors, compiler error messages, etc. which is super helpful in the context as developer.
  2. Introduce GitLab Duo examples documentation page
    1. Add story examples from GitLab Duo Coffee Chat series, which combine the power of all GitLab Duo features
    2. Link to YouTube recording resources
    3. Development: C#, C++
    4. Explain and resolve a vulnerability
    5. Solving a problem with Duo Chat Beta
    6. Contribute to GitLab using GitLab Duo
  3. Introduce a Code Generation Prompts section in the new examples docs page
    1. Collect multi-line prompt generation examples for ~10 programming languages
    2. More to come from learnings in future GitLab Duo Coffee Chats and DevRel content, this is the first iteration.

All resources link back to YouTube, blog posts and projects maintained by the Developer Relations team.

Related issues

Author's checklist

If you are a GitLab team member and only adding documentation, do not add any of the following labels:

  • ~"frontend"
  • ~"backend"
  • ~"type::bug"
  • ~"database"

These labels cause the MR to be added to code verification QA issues.

Reviewer's checklist

Documentation-related MRs should be reviewed by a Technical Writer for a non-blocking review, based on Documentation Guidelines and the Style Guide.

If you aren't sure which tech writer to ask, use roulette or ask in the #docs Slack channel.

  • If the content requires it, ensure the information is reviewed by a subject matter expert.
  • Technical writer review items:
    • Ensure docs metadata is present and up-to-date.
    • Ensure the appropriate labels are added to this MR.
    • Ensure a release milestone is set.
    • If relevant to this MR, ensure content topic type principles are in use, including:
      • The headings should be something you'd do a Google search for. Instead of Default behavior, say something like Default behavior when you close an issue.
      • The headings (other than the page title) should be active. Instead of Configuring GDK, say something like Configure GDK.
      • Any task steps should be written as a numbered list.
      • If the content still needs to be edited for topic types, you can create a follow-up issue with the docs-technical-debt label.
  • Review by assigned maintainer, who can always request/require the reviews above. Maintainer's review can occur before or after a technical writer review.
Edited by Michael Friedrich

Merge request reports