AI Instructions for JiraAgilePS

Single source of truth for AI coding assistants. Tool-specific entry-point files in this repository reference this file.

Quick Reference (Critical Rules)

  1. Keep changes focused: scope each commit/PR to one behavior; include tests, docs, and changelog updates when impacted and available.
  2. Use the right test loop: during iteration, run targeted Invoke-Pester when relevant test files exist (for example Invoke-Pester -Path 'Tests/Functions/Public/Get-Board.Unit.Tests.ps1').
  3. Always attempt repo validation before finalizing: run ./Tools/setup.ps1 and Invoke-Build -Task Build, Test from repo root.
  4. Use shared Jira transport: route Jira API calls through Invoke-JiraMethod.
  5. Preserve compatibility: keep Jira Cloud/Data Center Agile behavior stable unless the change explicitly targets compatibility behavior.
  6. Do not overstate coverage: this repo may have no Tests/ folder; report skipped/failing validation clearly instead of claiming full test coverage.
  7. Keep user-facing docs aligned: update docs/en-US/commands/*.md (or add missing command pages when needed) and CHANGELOG.md for visible behavior changes.

AI Tool Compatibility

Tool Entry point Canonical references
GitHub Copilot .github/copilot-instructions.md AGENTS.md, .github/ai-context/powershell-rules.md
GitHub Copilot (file rules) .github/instructions/jiraagile-api-compatibility.instructions.md .github/ai-context/powershell-rules.md
Cursor .cursor/rules/jiraagileps.mdc AGENTS.md, .github/ai-context/powershell-rules.md
Claude Code CLAUDE.md AGENTS.md, .github/ai-context/powershell-rules.md
Gemini/Antigravity GEMINI.md AGENTS.md, .github/ai-context/powershell-rules.md

Project Overview

JiraAgilePS adds Jira Agile cmdlets on top of JiraPS. The repository is older and currently has less mature automated test coverage than JiraPS.

Architecture

Coding Standards

Build and Test

./Tools/setup.ps1
Invoke-Build -Task Build, Test

Notes for this repository’s current legacy state:

Supported API Reference Tracks (Cloud + Data Center)

CI/CD

When Working on This Project

Do

Do not