From c43e2acd5c1937aa181617e66b9aefc746d0f031 Mon Sep 17 00:00:00 2001 From: Ammar Date: Tue, 28 Oct 2025 17:01:27 +0000 Subject: [PATCH 1/2] docs: add PR title structure guidelines to AGENTS.md --- docs/AGENTS.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/AGENTS.md b/docs/AGENTS.md index 824ea2c0f..432f544bf 100644 --- a/docs/AGENTS.md +++ b/docs/AGENTS.md @@ -98,6 +98,24 @@ were created fresh each time. Moved to module scope for stable references. Verify with React DevTools Profiler - MarkdownCore should only re-render when content changes. ``` +### PR Title Structure + +Use these prefixes based on what best describes the PR: + +- **perf:** (improvement to performance, no functionality changes) +- **refactor:** (improvement to codebase, no behavior changes) +- **fix:** (conforming behavior to user expectations) +- **feat:** (net new functionality) +- **ci:** (concerned with build process or CI) + +Examples: +- `🤖 perf: cache markdown plugin arrays to avoid re-parsing` +- `🤖 refactor: extract IPC handlers to separate module` +- `🤖 fix: handle workspace rename edge cases` +- `🤖 feat: add keyboard shortcuts for workspace navigation` +- `🤖 ci: update wait_pr_checks script timeout` + + ## Project Structure - `src/main.ts` - Main Electron process From 03152168c0ae103ab3171afb32a5d4aa6f3adc4c Mon Sep 17 00:00:00 2001 From: Ammar Date: Tue, 28 Oct 2025 17:12:14 +0000 Subject: [PATCH 2/2] fix: apply prettier formatting to AGENTS.md --- docs/AGENTS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/AGENTS.md b/docs/AGENTS.md index 432f544bf..c56bd66f7 100644 --- a/docs/AGENTS.md +++ b/docs/AGENTS.md @@ -109,13 +109,13 @@ Use these prefixes based on what best describes the PR: - **ci:** (concerned with build process or CI) Examples: + - `🤖 perf: cache markdown plugin arrays to avoid re-parsing` - `🤖 refactor: extract IPC handlers to separate module` - `🤖 fix: handle workspace rename edge cases` - `🤖 feat: add keyboard shortcuts for workspace navigation` - `🤖 ci: update wait_pr_checks script timeout` - ## Project Structure - `src/main.ts` - Main Electron process