Answers are written for your team and link to the official GitHub docs they come from.
Written by Claude, an AI model. Double-check anything important in the linked docs.
Prompt recipes
Copy-ready prompts for Copilot Chat, written for Harborline Payments. Fill in the parts in [brackets] and paste.
Explain a checkout flow
Understand
You're new to a payments service or picking up someone else's code.
Explain what [file name] does in the checkout flow. List the external calls it makes, where card data is handled, and anything that looks risky for PCI scope.
Measure PR cycle time impact
Understand
You want numbers for the pilot readout.
Look at [repo] and suggest where Copilot could shorten PR cycle time most: tests, review comments, or boilerplate. Give three concrete examples from the code.
Mobile screen from a ticket
Write
Starting a new mobile screen.
Using our existing [Kotlin/Swift] patterns in [folder], scaffold a screen for [feature] with a view model, loading and error states, and one unit test.
Tests for a payment edge case
Test
Before you merge a change to payment logic.
Write unit tests for [function] covering declined cards, duplicate submissions, currency rounding, and network timeouts. Use our existing test framework and mock [payment client].
Untangle a risk rule
Refactor
A fraud or risk rule has grown hard to read.
Refactor [function] into smaller named steps without changing behavior. Keep every existing branch, and list any case where the old and new versions could differ.
Review a PR for data handling
Review
A pull request touches cardholder or customer data.
Review this diff for data handling issues: logging of sensitive fields, data sent to new services, and missing input validation. Point to exact lines.
Rep preview: this visit isn't counted as a customer visit.