Agents are writing more of our code every day, and every pull request still needs a review before it merges. Human reviewers can’t read every line of that growing volume, so teams are using AI to help. An AI reviewer has to clear a hard bar, though. If it misses real bugs, nobod…
This year, security researchers submitted over 85,000 private vulnerability reports on GitHub, more than eight times the total for all of 2025. Maintainers completed more triage decisions than in any previous full year, but report volume grew even faster, increasing the number a…
A request to modernize an application often starts with a technology question: Which framework should replace the old one? Before you choose, find out what still works. Then collect evidence that can act as a regression net for that behavior and show where modernization is neces…
Models are now good enough to work for hours or even days on their own. You don’t have to watch over every thing they do, but you still need to be able to check in, no matter where you are. An agent can’t live only inside one application. The work should continue even If you clo…
How many times this week did you re-explain the same task to an agent? How many times did you ask your colleague with deep institutional knowledge how to solve a specific problem? That context shouldn’t be lost in a chat or locked in one person’s head. Agent skills let you captu…
This October, GitHub saw more than 1.2 billion commits in one week—over 400% more than a year earlier. This is more commits than GitHub received in all of 2025. Chances are, you’re generating more code than you were a year ago. But ask yourself: do you feel 400% more productive…
Starting with GitHub Copilot does not require a perfect prompt or specialized syntax. The article recommends connecting Copilot to a repository or local folder, describing a task in plain English, and refining the request interactively. Users can gradually adjust the AI model, input method, and session settings as their needs become more complex.
## Start with Project Context
- Connect an agent session to:
- An existing GitHub repository
- A local folder on your computer
- Selecting a project gives Copilot access to the code and files needed for the task.
- Once the project is connected, you can submit a prompt.
## Describe Tasks in Plain English
- Prompts only need to explain the desired outcome.
- Example: `Add a most-funded sort option to the games list.`
- Copilot can inspect the codebase and identify relevant files.
- If the result is incomplete or incorrect, provide more details and ask for revisions.
- Prompting is iterative, so the initial request does not need to include every requirement.
## Select an Appropriate AI Model
- The app supports multiple AI models with different strengths.
- More capable reasoning models may help with complex tasks, while simpler models can be faster for straightforward changes.
- Beginners can use the default model without understanding every model difference.
- Models can be switched later if the task becomes more demanding or the initial result is unsatisfactory.
## Use Voice Input
- Built-in voice input lets users describe tasks verbally.
- Speech is converted into editable text before submission.
- This can be useful for explaining lengthy or complicated ideas more naturally.
## Customize Agents and Sessions
- Session settings allow users to select different agents for different types of work.
- Remote control enables access to a session through the web.
- Users can start work locally, leave their computer, and resume the same session from another device.
- These options are available when needed but are not required for a first task.
## Start Small and Iterate
- Begin with a modest change in a familiar project.
- Review Copilot’s work and refine the prompt as necessary.
- Experiment with different models or session configurations only when the task requires them.
The practical recommendation is to choose a project, describe one small task in ordinary language, and begin. Experience with iterative prompting will make model selection and other Copilot settings easier to use over time.
AI agents can generate impressive one-prompt demos, but reliable software delivery requires more than isolated outputs. Developers increasingly need to design workflows that define how code is proposed, tested, reviewed, and shipped. The article argues that this shifts developers from primarily writing code to orchestrating agents within controlled, repeatable systems.
## From One-Off Prompts to Reliable Workflows
- A single prompt can quickly produce a demo, such as a simple game.
- Production development requires repeatable delivery with:
- Appropriate context
- Validation and testing
- Security controls
- Review processes
- Clear permissions and handoffs
- GitHub Copilot is presented as a control plane for connecting these parts.
## An Agentic Development Flow
- Familiar repository events can trigger agent work, including:
- Adding a label to an issue
- Running a scheduled workflow
- Starting a GitHub Actions process
- The agent’s changes are captured in a pull request.
- Deterministic checks then validate the work through:
- Linting
- Tests
- Security scans
- Build verification
- CODEOWNERS, required reviews, and branch protection rules control what can be merged.
- Agents handle ambiguous, context-heavy tasks, while predictable automation provides the safety boundary.
- Developers decide:
- What agents can access
- How tasks are scoped
- Where workflows hand off
- When human judgment is required
## GitHub’s Implementation Options
- Copilot cloud agent workflows support event-driven automations.
- Copilot CLI can run AI-powered steps inside GitHub Actions.
- Model Context Protocol (MCP) can extend agents with additional tools and external context.
- These options represent different stages of building an agent-enabled development workflow.
## Starting Small
- Teams should begin with one bounded, low-risk workflow.
- Suitable examples include:
- Issue triage
- Synchronizing documentation and tests
- Routine maintenance updates
- The recommended approach is to integrate Copilot into existing development infrastructure rather than redesigning everything at once.
Developers should treat AI agents as components within an engineered delivery system, not as replacements for that system. Start with a limited workflow, surround agent output with automated checks and review controls, and gradually expand as the process proves reliable.
Ed Burns is a Principal Software Engineer focused on bringing idiomatic Java experiences to Microsoft and GitHub technologies. He has worked with Java since 1997 across client, server, cloud, and artificial intelligence applications.
## Professional Focus
- Works at Microsoft and GitHub.
- Concentrates on making Java development feel natural and idiomatic within their technologies.
## Experience
- Has used Java since 1997.
- His experience spans:
- Client-side development
- Server-side systems
- Cloud technologies
- Artificial intelligence
No specific blog topic or technical argument is included in the provided content.
Slash commands in the GitHub Copilot app provide quick, context-aware shortcuts for planning work, challenging decisions, automating implementation, and reviewing ideas. Unlike CLI commands, which manage terminal-oriented concerns such as directories and working paths, app commands focus on multi-session workflows and agent behavior. The post presents slash commands as a way to work faster while staying focused in the Copilot app.
## What Slash Commands Are
- Type `/` in the chat composer to open an autocomplete menu of commands available in the current context.
- The app manages project context visually, so commands such as `/add-dir` and `/cwd`—common in the CLI—are unnecessary.
- Some commands, including `/clear` and `/model`, work in both the CLI and the app.
- App-specific commands emphasize session navigation, project management, and controlling Copilot’s working mode.
## Planning Work with `/plan`
`/plan` helps users think through a task before implementation and switches the session into Plan mode.
- Break down new features by identifying files, components, dependencies, and implementation steps.
- Prepare large refactors with an incremental migration strategy and risk assessment.
- Investigate bugs by exploring possible causes and creating a diagnostic and repair plan.
- Example:
`/plan I need to add two-factor authentication to our application. Help me break down the work involved, identify what files need to change, and outline an implementation approach.`
## Challenging Ideas with `/spar`
`/spar` acts as a critical reviewer, questioning assumptions and highlighting risks, tradeoffs, and edge cases.
- Pressure-test architecture decisions such as using Redis for caching.
- Compare alternatives like REST versus GraphQL or synchronous versus asynchronous processing.
- Review database and infrastructure migration plans for rollout risks.
- Evaluate proposed performance optimizations for hidden costs or unintended effects.
## Implementing with `/autopilot`
`/autopilot` turns a high-level goal into an implementation workflow and switches the session into Autopilot mode.
- Ask Copilot to implement features, update files, and modify tests.
- Use it for multi-step maintenance work, including dependency upgrades, refactoring, and documentation updates.
- Example tasks include adding CSV report exports or upgrading a React project while addressing breaking changes and running the test suite.
## Reviewing Ideas with `/rubber-duck`
`/rubber-duck` provides an independent perspective for thinking through problems and debugging. The article introduces it as a more useful alternative to explaining an issue to a pet, but the supplied text ends before describing its full capabilities or examples.
Use `/plan` to clarify the work, `/spar` to test the approach, and `/autopilot` to carry out the implementation. These commands complement the app’s visual workflow by making common Copilot interactions immediately accessible from the chat composer.
Ankit is a Senior Engineering Manager at GitHub and leads the Dependabot team within the Supply Chain Security organization. His work involves protecting more than 30 million repositories across over 34 package ecosystems, giving him extensive exposure to software supply-chain risks and attacks.
## Role and Responsibilities
- Leads the Dependabot team at GitHub.
- Works within GitHub’s Supply Chain Security organization.
- Oversees systems monitoring 30M+ repositories.
- Supports more than 34 package ecosystems.
## Security Perspective
- The scale of Dependabot’s coverage exposes Ankit to a wide range of supply-chain threats.
- This responsibility has made him particularly vigilant about software supply-chain attacks.
GitHub’s legal team used Copilot CLI to turn repetitive legal work into customizable internal tools without relying on traditional software engineering. By expressing workflows, standards, and policies in plain language and Markdown, lawyers built systems that improved consistency, reduced drafting time, and preserved human oversight. The post argues that domain expertise can be operationalized into useful AI tools by anyone who can clearly define a process.
## Building a Contract Drafting Style Guide
- Principal Product Counsel Ngandu Kasuku created **terms-ai** to manage varied commercial agreements involving data, infrastructure, and product integrations.
- The tool stores instructions, drafting resources, workflows, and reference documents in a version-controlled repository.
- An internal style guide enforces plain-language drafting and replaces repetitive prompt copying with consistent guidance.
- A library of approved agreements lets the tool draw on prior work for addenda and new contracts.
- Sensitive agreements remain in a controlled internal environment rather than the open-source repository.
- Kasuku reports cutting drafting and review time roughly in half while producing more consistent provisions.
- The main insight was that AI could support a lawyer’s own judgment and working style, not merely perform isolated tasks.
## Turning Legal Workflows into Plain-Language Instructions
- Online Safety Counsel Jesse Geraci began with a workflow for analyzing source code in **DMCA** notices.
- Copilot instructions covered triage, code comparison, license checks, circumvention review, policy references, and report templates.
- Instead of traditional programming, the workflow encoded legal reasoning through structured instruction files.
- Different modes were created for clients and lawyers, including faster client analysis, escalation recommendations, deeper legal review, and arguments for both sides.
- The system later grew into a desktop application supporting contract review, NDA triage, risk assessment, compliance checks, and response drafting.
- Reusable skills and agents handle tasks such as intake, playbook alignment, risk scoring, evidence verification, escalation, and report assembly.
- Legal teams can still customize the system through readable Markdown, while human review remains essential.
## Broader Lessons for Nontechnical Teams
- Repetitive work in almost any profession can be a starting point for automation.
- Clear definitions of methodology, standards, and desired outputs can substitute for extensive programming knowledge.
- Teams should begin with one bottleneck, use Copilot CLI to prototype a solution, and expand based on real usage.
- These tools are decision-support systems—not replacements for professional judgment.
Teams can use Copilot CLI to turn their existing expertise into repeatable, transparent workflows while retaining control over sensitive data and final decisions.
Coding agents can rapidly produce complete features, but they often deliver them as enormous, shallow pull requests that are difficult to review and slow to merge. GitHub’s stacked pull requests address this by decomposing a feature into small, dependency-ordered layers. The result is a reviewable chain of changes that preserves context while reducing maintenance and merge conflicts.
## The Problem with Giant AI-Generated Pull Requests
- A seemingly simple product-search feature may include:
- A data model and seed data
- An API route and validation
- Client integration and UI states
- Coding agents commonly generate all of this in a single 1,000-plus-line pull request.
- Large pull requests:
- Become difficult to review thoroughly
- Cause reviewers to lose context
- Receive lower-quality feedback
- Take longer to merge
- Are more likely to land under-reviewed
Traditional alternatives are also imperfect: one large pull request harms reviewability, while a manually maintained chain of smaller pull requests creates synchronization work and conflict-management overhead.
## Stacked Pull Requests
- Stacked pull requests break a feature into logical, dependent layers.
- Each pull request focuses on one concern and remains small enough for reviewers to understand.
- Later layers build naturally on earlier, already-reviewed work.
- Different layers can be assigned to specialized reviewers, such as data or UI owners.
For the product-search example, the proposed stack is:
- **L1 – `feat/catalog-data`**: Typed catalog, seed data, validation, and data access; based on `main`
- **L2 – `feat/search-api`**: Validated `/api/products/search` endpoint; based on L1
- **L3 – `feat/chat-grounding`**: Connects chat to the API and real product data; based on L2
- **L4 – `feat/grounded-ui`**: Adds product citation cards and UI states; based on L3
## Setting Up the Stack
- Choose the stack base first, because CI checks and merge rules are evaluated against it.
- Place foundational work closest to the base and dependent work above it.
- Install GitHub’s CLI extension:
```bash
gh extension install github/gh-stack
```
- Teach coding agents how to create and manage stacks:
```bash
gh skill install github/gh-stack
```
Alternatively:
```bash
npx skills add github/gh-stack
```
- Ensure CI is configured, since every pull request layer is checked against the stack base.
## Assigning Agents to Layers
The example uses separate agents with strict scope boundaries:
- **L1:** Data modeler agent
- **L2:** Backend agent
- **L3:** Frontend agent
- **L4:** Frontend agent
This division encourages each agent to produce a focused pull request rather than reconstructing the entire feature in one pass.
## Recommended Workflow
The development process starts with the foundational catalog layer and proceeds upward through the dependency chain. Agents work autonomously within their assigned scope, while each completed layer can be reviewed independently before subsequent layers are evaluated.
Stacked pull requests are a practical way to preserve the productivity benefits of coding agents without sacrificing review quality. Teams should define clear layer boundaries, establish the stack base, assign appropriate reviewers or agents, and run CI for every layer.
Case folding converts text into a canonical, case-insensitive form for comparisons, making it essential to GitHub’s large-scale code search. GitHub optimized this operation by removing an apparent optimization: instead of stopping at the first non-ASCII byte, it scans the entire buffer branchlessly, enabling SIMD vectorization. The resulting Rust `casefold` crate processes ASCII at over 45 GiB/s—close to memory-bandwidth limits.
## Case Folding Is Not Lowercasing
- Lowercasing is intended for display and can depend on locale or context.
- Greek sigma may become `ς` or `σ`.
- Turkish `I` has locale-specific behavior.
- Case folding is intended for comparison and must be locale-independent and symmetric.
- Unicode provides explicit rules in `CaseFolding.txt`.
- The crate supports simple one-to-one folds (statuses C and S), but not:
- Full folds such as `ß → ss`
- Turkic-specific folds such as dotted `İ`
- This restriction matches tools such as ripgrep and helps maintain consistent matching behavior.
## Why Case-Folding Performance Matters
- GitHub’s Blackbird search engine indexes more than:
- 180 million repositories
- 480 TB of source code
- Source bytes are case-folded before n-gram extraction and indexing.
- Folding is also needed when evaluating potential query matches.
- Since most source code is ASCII, optimizing the ASCII path provides the largest benefit.
## Removing the Early Exit
- A conventional implementation scans until it finds a non-ASCII byte, then switches to Unicode processing.
- On an Apple M4, this branch-heavy approach reached only about 3.1 GiB/s.
- The optimized loop:
- ORs every byte into an accumulator to detect non-ASCII data once.
- Uses `b.wrapping_sub(b'A') < 26` as a branchless uppercase test.
- Sets bit 5 with `| (is_upper << 5)` to lowercase uppercase ASCII letters.
- The loop always processes and writes the entire buffer, then checks whether Unicode processing is necessary.
## Vectorization Beats Early Termination
- Removing the data-dependent `break` allows LLVM to vectorize the loop with 16-byte NEON instructions.
- Performance progression on a 5.7 KB ASCII buffer:
- Naive branchy loop: 3.1 GiB/s
- Branchless body with early exit: 2.6 GiB/s
- Early exit removed: 7.6 GiB/s
- Fully branchless loop: over 45 GiB/s
- The early exit prevents vectorization even when the loop body is otherwise branch-free.
- Branchless arithmetic then eliminates compare-and-blend overhead and enables full memory-speed performance.
## Why Branchless Code Can Be Slower
- In scalar code, the branchless version writes every byte, even when no change is needed.
- The branchy version skips stores for the majority of lowercase letters, digits, spaces, and other unchanged bytes.
- Its conditional branch is highly predictable, so it is inexpensive.
- Branchless writes become beneficial only after vectorization, where the processor handles a whole vector at once.
The practical lesson is to avoid data-dependent loop exits when they block vectorization. For predominantly ASCII workloads, a complete branchless scan can outperform “stop as soon as possible” logic by a wide margin, while an accumulated high-bit check efficiently identifies inputs requiring Unicode handling.
GitHub Copilot’s stacked sessions let developers split large, dependent changes into smaller pull requests while preserving their order. Cassidy Williams demonstrates this by modernizing a decade-old React application, recovering from an incorrect branch choice, and then starting a separate `react-bootstrap` replacement on top of the styling work. The approach made a difficult modernization more manageable and reduced the temptation to create an unwieldy “everything” pull request.
## Modernizing a Legacy Application
- Williams’ personal dashboard had accumulated outdated dependencies and patterns:
- React 15
- Less
- An old version of `react-bootstrap`
- Updating the application manually had previously seemed too time-consuming.
- She used the GitHub Copilot app to plan a frontend modernization focused on:
- Replacing Less with Tailwind or vanilla CSS
- Improving accessibility and responsiveness
- Modernizing dependencies
- Cleaning up links, inputs, labels, wrapping, and container widths
- Claude Opus 4.8 helped formulate the plan, while GPT-5.5 provided a review.
- The initial attempt failed because the work began from the wrong branch.
## Recovering from the Wrong Branch
- Williams discovered that an old `dev` branch already contained partial modernization work and was the version she actively used.
- The new session had incorrectly branched from `main`, creating compatibility problems.
- Rather than discard the work, she asked Copilot to:
- Close the incorrect pull request
- Start a fresh session from `dev`
- Port the styling and accessibility changes onto that branch
- Copilot handled the branch and pull request transition, preserving useful decisions from the failed attempt.
## Investigating Legacy Warnings
- Testing exposed warnings involving:
- `findDOMNode`
- `componentWillReceiveProps`
- The outdated code was largely coming from `react-bootstrap`, not Williams’ own application code.
- She used Plan mode to compare upgrading or migrating existing components with removing the library.
- Copilot recommended replacing `react-bootstrap` entirely.
## Stacking Dependent Sessions
- Replacing `react-bootstrap` represented substantial scope beyond the current styling work.
- Williams chose to submit the existing work first, then create a second session branched from it.
- The new session would:
- Build on the completed styling changes
- Replace `react-bootstrap`
- Produce a separate pull request
- Eventually merge into `dev` after the first pull request
- This structure keeps each change easier to review and test while maintaining the dependency between them.
The practical recommendation is to use stacked sessions for large, related modernization efforts: isolate coherent tasks into separate pull requests, branch later work from earlier changes, and avoid allowing AI-assisted development to turn every improvement into one oversized change.