Skip to content

Comments

XS✔ ◾ ✨ AI - Add Agents.md file with project standards and constraints#680

Merged
yaqi-lyu merged 9 commits intomainfrom
copilot/add-agents-md-file
Feb 12, 2026
Merged

XS✔ ◾ ✨ AI - Add Agents.md file with project standards and constraints#680
yaqi-lyu merged 9 commits intomainfrom
copilot/add-agents-md-file

Conversation

Copy link
Contributor

Copilot AI commented Feb 9, 2026

  1. AI Development - Prompt & Model (include prompts/models used or N/A)

Claude 3.7 Sonnet - Generated comprehensive agent documentation from codebase analysis (tsconfig, biome.json, source patterns)

  1. What triggered this change? (PBI link, Email Subject, conversation + reason, etc)

GitHub Issue: Add Agents.md per SSW rule (https://www.ssw.com.au/rules/write-agents-md) and agents.md spec (https://agents.md/)

Follow-up requirement: Remove version field, add project context, guidelines, and guardrails sections

  1. What was changed?

Created /AGENTS.md documenting agent metadata, capabilities, and development standards.

Sections added:

  • Project Context & Knowledge Base: Architecture patterns (event-driven IPC, service-oriented, repository pattern), key components, documentation references

  • Guidelines & Standards:

    • TypeScript: Strict mode, no any, interface vs type patterns, null safety with ?. and ??
    • Naming: kebab-case files, PascalCase components/types, camelCase functions, SCREAMING_SNAKE_CASE constants
    • Patterns: Structured error objects, async/await, Drizzle ORM transactions, React hooks for state
  • Guardrails & Constraints:

    • Forbidden: any type, inline JSX functions, console.log in production, sync file operations
    • Security: Never commit/output API keys (including placeholders), Electron safeStorage for encryption, validate all input
    • Scope: No refactoring unrelated files, no fixing unrelated bugs, preserve backward compatibility

Technical details:

  • Removed version field (tracked in RELEASE.md)
  • 100-char line width, 2-space indent per Biome config
  • References existing ADR, database README, and release notes
  1. I paired or mob programmed with:

N/A

Original prompt

This section details on the original issue you should resolve

<issue_title>✨ AI - Add Agents.md file</issue_title>
<issue_description>Add Agents.md file as per rule:
https://www.ssw.com.au/rules/write-agents-md

https://agents.md/</issue_description>

<agent_instructions>read the rule content and generate agents.md</agent_instructions>

Comments on the Issue (you are @copilot in this section)

  • Fixes SSWConsulting/SSW.YakShaver#3440

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: yaqi-lyu <121055451+yaqi-lyu@users.noreply.github.com>
Copilot AI changed the title [WIP] Add Agents.md file as per provided rules ✨ AI - Add Agents.md file Feb 9, 2026
Copilot AI requested a review from yaqi-lyu February 9, 2026 08:18
Co-authored-by: yaqi-lyu <121055451+yaqi-lyu@users.noreply.github.com>
Copilot AI changed the title ✨ AI - Add Agents.md file ✨ AI - Add Agents.md file with project standards and constraints Feb 9, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2026

PR Metrics

Thanks for keeping your pull request small.
Thanks for adding tests.

Lines
Product Code -
Test Code -
Subtotal -
Ignored Code 530
Total 530

Metrics computed by PR Metrics. Add it to your Azure DevOps and GitHub PRs!

@github-actions github-actions bot changed the title ✨ AI - Add Agents.md file with project standards and constraints XS✔ ◾ ✨ AI - Add Agents.md file with project standards and constraints Feb 9, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2026

🚀 Pre-release build is available for this PR:
https://github.com/SSWConsulting/SSW.YakShaver.Desktop/releases/tag/0.6.0-beta.680.1770628122

@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2026

🚀 Pre-release build is available for this PR:
https://github.com/SSWConsulting/SSW.YakShaver.Desktop/releases/tag/0.6.0-beta.680.1770628418

@yaqi-lyu yaqi-lyu removed their request for review February 9, 2026 09:27
@yaqi-lyu yaqi-lyu marked this pull request as ready for review February 9, 2026 09:28
Copilot AI review requested due to automatic review settings February 9, 2026 09:28
Copy link
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

Adds a new AGENTS.md document to define AI agent/project context, development rules, standards, architecture patterns, and guardrails for the YakShaver Desktop codebase.

Changes:

  • Introduces AGENTS.md with agent metadata, capabilities, and technical stack.
  • Documents project structure + key backend/frontend architecture patterns.
  • Defines development rules, testing guidance, and security/scope guardrails for contributors/agents.

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

@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2026

🚀 Pre-release build is available for this PR:
https://github.com/SSWConsulting/SSW.YakShaver.Desktop/releases/tag/0.6.0-beta.680.1770629242

yaqi-lyu and others added 2 commits February 9, 2026 17:31
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2026

🚀 Pre-release build is available for this PR:
https://github.com/SSWConsulting/SSW.YakShaver.Desktop/releases/tag/0.6.0-beta.680.1770629608

@yaqi-lyu yaqi-lyu requested review from yaqi-lyu and removed request for yaqi-lyu February 9, 2026 10:11
@yaqi-lyu yaqi-lyu merged commit 794b537 into main Feb 12, 2026
7 checks passed
@yaqi-lyu yaqi-lyu deleted the copilot/add-agents-md-file branch February 12, 2026 06:36
@github-actions
Copy link
Contributor

Automated Release Created Successfully

Release Details:

You can monitor the build progress in the Actions tab.

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.

3 participants