Loading...
Loading...
Use when extracting requirements from Azure DevOps work items using dxs devops commands: fetching work items, reviewing relations, downloading attachments, compiling raw requirements. This is a utility skill — it extracts and structures work item content but does not build reports, datasources, or other artifacts.
npx skill4agent add datex/skills devops-requirementsdxs devops workitem <ID> --full --expand All--full--expand All| Field | What it tells you |
|---|---|
| Report name and purpose |
| High-level requirements, often includes embedded screenshots of expected output |
| Detailed specs — SQL queries, column lists, business rules. This is often the richest source of field/data requirements |
| Broader project context (fetch if needed for background) |
| Implementation sub-tasks — may contain additional specs |
| Existing reports, sample output PDFs, BRDs |
| Sprint/priority context |
descriptiondesignSELECTThis work item has:
- Parent: #218666
- Children: #218813
- Attachments: 4 files (ValleyWarehouseReceiptInvoice.rdlx-json, Order 96269-20250041 - Receiving report.pdf, ...)
Would you like me to fetch any of the child items for additional context?dxs devops workitems <ID1>,<ID2> --description --discussions--description--discussionsThis work item has:
- Description: [1-sentence summary]
- Design field: [1-sentence summary — e.g., "SQL views for 3 datasets"]
- Attachments: [list filenames]
- Children: [list if any]
Which of these should I focus on for the report requirements?
Are any of the attachments not relevant to this report?dxs devops attachments <ID>dxs devops attachments <ID> --download 1 --out <artifact_dir>/requirements/report.rdlx-json
dxs devops attachments <ID> --download "Valley Cold HC BRD.pdf" --out <artifact_dir>/requirements/brd.pdf| Extension | Action | Why |
|---|---|---|
| Download + read | Existing report — extract layout, DataSets, field mappings |
| Download + read | SSRS source — extract SQL queries and field mappings for migration |
| Download only | May or may not match the current report — ask user before using as layout reference |
| Download if BRD/spec | May contain detailed field lists or business rules |
| Skip | Usually embedded screenshots already visible in description |
.rdlx-jsondxs report inspectdxs report inspect <artifact_dir>/requirements/report.rdlx-json.rdl<CommandText>SELECTFROMJOINpopplerdescriptiondesign.pdf## Requirements Brief
**Report:** [title from work item]
**Purpose:** [1-2 sentence summary from description]
**Work Item:** #[ID] ([state])
### Data Requirements
- **Primary entity:** [derived from SQL FROM clause or description]
- **Key fields:** [from SQL SELECT or design field]
- **Filters/parameters:** [from SQL WHERE or description]
- **Related entities:** [from SQL JOINs or $expand needs]
### Filtering & Exclusion Rules
- [Extract EVERY filtering rule from the design notes, SQL WHERE clauses, and business requirements]
- [For each rule, note the original SQL/description AND the proposed OData equivalent]
- [Flag rules involving collection checks (subqueries) — these likely need lambda operators: `any()`/`all()`]
- [Flag rules involving string patterns (LIKE) — these likely need `startswith`/`endswith`/`contains`]
- [Example: "Exclude -10 locations in zones 04-06" → `not (endswith(Name,'-10') and (startswith(Name,'04') or ...))` ]
### Layout Expectations
- **Page size:** [from existing report or description]
- **Orientation:** [portrait/landscape]
- **Key sections:** [header, detail grid, footer, etc.]
- **Special elements:** [barcodes, logos, multi-column layout]
### Entity Keywords for Schema Search
[List of OData entity search terms derived from SQL table names or description nouns]
### Reference Materials
- [List downloaded attachments and what each provides]<artifact_dir>/requirements/requirements-brief.md