Add agent skills and enhance Copilot instructions with best practices#20
Add agent skills and enhance Copilot instructions with best practices#20
Conversation
…e Builder agent Co-authored-by: yortch <4576246+yortch@users.noreply.github.com>
|
@claude[agent]
|
Implements comprehensive agent definitions to support the Feature Builder agent's handoff workflow: ## New Agent Definitions ### `.github/agents/security-reviewer.md` Security-focused code review specialist incorporating: - OWASP Top 10 security patterns - Three Rivers Bank specific checks (Bean Validation, circuit breakers, H2 vs BIAN) - Frontend security (XSS prevention, API validation) - Zero Trust implementation patterns - Code review report templates ### `.github/agents/test-writer.md` Comprehensive testing specialist combining guidance from: - Playwright E2E testing patterns (from awesome-copilot) - JUnit 5 best practices (from awesome-copilot) - React Testing Library patterns (from awesome-copilot) - Three Rivers Bank specific testing strategies (H2 seed data, circuit breaker tests) - Testing pyramid approach (E2E → Integration → Unit) ### `.github/agents/pr-creator.md` Pull request creation specialist incorporating: - GitHub PR creation workflow (from awesome-copilot) - Three Rivers Bank PR template and conventions - Architecture decision documentation - Comprehensive testing and verification checklists - Quality gates before PR submission ## Integration with Feature Builder These agents are referenced in `.github/agents/feature-builder.md` handoffs: - `security-reviewer` - Reviews code for vulnerabilities after implementation - `test-writer` - Writes comprehensive tests (Playwright, JUnit, React) - `pr-creator` - Creates well-documented pull requests ## Sources - Security reviewer: github/awesome-copilot/agents/se-security-reviewer.agent.md - Playwright testing: github/awesome-copilot/agents/playwright-tester.agent.md - JUnit guidance: github/awesome-copilot/prompts/java-junit.prompt.md - React patterns: github/awesome-copilot/agents/expert-react-frontend-engineer.agent.md - PR creation: github/awesome-copilot/prompts/create-github-pull-request-from-specification.prompt.md 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
5 similar comments
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot for the custom agents:
|
…ools in PR creator Co-authored-by: yortch <4576246+yortch@users.noreply.github.com>
Updated in commit e8abaf9:
|
Standardizes repository documentation following always-on-instructions best practices to improve AI-assisted development quality and consistency.
Changes
Enhanced
.github/copilot-instructions.md(126→375 lines, 1690 words)Added
.github/skills/create-agent-skill/SKILL.mdAgent skill following agentskills.io spec for creating new skills. Includes frontmatter validation, naming rules, and progressive disclosure patterns.
Added
.github/agents/feature-builder.mdCustom agent for orchestrating full-stack features with handoffs to specialized sub-agents (security review, test writer, PR creator). Encodes project-specific patterns:
'SE: Security','test-writer', and'pr-creator'agentsAdded custom agent definitions
.github/agents/security-reviewer.md('SE: Security'): Security-focused code review with OWASP Top 10 and enterprise security standards.github/agents/test-writer.md('Test Writer'): Comprehensive testing for Playwright E2E, JUnit backend, and React Testing Library.github/agents/pr-creator.md('PR Creator'): Creates GitHub Pull Requests with detailed descriptions, prioritizing GitHub MCP tools over gh CLIAll custom agents configured with Claude Sonnet 4.5 model.
Example usage:
Impact
Original prompt
Requirement
Create, update, and refine the best instructions for this repository, explicitly using the recommendations from the always-on-instructions file as the authoritative source for foundational Copilot configuration. This will:
Tasks
1. Identify current documentation and instructions used in this repo
Analyze the existing
.github/copilot-instructions.mdfile and other documentation in the repository to understand current state.2. Compare and integrate guidance from always-on-instructions
Use the guidance from
docs/part-2-1-always-on-instructions.mdfrom the Norman-Norman-Norman/customize-your-repo repository as the baseline reference. The current instructions are project-specific but should be enhanced with:Structure improvements:
Content additions:
3. Draft improved instructions
Update the
.github/copilot-instructions.mdfile to:4. Include the
create-agent-skillskillCopy the
create-agent-skillskill from Norman-Norman-Norman/customize-your-repo to this repository:.github/skills/create-agent-skill/https://github.com/Norman-Norman-Norman/customize-your-repo/blob/main/.github/skills/create-agent-skill/SKILL.md5. Create and include the
Feature Buildercustom agentCreate a Feature Builder custom agent based on the example from Norman-Norman-Norman/customize-your-repo:
.github/agents/feature-builder.mdFeature Builder requirements:
The agent should be an orchestrator that:
Reference Files
Source for always-on-instructions guidance:
Source for create-agent-skill:
Source for Feature Builder agent:
Current instructions file to update:
.github/copilot-instructions.mdSuccess Criteria
.github/copilot-instructions.mdmaintains all Three Rivers Bank project details while following always-on-instructions best practicesThis pull request was created from Copilot chat.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.