BotCurrent
← Back to examples

Build & debugFrom the makerActs with your OK

Change an ID format across legacy programs

A new ID format can break old programs in many hidden places. Your AI maps every use and plans changes that follow your rules.

What happened

Cognition's blog post says Devin helped switch Itaú's corporate ID format to alphanumeric across COBOL programs. It says experts gave Devin the field variants and rules to follow. The post doesn't say how the final changes were approved.

Source: The Cognition Team · cognition.com · Tool: Devin

Copy this prompt

Paste it into ChatGPT, Claude or Gemini, fill in the [brackets] and add your files. It only drafts. You decide what to send or change.

Use it often? Save it as a skill

Add this job to Claude or Codex once, and your agent knows how to do it without you pasting the prompt each time. Text only, no code.

Download for Claude (.zip)View the skill file

How to add it
Claude app or claude.ai
Download the .zip. In Settings, find Skills, choose Upload skill and pick the file. Code execution has to be turned on.
Claude Code
Run this in your terminal:mkdir -p ~/.claude/skills/change-an-id-format-across-legacy-programs && curl -fsSL https://botcurrent.com/skills/change-an-id-format-across-legacy-programs/SKILL.md -o ~/.claude/skills/change-an-id-format-across-legacy-programs/SKILL.md
Codex
Run this in your terminal:mkdir -p ~/.agents/skills/change-an-id-format-across-legacy-programs && curl -fsSL https://botcurrent.com/skills/change-an-id-format-across-legacy-programs/SKILL.md -o ~/.agents/skills/change-an-id-format-across-legacy-programs/SKILL.md

More about skills, and open-source skills we checked

Security scanClear13 of 13 checks passed

We check every skill file before we offer it. This one is the prompt above in skill form.

  • Passed Skill file is well formed
  • Passed Runs its own code or programs
  • Passed Connects to the internet from code
  • Passed Touches passwords, keys or private files
  • Passed Deletes or overwrites things in bulk
  • Passed Hidden or scrambled code
  • Passed Tries to override your instructions
  • Passed Invisible characters in the text
  • Passed Sends your data somewhere else
  • Passed Can pay or buy without asking you
  • Passed Downloads or installs other software
  • Passed Has a password or key written into it
  • Passed Asks for admin (sudo) rights

Files scanned: SKILL.md. Links to: botcurrent.com, cognition.com. Fingerprint: fe6fc000a56c. What we check

What you'll get

A map of every place the ID is used, the conflicts with the new format, and a list of changes with tests.

You'll need

  • The programs or code that use the ID
  • The new ID format and your rules
  • Example IDs and how each should parse

Before you switch it on

Acts with your OK

If you give this job to an agent that works in your accounts:

Access it needs
Your COBOL code repository
Keep on “ask me first”
Sending or posting anything, paying or buying, sharing your address or ID, deleting anything

Heads up: Other systems may read these IDs too. Check every file and report that uses them before you switch.

More details: full instructions, sources and safeguards

Before you begin

No code changes or execution. Human reviewers approve implementation and release; do not infer production permissions from repository access.

Use this in your own AI tool

  1. Copy the starter, then open your own AI tool.
  2. Paste it with only the permitted inputs. Check privacy settings and tool compatibility first.
  3. Review the draft and held questions. Any later action needs separate approval.

What you need

Authorized program descriptors and identifier-format requirements.

Protected behavior, affected programs and compatibility boundaries.

Owner-approved identifier examples, expected parsing outcomes and a reviewer for unresolved downstream effects.

Start here

  1. Map identifier use across supplied program evidence.
  2. Identify width, parsing and downstream-contract conflicts.
  3. Outline scoped edits and regression checks for qualified review.
Advanced prompt availability

Advanced prompt

No accepted companion is available for this record. The original material below retains its original status.

Technical setup & run design — optional
Starter
Separate short starter version composed-v1. Untested.
Advanced prompt
No accepted advanced companion is available. Legacy material remains in the original notes with its status.
Compatibility
Unknown; check the actual tool, account and permissions.
Run design
No reviewed run design. No runtime or schedule is activated by BotCurrent.
Setup and access

Proposed inputs

  1. Name

    Identifier constraint sheet

    Owner

    Domain expert

    Minimum scope

    Fictional field variants, allowed representation and preservation rules

    Quality check

    Separate storage format from display and validation behavior.

  2. Name

    Program impact sample

    Owner

    Legacy-system maintainer

    Minimum scope

    Selected field descriptions, copybook references and interface contracts

    Quality check

    Mark numeric operations and truncation-sensitive boundaries.

Access and setup — proposed or unknown

Proposed minimum
  1. Offline fictional program descriptors and a proposed impact matrix.

Compatibility unknowns
  1. Unknown: current runtime, language tooling, build environment and cross-system coverage.

External actions requiring approval
  1. Source access, code changes, test-data use, interface changes and any production release.

Source evidence, attribution & limitations

Full source evidence

Vendor report · Coding orchestration

Original task title: Refactor identifiers across constrained legacy programs

Editorial candidate. This is source-backed reporting or a documented workflow. BotCurrent has not independently tested this task. A proposed Canadian adaptation is not evidence of a Canadian deployment or compliance certification.

Original source

https://cognition.com/blog/how-devin-is-modernizing-cobol-at-fortune-500-companies

Attributed to: The Cognition Team

Vendor report
Original action type
coding_agent_orchestration
What the source reports
Applied expert-authored constraints to Itaú’s alphanumeric corporate-ID refactor across COBOL programs.
Source outcome limits
Actions and outcomes are attributed vendor claims, not an independent reproduction or an execution guarantee.
Evidence attribution caveat
Actions and outcomes are attributed vendor claims, not an independent reproduction or an execution guarantee.
Source approval description
Experts supplied field variants and constraints; final approval procedure unspecified.
Named tools
Devin; COBOL; playbooks
Model or version
Unknown
Publication date
2026-04-08
Source last checked
2026-10-14
Demonstrated in Canada
Unknown
Canadian availability
Unknown
Proposed Canadian adaptation
Proposed: adapt only to an actual Canadian identifier-format change, with synthetic fixtures and reconciliation.
Recommended approval boundaries
Approve source access and data scope first; require human review before production changes, external sharing or consequential decisions.
Technical specification & detailed checks
Detailed steps and output format

At a glance

Suggested result
Reviewable identifier-refactor changes under the supplied constraints.Suggested; untested.
Tool
DevinSource-named; check current access.
Suggested inputs
Identifier constraint sheet; Program impact sampleProposed; access notes below.
Human review
Approve source access and data scope first; require human review before production changes, external sharing or consequential decisions.Suggested boundaries; source approvals below.
Setup notes
Offline fictional program descriptors and a proposed impact matrix.Guide notes; proposed setup untested.
Cost
Workflow cost not established. Check current tool pricing, setup and human review costs before trying it.No measured cost or time added.
Content depth
Source-linked example · suggestions untestedDepth does not establish successful execution.
Check source evidence and limits ↓

Function and scope

Software engineering · Single task

Editorial classification; no execution or compatibility test is implied.

No tool mapping reviewed for this task.

Source-backed example. Practical decision guidance is proposed and untested; this is not a full implementation guide.

The problem

A new identifier format must fit legacy programs without breaking business rules spread across the codebase.

Suggested task

Apply expert-authored constraints to identifier changes across the affected legacy programs.

What you could produce

Reviewable identifier-refactor changes under the supplied constraints.

Where these suggestions come from
  • Core problem: Our interpretation of the task
  • Agent job: Our interpretation of the task
  • Expected output: Our interpretation of the task
  • Relevant job roles: Our interpretation of the task
  • Benefit type: Our interpretation of the task
Suggestions and their limits

Describes the task’s purpose and intended output; measured benefit, safe unsupervised operation and successful delivery are not established by this framing.

Editorial synthesis based on the linked source. This framing does not add evidence of successful delivery or results.

Before you try it · suggestions untested

Case-specific decision guidance and first checks are original proposals. The linked source supports the attributed task; this added guidance has not been executed.

Read the attributed source evidence and original caveats below ↓

Why use this

  1. A legacy identifier change can affect storage, validation, sorting and external interfaces in ways that are not obvious from a field name. An alphanumeric value may be preserved in one program and truncated or interpreted numerically in another.

  2. A constraint-led impact packet could trace each supplied rule to affected field variants and interfaces. Domain experts could review unresolved assumptions before editing, rather than relying on a broad search-and-replace to preserve business behavior.

Why an agent / simpler alternative

Useful judgment

Relate expert-authored field variants to scattered program descriptions and identify inconsistent identifier assumptions.

Simpler alternative

Use a deterministic transformation only when the affected fields and semantics are exhaustively documented and uniform.

Unsuitable when

Business constraints are missing or the task would alter production financial processing without qualified review.

Expected deliverable and review checks

Proposed artifact

Constraint-to-field impact matrix with unresolved transformations and domain-review questions.

Critical checks
  1. Every proposed field change links to an explicit expert rule.

  2. External interfaces and variant-specific behavior remain visible in the scope.

Missing output evidence

No new workflow run or output inspection was performed for this overlay; use the canonical source-outcome references.

First check — proposed, unexecuted

Status

proposed_unexecuted

Synthetic fixture

A fictional impact map includes an unchanged external field length and a numeric comparison on the identifier.

Acceptance checks
  1. Identify both rule conflicts.

  2. Keep transformations unresolved without altering or compiling code.

Stop conditions
  1. Real business data, code execution, production changes or financial processing is required.

Tasks: Build & debug

Useful for: Software developerFinance professional

Editorial relevance from the title and source-supported actions; not evidence of the operator’s occupation.
DevinIndependent testing: No
Failure handling, costs and limits

Failure signals and proposed responses

  1. Signal

    A field is widened locally while an output interface retains its old length.

    Why it matters

    Values could be truncated downstream.

    Proposed response

    Flag the contract mismatch and require a coordinated interface decision.

  2. Signal

    A supposedly textual identifier participates in numeric comparison.

    Why it matters

    Changing representation may alter business branching.

    Proposed response

    Stop the mechanical transformation and request expert guidance on intended semantics.

Effort and cost — unknown

Setup work
  1. Collect authoritative constraints and field lineage.

Ongoing review
  1. Resolve semantic exceptions and inspect later regression evidence.

Unknowns
  1. Unknown: affected-program coverage, test-data needs and migration cost.

Limits

  1. The proposed impact check provides no assurance that a legacy migration preserves business or regulatory behavior.

Original task overview & interpretation

Vendor report

Refactor identifiers across constrained legacy programs

A new identifier format must fit legacy programs without breaking business rules spread across the codebase.

Suggested result

Reviewable identifier-refactor changes under the supplied constraints.

What you need: Source-named agent: Devin. Suggested inputs: Identifier constraint sheet; Program impact sample. Offline fictional program descriptors and a proposed impact matrix. Workflow costs and current compatibility remain unverified.

Approve source access and data scope first; require human review before production changes, external sharing or consequential decisions.

Vendor report. BotCurrent has not independently tested this workflow.