Commit Graph

954 Commits

Author SHA1 Message Date
Anthony Shaw
84486c2e46 Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-11 13:33:29 -08:00
Anthony Shaw
3b4d601ba7 Remove package-lock.json from tracking 2026-02-11 13:31:15 -08:00
Anthony Shaw
3eb7efc990 Use gpt-5.1-codex-mini as default model in Ralph loop recipes 2026-02-11 13:31:05 -08:00
Anthony Shaw
0e616701a5 Remove package-lock.json from tracking 2026-02-11 12:50:30 -08:00
Anthony Shaw
1074e34682 Add SDK features to all Ralph loop recipes
- Add WorkingDirectory/working_directory to pin sessions to project root
- Add OnPermissionRequest/on_permission_request for unattended operation
- Add tool execution event logging for visibility
- Add See Also cross-links to error-handling and persisting-sessions
- Add best practices for WorkingDirectory and permission auto-approval
- Consistent across all 4 languages (Node.js, Python, .NET, Go)
2026-02-11 11:56:11 -08:00
Anthony Shaw
92df16da5a Remove git commands from Ralph loop recipes
Git operations (commit, push) belong in the prompt instructions, not
hardcoded in the loop orchestrator. The SDK recipes should focus purely
on the SDK API: create client, create session, send prompt, destroy.
2026-02-11 11:32:42 -08:00
Anthony Shaw
952372c1ec Rewrite Ralph loop recipes: split into simple vs ideal versions
Align all 4 language recipes (Node.js, Python, .NET, Go) with the
Ralph Playbook architecture:

- Simple version: minimal outer loop with fresh session per iteration
- Ideal version: planning/building modes, backpressure, git integration
- Fresh context isolation instead of in-session context accumulation
- Disk-based shared state via IMPLEMENTATION_PLAN.md
- Example prompt templates (PROMPT_plan.md, PROMPT_build.md, AGENTS.md)
- Updated cookbook README descriptions
2026-02-11 11:28:41 -08:00
Anthony Shaw
ab82accc08 Address review feedback: fix event handler leak, error handling, model alignment
- Move session.On handler outside loop to prevent handler accumulation (C#)
- Use TrySetResult instead of SetResult to avoid duplicate-set exceptions (C#)
- Wrap CreateSessionAsync in broader try/finally so client always stops (C#)
- Fix PersistentRalphLoop to use maxIterations parameter instead of hardcoded 10
- Align model name to gpt-5.1-codex-mini across all doc snippets
- Fix completion promise DONE -> COMPLETE in usage snippet
- Replace Claude references with generic model terminology
2026-02-11 06:35:14 -08:00
Anthony Shaw
bb9f63a899 Update README to remove RALPH-loop reference
Removed mention of the RALPH-loop recipe from the README.
2026-02-11 05:49:46 -08:00
Anthony Shaw
7e39d55028 Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-11 05:48:44 -08:00
Anthony Shaw
d8fc473383 Add RALPH-loop recipe to Copilot SDK cookbook
Add iterative RALPH-loop (Read, Act, Log, Persist, Halt) pattern
implementations for all four supported languages:

- C#/.NET: ralph-loop.cs with documentation
- Node.js/TypeScript: ralph-loop.ts with documentation
- Python: ralph_loop.py with documentation (async API)
- Go: ralph-loop.go with documentation

Each recipe demonstrates:
- Self-referential iteration where AI reviews its own output
- Completion promise detection to halt the loop
- Max iteration safety limits
- File persistence between iterations

Verified against real Copilot SDK APIs:
- Python: fully verified end-to-end with github-copilot-sdk
- Node.js: fully verified end-to-end with @github/copilot-sdk
- C#: compiles and runs successfully with GitHub.Copilot.SDK
- Go: compiles against github.com/github/copilot-sdk/go v0.1.23
2026-02-11 04:59:20 -08:00
Aaron Powell
4555fee5d2 Merge pull request #685 from github/hooks
Hooks
2026-02-11 14:16:50 +11:00
Aaron Powell
738bafcb6f Merge pull request #675 from vfaraji89/add-context-engineering-collection
Add context-engineering collection
2026-02-11 10:31:46 +11:00
vfaraji89
e7e417e161 Update agent model from gpt-4o to GPT-5 2026-02-10 22:46:07 +03:00
vfaraji89
2a324116db Fix review feedback: mode→agent frontmatter, add applyTo, generate plugin
- Fix prompt frontmatter: mode: 'agent' → agent: 'agent' (repo convention)
- Add applyTo: '**' to instructions file
- Remove trailing Claude credit from instructions
- Generate plugin via npm run plugin:migrate
- Rebase onto latest upstream/main
2026-02-10 22:43:10 +03:00
vfaraji89
2ae2db1287 Add assisted by Claude credit 2026-02-10 22:42:02 +03:00
vfaraji89
99018f421a Add context-engineering collection
Add tools for maximizing GitHub Copilot effectiveness through better
context management:

- Instructions: Guidelines for structuring code so Copilot understands it
- Agent: Context Architect - plans multi-file changes by mapping dependencies
- Prompts:
  - context-map: Map all affected files before changes
  - what-context-needed: Ask Copilot what files it needs
  - refactor-plan: Create phased refactor plans with rollback steps

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-10 22:42:02 +03:00
Aaron Powell
9bb89281e2 Merge pull request #686 from nblog/add-nano-banana-pro-openrouter-skill
Add nano-banana-pro-openrouter skill
2026-02-10 17:03:20 +11:00
nblog
b1e5581996 Merge remote-tracking branch 'origin/main' into add-nano-banana-pro-openrouter-skill
# Conflicts:
#	docs/README.skills.md
2026-02-10 13:57:25 +08:00
Aaron Powell
7aff2eecd3 Merge pull request #690 from jhauga/create-web-form
Add skill to create web forms
2026-02-10 16:35:52 +11:00
John Haugabook
f032e780d9 .codespellrc: add 'TE' to ignore-words-list 2026-02-09 22:41:20 -05:00
Aaron Powell
e80e20b5ec Address PR review comments for hooks implementation
- Fix getResourceType() to match relative paths like hooks/<name>/README.md
  and skills/<name>/SKILL.md using regex instead of string includes
- Extract hook events from hooks.json via parseHookMetadata() instead of
  non-existent frontmatter.event field in plugin README generation
- Update AGENTS.md to describe hooks as folder-based (README.md + hooks.json)
  instead of .hook.md files
- Update session-logger README to accurately reflect what scripts log
  (remove references to sessionId, duration, prompt content)
2026-02-10 14:37:45 +11:00
Aaron Powell
a23d39ae0b Merge pull request #691 from github/copilot/sub-pr-685
Fix path matching in getResourceType to handle relative paths
2026-02-10 14:35:50 +11:00
copilot-swe-agent[bot]
f62a764683 Fix path matching in getResourceType to support relative paths
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
2026-02-10 03:31:09 +00:00
Aaron Powell
6210128ab1 Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-10 14:31:07 +11:00
Aaron Powell
4ddc77bb36 Update eng/validate-collections.mjs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-10 14:28:47 +11:00
copilot-swe-agent[bot]
20806d379f Initial plan 2026-02-10 03:28:42 +00:00
John Haugabook
e0389a557a codespell: make each word of acronym bold 2026-02-09 21:27:17 -05:00
John Haugabook
8670ddd9e0 Apply suggestions from code review 2026-02-09 21:16:04 -05:00
nblog
b0879659c5 fix(SKILL.md): enhance troubleshooting section with common errors and resolutions 2026-02-10 10:03:49 +08:00
Aaron Powell
9e9cac6570 Merge pull request #689 from rperez030/add-insiders-a11y-tracker-agent
Add VS Code Insiders Accessibility Tracker agent
2026-02-10 11:51:13 +11:00
Aaron Powell
7295ac32be Merge pull request #678 from mfairchild365/patch-1
Revise accessibility instructions for clarity and detail
2026-02-10 11:49:24 +11:00
Aaron Powell
b7934b6155 Merge pull request #687 from jvanderwee/patch-2
Fix `gh pr review` body parameter
2026-02-10 11:44:24 +11:00
Aaron Powell
c62bf6a106 Merge pull request #673 from ChrisMcKee1/update-microsoft-docs-skill
feat: Expand microsoft-docs skill to cover the full Microsoft documentation ecosystem
2026-02-10 11:43:47 +11:00
jhauga
27149859a4 Add skill to create web forms
Add skill to create web forms
2026-02-09 19:22:54 -05:00
Roberto Perez
0af1852dd2 Add VS Code Insiders Accessibility Tracker agent 2026-02-09 16:42:28 -05:00
Michael Fairchild
3274ad6c68 Update readme 2026-02-09 09:40:33 -06:00
Michael Fairchild
369602333e Merge branch 'github:main' into patch-1 2026-02-09 08:21:38 -06:00
nblog
55da61af3f fix(SYSTEM_TEMPLATE): clarify language matching requirement for generated images 2026-02-09 21:13:15 +08:00
nblog
79c34297fa fix(generate_image): enhance image handling and output path resolution in generate_image script 2026-02-09 21:09:09 +08:00
nblog
b8bbc75db2 fix(generate_image): improve input image handling and validate output filename extensions 2026-02-09 17:24:24 +08:00
Joseph Van der Wee
e9a7805e2b Fix gh pr review body flag
See https://cli.github.com/manual/gh_pr_review
2026-02-09 09:06:56 +00:00
nblog
5efb7329a3 feat(skills): add nano-banana-pro-openrouter skill with image generation capabilities 2026-02-09 16:59:06 +08:00
nblog
ef4aa0b2bc fix(skill): update descriptions and improve error handling in generate_image script 2026-02-09 16:48:57 +08:00
nblog
97bc889d9b feat(skills): add nano-banana-pro-openrouter skill
 - Generated by Copilot
2026-02-09 16:23:40 +08:00
Aaron Powell
99a48a4020 Adding hooks to the website 2026-02-09 17:02:33 +11:00
Aaron Powell
acb5ad4ce8 feat: add hooks functionality with automated workflows
- Introduced hooks to enable automated workflows triggered by specific events during GitHub Copilot sessions.
- Added documentation for hooks in AGENTS.md and README.md.
- Created a new directory structure for hooks, including README.md and hooks.json files.
- Implemented two example hooks: Session Auto-Commit and Session Logger.
- Developed scripts for logging session events and auto-committing changes.
- Enhanced validation and parsing for hook metadata.
- Updated build and validation scripts to accommodate new hooks functionality.
2026-02-09 16:44:53 +11:00
Chris McKee
3402d26340 Merge branch 'main' into update-microsoft-docs-skill 2026-02-08 20:29:52 -06:00
Chris McKee
ae7bb2aa7c refactor: Simplify microsoft-docs skill to default-Learn-with-exceptions pattern, add Aspire MCP version gate 2026-02-08 20:27:08 -06:00
Aaron Powell
d99ba71986 Merge pull request #680 from Pavel-Sulimau/readme-updates
Fix command for adding Awesome Copilot marketplace in README
2026-02-09 11:16:02 +11:00