---
title: "From manual coding to Claude Code: retest sign-up · Proxy Mail QA"
description: "Before Claude Code edits handwritten auth, record your rules in CLAUDE.md. Then turn your manual sign-up check into a run you can repeat and compare."
url: https://proxymail.qa/switching/manual-coding-to-claude-code
---

1. [Home](https://proxymail.qa/)
2. [Switching tools](https://proxymail.qa/switching)

# From manual coding to Claude Code: retest sign-up

Manual coding leaves some decisions unwritten: why staging uses a particular callback host, or what unverified users can access. Claude Code needs those decisions stated, not guessed.

Updated 4 December 2026

**Disclosure:** We make Proxy Mail QA. We recommend it narrowly for disposable test accounts, real verification and reset emails, and repeatable evidence. It neither migrates code, auth or users nor guarantees security.

Claude Code is a coding agent, not Claude chat. Introducing it leaves deployed auth unchanged; first edits, missing instructions and changed environments can affect it. Make expectations testable rather than replacing handwritten authentication.

## Write down what you already know

Before requesting code, record the auth contract in `CLAUDE.md` or `.claude/rules/*.md`, which Claude Code reads. A shared root `AGENTS.md` can be explicitly included with `@AGENTS.md` in `CLAUDE.md`. Keep existing instructions intact. Check `/memory` and the Memory files section of `/context all` to confirm the files loaded.

Include practical decisions rather than “make auth secure”:

- The existing provider, approved environments, callback hosts and sender.
- What verification unlocks and where the server enforces that restriction.
- Password requirements, single-use behaviour and the policy for replaced tokens.
- Test commands, fixtures and checks that must remain in CI.

Start with a read-only explanation, then one small task: a verification redirect regression test in the existing framework. Review its diff and assertions. Don’t introduce the agent by rebuilding working auth.

## Add email evidence without replacing your tests

Use the [shared switching checklist](https://proxymail.qa/solve/switching-ai-coding-tools-retest-sign-up) to baseline the app. Keep your unit, integration and CI tests: a new coding tool does not replace them.

Connect Proxy Mail QA in Claude Code:

Terminal

```sh
claude mcp add --transport http proxymail-qa https://api.proxymail.qa/mcp

```

Open **/mcp → proxymail-qa → Authenticate**, sign in through your browser and choose the same project used for the baseline. Authenticate an existing server rather than adding a duplicate.

Proxy Mail QA supplies test addresses and email evidence. It does not submit forms or give the agent browser control. Claude Code needs its own browser or simulator. Outside localhost, Claude isn’t allowed to create accounts without your input; if staging is unavailable, have it write Playwright or Cypress tests for a person or CI to run. The MCP connection alone does not make those tests executable.

## Turn a familiar manual check into a repeatable run

Run this on authorised staging or local development before the switch and after the first auth-relevant edit. Use new addresses and a clean browser each time. Record the revision, environment and expected behaviour.

1. Call `start_run` with a stable name. Pass its `run_id` to every subsequent call that supports it, including email checks, `add_run_note` and `finish_run`. Use `create_address` with `password: true` for password forms: the generated password is returned once and saved. OAuth cannot reveal previously saved passwords; create fresh accounts or have a person reveal one. `form_values` maps form fields without submitting them.
2. Immediately before every submission, capture the timestamp for `since`. Where available, call `mark_submitted` before submitting and use its `submitted_at` in `wait_for_code` or `wait_for_link`. Marking afterwards risks excluding mail that arrived quickly.
3. Register a fresh user. Test restricted access while unverified if the app requires it. Complete verification, reload, sign out and sign in again. Seeing a success message does not establish session persistence.
4. Reset that test account’s password. Check that the new password works, the old fails and the used reset link is rejected. For verification resend, use a separate still-unverified account; for reset replacement, use a separate reset case. Leave link A unused, request B, check A against the documented replacement policy and verify B completes the intended action. If A may remain valid, test B in an independent equivalent case so consuming A cannot invalidate B. Include invitations if supported. Disclose skipped checks, including long expiry tests.
5. Run `check_email` for SPF, DKIM, DMARC, insecure/localhost links, host through `expect_host` and stated expiry. For provider-hosted links, inspect the approved action host and final app destination; don’t blindly expect the app domain. Observe a defined duplicate window, then filter `count_emails` by `type`, `subtype` and/or `category` and that window. Welcome and verification messages are not duplicates.

Use `add_run_note` for browser observations. For failed browser assertions, set `failed: true` (`false` by default); “failed” in prose alone leaves the run green. Record skipped checks separately with reasons, not as passes or assertion failures. Pass `run_id` to `finish_run`. Recent same-named runs provide a comparison after the first edit, rather than relying on your memory of the previous test.

## A prompt to copy

Copy the preceding checklist together with this prompt and supply the authorised staging target.

Prompt

```text
Use the supplied checklist; ask for it if missing.
Explain the existing auth flow and the loaded project instructions before
editing. Identify unanswered policy questions rather than inventing rules.
Preserve handwritten auth, the provider and existing CI tests. Propose one
small regression test in our current framework for human review.
Run the checklist above before changes and after the first auth-relevant
edit, with fresh accounts, a clean browser and the same run name.
Pass start_run's run_id to every call that supports it, including email
checks, add_run_note and finish_run. For failed browser assertions, use
add_run_note with failed: true (default false); 'failed' in prose alone
leaves the run green. Record skips with reasons, not as passes or failures.
If browser access is unavailable, write tests for a person or CI
and clearly state they have not been executed.

```

## Limits and cleanup

The provider must deliver externally. `check_delivery` gives receipt evidence and likely causes, not provider logs. MCP tools never open links or return email bodies. Email checks don’t prove server-enforced expiry, Gmail inbox placement or security; they are not a scanner. SMS, social login, KYC and payments need separate coverage. Never use production or real accounts, disable confirmation or reset the owner’s password.

Store `PROXYMAIL_QA_API_KEY` in CI secrets with a separate project/key. Keep raw keys and tokens out of repositories, prompts and reports. Delete exact test users in the app separately from inboxes. If retiring an old connected app, revoke it under **Project settings → API keys** only when no longer needed.

## Sources

Reviewed 4 Dec 2026: [Claude Code memory](https://code.claude.com/docs/en/memory), [commands](https://code.claude.com/docs/en/commands); Proxy Mail QA [Claude Code setup](https://proxymail.qa/built-with/claude-code), [MCP](https://proxymail.qa/docs/mcp), [flow checks](https://proxymail.qa/docs/flow-checks), [CI](https://proxymail.qa/docs/ci).

## Try it on your next sign-up test

Free plan, no credit card. Create an address and watch the code or link arrive.

[Create a free account](https://app.proxymail.qa/?mode=signup&from=site-switching-manual-coding-to-claude-c)

## Related guides

- [Hand coding to Cursor](https://proxymail.qa/switching/manual-coding-to-cursor): Write down your auth rules, let Cursor make one small change, then retest sign-up.
- [Hand coding to Codex](https://proxymail.qa/switching/manual-coding-to-codex): Tell Codex the auth decisions your code doesn’t show, then start with one small change.
- [Hand coding to Qoder](https://proxymail.qa/switching/manual-coding-to-qoder): Have Qoder list how your sign-up works before it changes anything, then retest.
- [Hand coding to Antigravity](https://proxymail.qa/switching/manual-coding-to-antigravity): Write your auth rules into AGENTS.md before Antigravity makes its first edit.

[See every email testing problem we solve](https://proxymail.qa/solve)

Claude Code is a product of Anthropic. Proxy Mail QA is independent and isn’t affiliated with or endorsed by them.
