Add example prompts for DLS Coding Agent#761
Conversation
There was a problem hiding this comment.
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.
.github/skills/dlstreamer-coding-agent/references/pipeline-construction.md
Outdated
Show resolved
Hide resolved
.github/skills/dlstreamer-coding-agent/references/model-preparation.md
Outdated
Show resolved
Hide resolved
.github/skills/dlstreamer-coding-agent/examples/event-based-smart-nvr.md
Outdated
Show resolved
Hide resolved
.github/skills/dlstreamer-coding-agent/examples/event-based-smart-nvr.md
Outdated
Show resolved
Hide resolved
.github/skills/dlstreamer-coding-agent/examples/event-based-smart-nvr.md
Outdated
Show resolved
Hide resolved
.github/skills/dlstreamer-coding-agent/examples/event-based-smart-nvr.md
Outdated
Show resolved
Hide resolved
.github/skills/dlstreamer-coding-agent/examples/license-plate-recognition.md
Outdated
Show resolved
Hide resolved
…dge-platform/dlstreamer into dls_coding_agent_examples
There was a problem hiding this comment.
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.
.github/skills/dlstreamer-coding-agent/references/model-preparation.md
Outdated
Show resolved
Hide resolved
.github/skills/dlstreamer-coding-agent/references/model-preparation.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
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.
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: