AI writes code. I own the outcome.
I use Claude Code and Codex every day, inside a workflow built so that generated code fits the existing system and nothing merges unverified.
Claude Certified Architect: Foundations — in progress
Principles
-
01
Context before code.
For a large legacy codebase, AI loses the architecture easily. We maintain architecture docs, code-pattern docs and project knowledge files so generated code follows existing patterns instead of inventing new abstractions.
-
02
Question every claim.
Treat AI output as a proposal to verify, not an answer to trust.
-
03
Review in a separate session.
Generated code is reviewed in a fresh, diff-focused session using custom review skills and Codex code review.
-
04
If I can't explain it, it doesn't merge.
Every important change is understood: control flow, data flow, dependencies, assumptions.
-
05
Humans own security.
Authentication, authorization, API access and data handling are always reviewed manually.
-
06
Match the architecture.
Watch for unnecessary complexity, architectural drift and performance problems.
How I ship a feature with AI
Example: the SenseFace 2A attendance integration.
-
1. Context
- What the AI does
- Loads the architecture, code-pattern and knowledge files
- What I do
- Keep those files accurate; point it at the right module
-
2. Research
- What the AI does
- Reads device docs and proposes a communication design
- What I do
- Challenge claims with a custom R&D / review skill; make it verify against documentation
-
3. Plan
- What the AI does
- Drafts the implementation plan
- What I do
- Check it against acceptance criteria, API contracts, permissions and DB requirements
-
4. Build
- What the AI does
- Generates code in small steps
- What I do
- Keep diffs reviewable; stop it from adding new patterns
-
5. Validate
- What the AI does
- Runs type checks, lint, tests, build
- What I do
- Read failures; never accept "fixed" without re-running
-
6. Review
- What the AI does
- Fresh diff-focused review session
- What I do
- Read the Git diff myself; manual review of security-sensitive code
-
7. Merge
- What the AI does
- —
- What I do
- Final diff review, then merge
The catch
Reconstruction of the exchange, not a verbatim log.
AI During the SenseFace 2A integration, the AI said with high confidence that our server could push an authentication key to the device, and later device requests would include the serial number and that key.
Me I didn't accept it. Using my R&D / code-review skill, I made the AI verify the claim against the device documentation.
AI It found its own mistake: the device doesn't support a server-pushed key. We removed the assumption before implementation and adjusted the communication design.
Confident output is not verified output.
Verification checklist
- Understand the generated code first: read the Git diff (control flow, data flow, dependencies, assumptions).
- Compare it with the actual requirement: acceptance criteria, API contracts, permissions, inputs and outputs, error cases, UI behaviour, database requirements.
- Run automated validation: TypeScript / type checks, ESLint, Ruff, unit and integration / API tests, build, existing regression suite.
- Test important edge cases manually.
- Verify frontend and backend independently.
- Inspect database changes and their side effects.
- Manually review security-sensitive areas: authentication, authorization, API access, data handling.
- Compare against the existing architecture: unnecessary complexity, drift, performance.
- Review the final Git diff again before merging.
9/9 before merge
Toolkit
- Agents
-
- Claude Code
- Codex (incl. code review)
- OpenCode
- Context
-
- project architecture docs
- code-pattern docs
- knowledge files (CLAUDE.md-style project memory)
- Skills
-
- custom review skills
- custom R&D / verification skill
- Quality gates
-
- type checking
- ESLint
- Ruff
- unit and integration tests
- build
- regression suite
Proof
This site was built the same way
This portfolio was built the same way: a CLAUDE.md, a written build plan, a content brief as the single source of truth, and project skills for the design system and animation patterns.
Contributed significantly to building and improving this workflow at Govaly, and coaches the team of 4 on it.