Source: [Engineering notes — Skills for Business](<https://skillsforbusiness.ai/blog/engineering/>)

The Skills for Business blog

# Engineering notes.

Implementation notes for people building and testing AI systems.

[Workplace guides](https://skillsforbusiness.ai/blog/workplace/)[Engineering notes](https://skillsforbusiness.ai/blog/engineering/)[All articles](https://skillsforbusiness.ai/blog/archive/)[How we write](https://skillsforbusiness.ai/blog/editorial/)[RSS feed](https://skillsforbusiness.ai/blog/rss.xml)

## Latest writing

Evidence. Context. A useful next step.

Development8 November 2026

Guide · 6 min read

### [AI-generated code: keep public-code matches attached to the change](https://skillsforbusiness.ai/blog/ai-generated-code-public-match-review/)

Review public-code references in AI-generated changes. Preserve the matched fragment, source revision and unresolved questions through edits and release review.

[](https://skillsforbusiness.ai/blog/ai-generated-code-public-match-review/)

Development7 November 2026

Guide · 7 min read

### [AI video review: check whether the event reached the samples](https://skillsforbusiness.ai/blog/ai-video-review-sampling-event-coverage/)

A video summary can miss a brief event before reasoning begins. Separate temporal sampling, visual recognition and source verification when reviewing business recordings.

[](https://skillsforbusiness.ai/blog/ai-video-review-sampling-event-coverage/)

Development7 November 2026

Guide · 7 min read

### [AI-written cooldowns: keep clock changes out of elapsed-time decisions](https://skillsforbusiness.ai/blog/ai-written-cooldowns-monotonic-clock/)

A wall-clock adjustment can release a cooldown early or prolong it. Review AI-written timing code with controlled clock histories and explicit restart limits.

[](https://skillsforbusiness.ai/blog/ai-written-cooldowns-monotonic-clock/)

Agent skills7 November 2026

Guide · 7 min read

### [AI chemistry skills: keep measurement bounds in compound rankings](https://skillsforbusiness.ai/blog/ai-chemistry-skills-measurement-bounds/)

A ChEMBL skill can convert units correctly while a later AI ranking loses measurement bounds. Use a fictional example to check that boundary before an R&D pilot.

[](https://skillsforbusiness.ai/blog/ai-chemistry-skills-measurement-bounds/)

Development6 November 2026

Guide · 6 min read

### [AI-written schemas: test which records a nullable UNIQUE rule allows](https://skillsforbusiness.ai/blog/ai-written-schemas-nullable-unique-active-records/)

A nullable field can let a unique constraint admit two active records. Review AI-written schemas against business states, with an executed SQLite example.

[](https://skillsforbusiness.ai/blog/ai-written-schemas-nullable-unique-active-records/)

Development6 November 2026

Guide · 7 min read

### [AI-written backups: check the business state after restore](https://skillsforbusiness.ai/blog/ai-written-backups-restored-business-state/)

A copied database can open cleanly and still omit required records. Review AI-written backup jobs with a restore test and an explicit recovery point.

[](https://skillsforbusiness.ai/blog/ai-written-backups-restored-business-state/)

Development6 November 2026

Guide · 7 min read

### [AI-written SQL: decide which repeated rows must survive UNION](https://skillsforbusiness.ai/blog/ai-written-sql-union-record-multiplicity/)

Review UNION and UNION ALL in AI-written SQL with separate cases for equal-valued events, replayed records and conflicting versions of one event.

[](https://skillsforbusiness.ai/blog/ai-written-sql-union-record-multiplicity/)

Development6 November 2026

Guide · 10 min read

### [AI judges: reverse answer order before trusting a comparison](https://skillsforbusiness.ai/blog/ai-judges-pairwise-answer-order/)

Check whether an AI judge changes its preferred output when answer order is reversed. Preserve candidate identities, ties and unresolved comparisons.

[](https://skillsforbusiness.ai/blog/ai-judges-pairwise-answer-order/)

Development6 November 2026

Guide · 6 min read

### [AI-written ZIP importers: validate the member you actually read](https://skillsforbusiness.ai/blog/ai-written-zip-importers-member-identity/)

Duplicate ZIP member names can separate validation from import. Review member identity with a small Python fixture and an explicit upload contract.

[](https://skillsforbusiness.ai/blog/ai-written-zip-importers-member-identity/)

Development5 November 2026

Guide · 6 min read

### [AI-written shell pipelines: keep failed runs from replacing reports](https://skillsforbusiness.ai/blog/ai-written-shell-pipelines-preserve-reports/)

A failed Bash pipeline can still overwrite a useful report. Test exit status and saved contents, then validate a candidate before replacing the previous file.

[](https://skillsforbusiness.ai/blog/ai-written-shell-pipelines-preserve-reports/)

Development5 November 2026

Guide · 7 min read

### [AI-written SQL exclusions: decide what missing identifiers mean](https://skillsforbusiness.ai/blog/ai-written-sql-exclusions-missing-identifiers/)

Review NULL handling in AI-written exclusion queries. Separate a SQL repair from the decision to act when order keys or exclusion records are incomplete.

[](https://skillsforbusiness.ai/blog/ai-written-sql-exclusions-missing-identifiers/)

Development5 November 2026

Guide · 7 min read

### [AI-suggested dependencies: retain license evidence before approval](https://skillsforbusiness.ai/blog/ai-suggested-dependencies-license-evidence/)

Review license evidence for the exact software release an AI coding assistant proposes. Preserve declarations, file notices and unresolved questions separately.

[](https://skillsforbusiness.ai/blog/ai-suggested-dependencies-license-evidence/)

Development5 November 2026

Guide · 8 min read

### [AI-written CSV imports: catch column collisions before mapping rows](https://skillsforbusiness.ai/blog/ai-written-csv-imports-header-collisions/)

A CSV can parse successfully while duplicate or normalized headers overwrite fields. Check column identity before accepting an AI-written importer.

[](https://skillsforbusiness.ai/blog/ai-written-csv-imports-header-collisions/)

Development4 November 2026

Guide · 6 min read

### [AI-built A/B tests: trace assignment before trusting uplift](https://skillsforbusiness.ai/blog/ai-built-ab-tests-assignment-evidence/)

Check the assignment, logging and analysis paths in an AI-built experiment with a worked example of missing users and misleading conversion rates.

[](https://skillsforbusiness.ai/blog/ai-built-ab-tests-assignment-evidence/)

Development3 November 2026

Guide · 7 min read

### [AI-written caches: test who can receive a reused response](https://skillsforbusiness.ai/blog/ai-written-caches-response-access-boundaries/)

Review AI-generated caching code with account, permission and request-variant cases. A faster dashboard must preserve the access rules of an uncached response.

[](https://skillsforbusiness.ai/blog/ai-written-caches-response-access-boundaries/)

Development3 November 2026

Guide · 7 min read

### [AI-written webhook handlers: verify the request before changing the record](https://skillsforbusiness.ai/blog/ai-written-webhook-handlers-signature-boundary/)

Review AI-generated webhook code across raw-body verification, signed timestamps and business authorization, using controlled rejection cases before deployment.

[](https://skillsforbusiness.ai/blog/ai-written-webhook-handlers-signature-boundary/)

Agent skills3 November 2026

Guide · 7 min read

### [SKILL.md helpers: define the runtime before promising repeatable execution](https://skillsforbusiness.ai/blog/skill-md-helper-dependencies-runtime-contract/)

Separate dependency declarations, lockfiles and available runtime resources when distributing an agent skill. Test a fresh environment as well as a warm cache.

[](https://skillsforbusiness.ai/blog/skill-md-helper-dependencies-runtime-contract/)

Development2 November 2026

Guide · 7 min read

### [AI-written list endpoints: test the boundary between pages](https://skillsforbusiness.ai/blog/ai-written-list-endpoints-pagination-boundaries/)

Review pagination in AI-generated code with tied timestamps, changed records and explicit snapshot expectations before trusting a list endpoint.

[](https://skillsforbusiness.ai/blog/ai-written-list-endpoints-pagination-boundaries/)

Development2 November 2026

Guide · 8 min read

### [AI-written money calculations: specify rounding before choosing decimals](https://skillsforbusiness.ai/blog/ai-written-money-calculations-rounding-policy/)

Decimal arithmetic cannot choose a billing rule. Define rounding stages, allocation and reversals before accepting AI-generated money calculations.

[](https://skillsforbusiness.ai/blog/ai-written-money-calculations-rounding-policy/)

Agent skills2 November 2026

Guide · 7 min read

### [SKILL.md helper commands: keep filenames out of shell syntax](https://skillsforbusiness.ai/blog/skill-md-helper-commands-filename-arguments/)

Review how agent skills pass filenames to helper scripts. Separate shell parsing, program options and file-access scope before trusting a command example.

[](https://skillsforbusiness.ai/blog/skill-md-helper-commands-filename-arguments/)

Development2 November 2026

Guide · 7 min read

### [AI-drafted postmortems: check the timeline before naming a cause](https://skillsforbusiness.ai/blog/ai-postmortems-timeline-cause-evidence/)

Keep event time, evidence, hypotheses and follow-up actions distinct when AI helps draft a software incident postmortem.

[](https://skillsforbusiness.ai/blog/ai-postmortems-timeline-cause-evidence/)

Development2 November 2026

Guide · 7 min read

### [AI-added logging: define the event before copying the payload](https://skillsforbusiness.ai/blog/ai-added-logging-event-fields-review/)

Review AI-generated logging changes with an explicit event schema, useful diagnostic fields and checks for sensitive data in the emitted output.

[](https://skillsforbusiness.ai/blog/ai-added-logging-event-fields-review/)

Development2 November 2026

Analysis · 7 min read

### [Audit AGENTS.md for the behavior each instruction changes](https://skillsforbusiness.ai/blog/agents-md-instructions-behavior-audit/)

Research on repository instructions shows mixed results. Audit AGENTS.md by the mistake each rule prevents, its scope, and the evidence that it remains useful.

[](https://skillsforbusiness.ai/blog/agents-md-instructions-behavior-audit/)

Development2 November 2026

Guide · 7 min read

### [AI release notes: confirm what shipped before drafting](https://skillsforbusiness.ai/blog/ai-release-notes-confirm-shipped-changes/)

Give AI release-note drafts a verified release scope. Separate merged work, released artifacts and enabled features before describing changes to customers.

[](https://skillsforbusiness.ai/blog/ai-release-notes-confirm-shipped-changes/)

Development2 November 2026

Guide · 7 min read

### [AI code review: verify the finding before applying the fix](https://skillsforbusiness.ai/blog/ai-code-review-findings-before-fixes/)

Turn AI code-review comments into checkable claims. Separate real defects, missing requirements and optional improvements before changing working code.

[](https://skillsforbusiness.ai/blog/ai-code-review-findings-before-fixes/)

Development1 November 2026

Guide · 7 min read

### [AI data cleaning: a normalized name is not a record identity](https://skillsforbusiness.ai/blog/ai-data-cleaning-normalized-names-identity/)

Use AI to propose duplicate candidates without merging distinct accounts. Define the entity, retain source IDs and review a mapping before changing business records.

[](https://skillsforbusiness.ai/blog/ai-data-cleaning-normalized-names-identity/)

Agent skills1 November 2026

Guide · 6 min read

### [Agent skills: test the installed package outside its source repository](https://skillsforbusiness.ai/blog/agent-skills-package-relocation-checks/)

Check SKILL.md references, bundled assets and script paths after relocation. Separate package completeness from runtime prerequisites and assistant compatibility.

[](https://skillsforbusiness.ai/blog/agent-skills-package-relocation-checks/)

Development1 November 2026

Guide · 7 min read

### [AI-written regular expressions: test the cost of rejecting input](https://skillsforbusiness.ai/blog/ai-written-regex-rejection-cost/)

Review AI-generated regexes for meaning and runtime behavior. Test near-matches, record the engine and check input limits before accepting a validation change.

[](https://skillsforbusiness.ai/blog/ai-written-regex-rejection-cost/)

Development1 November 2026

Guide · 7 min read

### [Prompt caching for AI agents: plan for instruction updates](https://skillsforbusiness.ai/blog/ai-agent-prompt-caching-instruction-updates/)

Keep reusable prompt content stable without freezing business rules. Test cache reuse and required instruction changes as separate release checks.

[](https://skillsforbusiness.ai/blog/ai-agent-prompt-caching-instruction-updates/)

Development1 November 2026

Guide · 6 min read

### [AI-written SQL: check join fanout before trusting totals](https://skillsforbusiness.ai/blog/ai-written-sql-join-fanout-checks/)

Catch inflated totals in AI-written SQL by defining the row grain, checking join multiplicity and testing small cases with known results.

[](https://skillsforbusiness.ai/blog/ai-written-sql-join-fanout-checks/)

Development1 November 2026

Guide · 7 min read

### [AI agent memory: give temporary facts a review date](https://skillsforbusiness.ai/blog/ai-agent-memory-temporary-facts-review-dates/)

Design AI agent memory so repeated retrieval does not renew a fact's validity. Separate preferences, temporary assumptions and verified current evidence.

[](https://skillsforbusiness.ai/blog/ai-agent-memory-temporary-facts-review-dates/)

Development1 November 2026

Guide · 9 min read

### [AI-written database migrations: test the application-version overlap](https://skillsforbusiness.ai/blog/ai-database-migrations-application-version-overlap/)

A migration can run successfully and still break an older application. Review readers, writers, data authority and rollback before accepting AI-generated changes.

[](https://skillsforbusiness.ai/blog/ai-database-migrations-application-version-overlap/)

Development1 November 2026

Guide · 7 min read

### [AI agent record updates: prevent overwrites with version checks](https://skillsforbusiness.ai/blog/ai-agent-record-updates-version-checks/)

An AI agent can overwrite a colleague's newer edit. Use conditional record updates, then re-evaluate the task when a version conflict occurs.

[](https://skillsforbusiness.ai/blog/ai-agent-record-updates-version-checks/)

Development1 November 2026

Guide · 9 min read

### [A passing rerun does not explain an AI coding fix](https://skillsforbusiness.ai/blog/ai-coding-fixes-passing-rerun-evidence/)

When an AI coding agent gets tests green after retries, preserve the earlier failures and verify what changed before accepting the fix.

[](https://skillsforbusiness.ai/blog/ai-coding-fixes-passing-rerun-evidence/)

Development1 November 2026

Guide · 7 min read

### [Parallel AI coding: assign ownership before adding more agents](https://skillsforbusiness.ai/blog/parallel-ai-coding-ownership-integration/)

Divide AI coding work by stable contracts and explicit ownership. Separate worktrees help, but the combined feature still needs integration checks.

[](https://skillsforbusiness.ai/blog/parallel-ai-coding-ownership-integration/)

Development31 October 2026

Guide · 7 min read

### [AI-generated internal tools: check accessibility through the whole task](https://skillsforbusiness.ai/blog/ai-generated-internal-tools-accessibility-task-checks/)

Review AI-generated workplace interfaces beyond their screenshots. Check keyboard access, labels, focus and error recovery across a complete employee task.

[](https://skillsforbusiness.ai/blog/ai-generated-internal-tools-accessibility-task-checks/)

Agent skills31 October 2026

Guide · 7 min read

### [When an agent skill needs a script, give it a clear contract](https://skillsforbusiness.ai/blog/agent-skill-scripts-repeatable-rules/)

Decide which steps in a SKILL.md workflow belong in code. Define inputs, business rules, outputs and failure behavior before handing results back to an AI assistant.

[](https://skillsforbusiness.ai/blog/agent-skill-scripts-repeatable-rules/)

Development31 October 2026

Guide · 7 min read

### [AI agent timeouts: design retries that do not duplicate work](https://skillsforbusiness.ai/blog/ai-agent-timeouts-safe-retries/)

A timed-out AI tool call may already have changed a business system. Define operation identity, status checks and retry rules before enabling autonomous writes.

[](https://skillsforbusiness.ai/blog/ai-agent-timeouts-safe-retries/)

Development31 October 2026

Guide · 8 min read

### [Self-documenting AI code: make intent survive the chat](https://skillsforbusiness.ai/blog/self-documenting-ai-code-best-practices/)

Best practices for self-documentation in AI-assisted coding: clear names, useful contracts, verified rationale, executable examples and maintained repository docs.

[](https://skillsforbusiness.ai/blog/self-documenting-ai-code-best-practices/)

Development31 October 2026

Guide · 8 min read

### [Check completeness before an AI agent reports all tool results](https://skillsforbusiness.ai/blog/agent-tool-results-pagination-completeness/)

Make paginated API results reviewable: preserve query scope, follow continuation markers, distinguish truncation from completion and test final-page omissions.

[](https://skillsforbusiness.ai/blog/agent-tool-results-pagination-completeness/)

Development31 October 2026

Guide · 10 min read

### [Check that AI-generated tests catch the intended regression](https://skillsforbusiness.ai/blog/ai-generated-tests-intended-regression/)

Review AI-generated unit tests with explicit expected results and small deliberate regressions, then inspect why they fail before accepting them.

[](https://skillsforbusiness.ai/blog/ai-generated-tests-intended-regression/)

Development31 October 2026

Guide · 7 min read

### [Retrieved documents must not grant an AI agent permission to act](https://skillsforbusiness.ai/blog/retrieved-documents-agent-action-permissions/)

Design tool permissions around the authorized task, then test whether an AI agent resists instructions in retrieved content while still completing useful work.

[](https://skillsforbusiness.ai/blog/retrieved-documents-agent-action-permissions/)

Development31 October 2026

Guide · 7 min read

### [An AI-suggested dependency needs an identity check](https://skillsforbusiness.ai/blog/ai-suggested-dependencies-identity-check/)

Verify AI-suggested software dependencies before installing them: distinguish import names, registry identity, provenance and the actual need for new code.

[](https://skillsforbusiness.ai/blog/ai-suggested-dependencies-identity-check/)

Development30 October 2026

Guide · 8 min read

### [Give coding agents a reproducible bug and a clear acceptance test](https://skillsforbusiness.ai/blog/coding-agent-bug-report-acceptance-tests/)

A practical task-intake method for coding agents: reproduce the defect, separate environment failures, and define evidence a reviewer can verify.

[](https://skillsforbusiness.ai/blog/coding-agent-bug-report-acceptance-tests/)

Working on a repeatable task?

Explore our [business skills](https://skillsforbusiness.ai/skills/), or read the [Article writer workflow](https://skillsforbusiness.ai/skills/article-writer/) behind this blog.
