Skip to content

Add example prompts for DLS Coding Agent#761

Merged
tjanczak merged 10 commits intomainfrom
dls_coding_agent_examples
Apr 13, 2026
Merged

Add example prompts for DLS Coding Agent#761
tjanczak merged 10 commits intomainfrom
dls_coding_agent_examples

Conversation

@tjanczak
Copy link
Copy Markdown
Contributor

Description

Add prompt examples and additional tweaks/improvements to Coding Agent logic to enable these prompts.

Fixes # (issue)

Any Newly Introduced Dependencies

None.

How Has This Been Tested?

Validated on a local Linux machine.

Checklist:

  • I agree to use the MIT license for my code changes.
  • I have not introduced any 3rd party components incompatible with MIT.
  • I have not included any company confidential information, trade secret, password or security token.
  • I have performed a self-review of my code.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR expands the DLStreamer Coding Agent skill content by adding example prompts and updating the supporting references/templates so the agent can reliably generate apps matching those prompts (including environment setup parallelization, device fallback, and video download guidance).

Changes:

  • Added a step-by-step procedure and “example prompts” references to the skill documentation.
  • Expanded pipeline/model-prep/design-pattern references (common use-case mapping, device assignment guidance, download/export requirements guidance).
  • Updated the Python app template and README template to reflect new runtime/setup expectations; added two example prompt markdown files.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 17 comments.

Show a summary per file
File Description
.github/skills/dlstreamer-coding-agent/SKILL.md Adds preview note, procedure, and links to example prompts; updates step flow and docker tag usage.
.github/skills/dlstreamer-coding-agent/references/pipeline-construction.md Adds common use-case mapping table, refactors “patterns” into examples, adds Rule 6 device assignment guidance.
.github/skills/dlstreamer-coding-agent/references/model-preparation.md Clarifies Paddle requirements, expands compression guidance, and adds strict pinning guidance for export requirements.
.github/skills/dlstreamer-coding-agent/references/design-patterns.md Strengthens guidance around custom elements and updates asset download recommendations (curl + Pexels notes).
.github/skills/dlstreamer-coding-agent/references/coding-conventions.md Updates plugin registration guidance, adds buffer mutability note, and expands device fallback logic.
.github/skills/dlstreamer-coding-agent/examples/license-plate-recognition.md Adds a new example prompt for LPR (YOLO + OCR + JSON + annotated video).
.github/skills/dlstreamer-coding-agent/examples/event-based-smart-nvr.md Adds a new example prompt for event-triggered recording smart NVR.
.github/skills/dlstreamer-coding-agent/assets/README-template.md Makes the screenshot line optional via HTML comments.
.github/skills/dlstreamer-coding-agent/assets/python-app-template.py Adds GST_REGISTRY_FORK setting, curl-based download, and NPU→GPU→CPU device fallback.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

jmotow
jmotow previously approved these changes Apr 10, 2026
Copilot AI review requested due to automatic review settings April 10, 2026 14:16
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated 7 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Contributor

@oonyshch oonyshch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, noticed a typo. let's merge this and then I will add PR to what I've noticed in #741

Copilot AI review requested due to automatic review settings April 13, 2026 08:29
@tjanczak tjanczak enabled auto-merge (squash) April 13, 2026 08:33
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 11 out of 11 changed files in this pull request and generated 9 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tjanczak tjanczak disabled auto-merge April 13, 2026 08:55
@tjanczak tjanczak merged commit e8981b8 into main Apr 13, 2026
44 checks passed
@tjanczak tjanczak deleted the dls_coding_agent_examples branch April 13, 2026 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants