Imported from softwareone-platform/mpt-extension-skills (
AGENTS.md). Install upstream withnpx skills add softwareone-platform/mpt-extension-skills. Copyright stays with the author.
AGENTS.md
Purpose
This repository contains shared materials for both humans and AI agents:
- reusable agent skills
- shared engineering standards
- reusable repository documentation guidance
- reusable operational knowledge
An agent should determine whether the task is primarily about a skill, a shared standard, or repository-level documentation guidance before loading more files.
Repository Layout
- README.md: top-level index for the repository, including links to standards, knowledge, and skills
standards/: shared engineering standards, practices, and reusable cross-repository knowledgeknowledge/: shared operational guidance and reusable how-to documentationdocs/: repository-specific documentation such as installation, CLI usage, distribution, contributing, testing, and documentation guidanceskills/*/SKILL.md: skill definitions for reusable agent workflows
How To Read This Repository
- Start with README.md to understand the repository purpose and the role of
standards/. - Decide whether the user request is primarily about:
- using or editing a skill
- applying or updating a shared standard
- applying or updating shared operational knowledge
- both
- If the task is about a specific skill, read only the relevant
SKILL.mdfile first. - If the task depends on engineering conventions, read the relevant file from
standards/. - If the task is about a reusable workflow or how-to process, read the relevant file from
knowledge/ordocs/, depending on where that workflow is documented. - If the task is about validating this repository or understanding its test commands, read
docs/testing.md. - If the task is about how to contribute changes in this repository, read
docs/contributing.md. - If the task is about repository documentation validation or documentation structure in this repository, read
docs/documentation.md. - Do not load the entire repository by default. Read only the files needed for the current task.
How To Use standards/
The standards/ directory is not limited to skills. It is a shared reference for humans and AI agents across multiple repositories.
Use standards/ when the task involves:
- repository documentation structure
- coding conventions
- testing expectations
- dependency management rules
- build and
Makefileconventions - pull request workflow
- extension architecture guidance
- other shared SDLC or engineering practices added later
Treat the files in standards/ as reusable guidance. If a repository-specific instruction conflicts with a shared standard, prefer the repository-specific instruction and call out the conflict explicitly.
How To Use knowledge/
The knowledge/ directory contains reusable operational guidance and common how-to workflows that may apply across multiple repositories.
Use knowledge/ when the task involves:
- building and validating a repository
- understanding common
maketargets - managing dependencies through shared
uvworkflows - running checks and tests
- preparing a repository for commit-time validation such as
pre-commit - working with migrations
- performing a backport
- understanding repeatable engineering workflows that are not strict standards
Treat knowledge/ as reusable guidance. Repository-specific commands and exceptions must still come from the target repository documentation.
Current Standards
- branching.md: work branch naming, base-branch selection, hotfix/backport rules, and push conventions
- cli.md: CLI command implementation rules (
typer/ Django management commands, runnable inside Docker) - commit-messages.md: shared commit message format with tag, Jira ID, short summary, and descriptive commit body guidance
- dashboard-triage.md: dashboard bug policy — Jira fields, HitCount rules, and evidence format
- documentation.md: repository documentation structure and authoring guidance
- extensions-best-practices.md: extension architecture and local development guidance
- extensions-ui-best-practices.md: frontend (UI) authoring rules for extension modules — structure, naming, SDK and design-system usage, data fetching, plug declaration, styling, and iframe compatibility shims
- extensions-ui-testing-best-practices.md: frontend (UI) testing rules — colocated Jest + Testing Library tests, behaviour-focused assertions, and mocking the SDK at the module boundary
- jira-fields.md: single source of truth for MPT Jira custom-field IDs used by Jira skills
- makefiles.md: shared
Makefileconventions - packages-and-dependencies.md: Python dependency management rules
- pull-requests.md: pull request workflow and history rules
- python-coding.md: Python coding conventions
- sdk-pipeline-steps.md: rules for writing Extension SDK pipeline steps, including immutable snapshots, hook-driven transitions, flow-control errors, and configuration
- skills.md: shared rules and best practices for writing reusable skills
- unittests.md: Python unit testing guidelines
- user-stories.md: work breakdown standard for turning an epic or TDR into demoable, estimated user stories and Back/Front subtasks
Current Knowledge
- make-targets.md: shared reference for common
maketarget meanings - manage-dependencies.md: shared dependency-management workflow for repositories that use
uv - build-and-checks.md: shared build and validation workflow guidance
- migrations.md: shared migration workflow guidance
- backports.md: shared backport workflow guidance
Repository Docs
- architecture.md: repository structure and how skills, standards, knowledge, docs, and scripts fit together
- contributing.md: repository-specific contribution workflow and links to shared standards
- documentation.md: repository-specific documentation validation rules and local linking requirements
- installation.md: first-time installation from GitHub Releases
- usage.md: installed CLI commands, updates, local debug installs, and release lifecycle usage
- testing.md: repository-specific test and validation commands
Current Skills
- mpt-ext-tool-gh-pr-ops: GitHub pull request operations for reading, creating, updating, and replying to PR comments
- mpt-ext-tool-git-branch-ops: Git branch operations for selecting a base branch and creating a safe work branch
- mpt-ext-tool-jira-workitem-ops: Jira work item operations for reading, editing, commenting, assignment, and links
- mpt-ext-tool-teams-send-message: Teams send-message primitive for posting one message to a chat through a workflow webhook
- mpt-ext-task-start-jira-work: Task for moving a Jira issue and its parent chain into In Progress and resolving sprint or assignee mismatches
- mpt-ext-task-ensure-active-sprint: Task for placing a Jira issue in its board's active sprint (subtask inheritance included) without changing workflow state
- mpt-ext-task-commit-changes: Task for staging intended files and creating a repository-compliant commit
- mpt-ext-task-create-work-branch: Task for reading Jira context and creating a correctly named work branch
- mpt-ext-task-dependabot-pr-policy-fix: Task for applying dependency-policy fixes to a selected Dependabot PR or checked-out branch
- mpt-ext-task-run-repository-checks: Task for running the repository-defined local validation flow for current changes
- mpt-ext-task-fix-repository-check-failures: Task for fixing failing repository checks and tests one blocker at a time
- mpt-ext-task-fix-pre-commit-failures: Task for resolving failed pre-commit hooks triggered during git commit
- mpt-ext-task-apply-dashboard-jira-decision: Task for applying one approved dashboard failure decision to MPT Jira
- mpt-ext-task-open-pull-request: Task for opening or updating a repository-compliant pull request
- mpt-ext-task-move-jira-to-code-review: Task for transitioning a ready Jira issue into Code Review
- mpt-ext-task-handle-pr-comments: Task for reading PR review feedback, applying scoped fixes, and replying in review threads
- mpt-ext-task-move-jira-to-qa: Task for transitioning a merged Jira issue into its correct post-merge status
- mpt-ext-task-write-documentation: Task for authoring or refreshing a repository's required documentation set per the documentation guideline
- mpt-ext-task-write-python-unittests: Task for authoring or updating Python (backend) unit tests for a change set per the Python unit-testing standard
- mpt-ext-task-update-docs-from-changes: Task for updating documentation from a code change set (unstaged, uncommitted, last commit, or branch diff)
- mpt-ext-task-create-initial-epic: Task for creating the initial epic plus a 3d "Design, investigate and research" user story
- mpt-ext-task-notify-pr-ready-in-teams: Task for notifying a Teams chat when a PR is green (all checks pass and CodeRabbit approved)
- mpt-ext-workflow-start-work: Workflow for coordinating branch creation and Jira start-state setup
- mpt-ext-workflow-dashboard-failure-triage: Workflow for batch triaging App Insights dashboard failures into MPT Jira decisions
- mpt-ext-workflow-fix-dependabot-prs: Workflow for coordinating Dependabot PR discovery, policy fixes, validation, scoped check fixes, amend, and push
- mpt-ext-workflow-hotfix-backport: Workflow for coordinating release-branch hotfix and backport PR preparation
- mpt-ext-workflow-send-to-review: Workflow for updating documentation, validating changes, creating or updating the PR, and moving Jira into Code Review
- mpt-ext-workflow-address-review-feedback: Workflow for processing review comments, validating the resulting changes, and updating the review branch
- mpt-ext-workflow-complete-after-merge: Workflow for confirming merge completion and moving Jira into its correct post-merge status
- mpt-ext-workflow-skill-authoring: Skill authoring workflow for creating or updating reusable shared skills
- mpt-ext-workflow-update-documentation: Workflow for updating documentation for a change set, self-checking against the guideline, and staging the docs
- mpt-ext-workflow-decompose-tdr: Workflow for breaking a TDR or epic into agreed user stories and estimated Back/Front subtasks
- mpt-ext-workflow-notify-pr-ready: Workflow for notifying a Teams chat on demand when a reviewed PR is green and CodeRabbit approved
Agent Expectations
- Prefer loading the smallest useful context first.
- Use
standards/as the source of truth for shared rules. - Use
knowledge/for reusable how-to guidance and operational workflows. - Do not duplicate shared standards into repo-specific documentation unless the task is explicitly about creating a local exception.
- Do not treat
knowledge/as repository-specific truth when the target repository documents a different command or workflow. - When updating repository docs in other repositories, prefer linking to shared standards from this repository.