VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

How to Use Artificial Intelligence | Build Small Digital Tools and Learn How They Work

Two university researchers compare a printed variable dictionary with a structured dataset on a laptop in a library data lab.

Use artificial intelligence to build a small digital tool by describing one useful job, defining its inputs and outputs, and testing the result against examples you can check yourself. Ask AI to explain the design before writing code. Run the finished file in the intended environment, compare what it does with your requirements, and repair errors one at a time. Keep enough understanding to recognise when the tool no longer fits the situation.

You can begin with a calculator, a checklist or a simple way to organise information. This guide develops an original card-pack calculator for a fictional community workshop, using one small HTML file that needs no account, external library or AI connection to perform its calculation. The larger purpose is a projection of intelligence: turning an understood problem into a useful, inspectable capability. Vocabulary Coding and Engineering helps us define that problem; practice and verification help us keep the resulting capability dependable.

  • Choose one job: describe who needs the tool and what they should be able to do.
  • Define the quantities: write the units, allowed values and meaning of each result.
  • Work an example manually: establish an answer independently of the generated code.
  • Build a small complete version: include the inputs, calculation, result and useful error messages.
  • Run and test it: an explanation of code is different from evidence of its behaviour.
  • Learn through changes: predict a result, make a small revision and explain what happened.
  • Preserve ownership: keep the file, requirements, checks and a practical way to continue without it.

GUIDE 14 OF 20 · AI FOR EVERYDAY UNDERSTANDING

Choose your reading route

Begin with the question closest to your situation, or read the complete guide. Every teaching chapter remains open below.

Open the chapter index · Try the four-week plan · Explore Vocabulary Coding and Engineering

Written for international readers. Research and examples reviewed on 27 November 2026. Scenarios and practice plans are illustrative; product capabilities and local requirements should be checked for the task.

Chapter index

Chapters 1–5 · Define the useful tool
  1. What can a beginner build with AI?
  2. Choose a problem whose answer you can recognise
  3. Meet the fictional card-making workshop
  4. Describe the result before requesting code
  5. Turn vocabulary into practical definitions
Chapters 6–10 · Build and understand
  1. Calculate one answer independently
  2. Choose an environment you can understand
  3. Give AI a brief it can be checked against
  4. Read the tool as a sequence of responsibilities
  5. A complete small calculator to inspect and run
Chapters 11–16 · Test real behaviour
  1. Understand the checks before trusting the numbers
  2. Test ordinary cases and revealing boundaries
  3. Repair an error by locating the broken requirement
  4. Check whether a person can use the interface
  5. Keep the calculation connected to its real limits
  6. Understand data, permissions and connections
Chapters 17–22 · Learn and maintain
  1. Make one revision and preserve the working behaviour
  2. Explain the tool without asking AI to speak for you
  3. Use AI building as an educational exercise
  4. Count the complete cost and benefit
  5. Leave a tool that can be maintained
  6. Decide when a small tool should become a shared system
Chapters 23–26 · Connect and practise
  1. How can small tools matter at larger zoom levels?
  2. Build the practice over four weeks
  3. Questions beginners often ask
  4. Start with one useful question and one checkable tool

CHAPTER 1 OF 26 · Define the useful tool

1. What can a beginner build with AI?

Back to contents

Begin with something that turns a clear input into a result you understand. A materials calculator can translate an attendance estimate into quantities. A checklist can help a volunteer prepare a room. A simple comparison page can display options using criteria you supply.

AI can help propose a design, write an initial implementation, explain unfamiliar lines and investigate a reported error. The useful division of work depends on your goal. If you want to learn programming, request explanations and exercises alongside the code. If you need a practical tool, concentrate first on whether it handles the intended task correctly.

Keep the first project small enough to inspect. A request for a complete organisation-management system hides many decisions about people, records and authority. A tool answering one repeated question gives you a better chance to see what each part contributes.

Your first achievement need not be technically impressive. Making a clear tool that another person can use and that you can repair is a meaningful step. It connects an intention, a method and an observed result. That connection is the foundation for building more ambitious capabilities later.

Contents · Next chapter

CHAPTER 2 OF 26 · Define the useful tool

2. Choose a problem whose answer you can recognise

Back to contents

Write down a task you already perform with paper, a calculator or a small table. Ask where confusion appears. Do people mix units? Repeat the same arithmetic? Forget one condition? Lose track of which figures produced a result?

A suitable first problem has a visible standard of success. “Calculate the minimum number of complete packs needed for these materials” is clearer than “make our planning intelligent.” You can check the first request with arithmetic and a physical interpretation.

Also ask whether software adds enough value. A single calculation may be quicker to perform manually. Building a tool can still be worthwhile as a learning exercise, provided you recognise that purpose. For recurring work, the benefit might come from consistent labels and fewer repeated explanations rather than faster multiplication alone.

Describe the smallest useful version in one sentence. For our example: “Help a workshop organiser calculate how many packs of blank cards are needed for a stated number of participants.” Leave purchasing, attendance records and stock management for separate decisions. The guide on mapping a problem through better questions offers another way to narrow an uncertain idea.

Contents · Previous chapter · Next chapter

CHAPTER 3 OF 26 · Define the useful tool

3. Meet the fictional card-making workshop

Back to contents

Imagine a community group preparing a card-making session. The organiser expects seventeen participants. Each participant will receive three blank cards. The supplier offers packs containing ten cards, and this exercise assumes the group starts with no existing stock.

The organiser wants three results: cards needed, complete packs required and spare cards remaining after the planned allocation. They also want to change the attendance estimate without rewriting a formula. A volunteer should be able to understand the labels without asking the person who built the tool.

This workshop, its quantities and all later user reactions are invented teaching examples. They are not evidence of a real group's savings or of any particular AI product's performance. The code below is an original worked example for this guide.

The tool will calculate quantities. It will not know whether seventeen people actually attend, whether the supplier has stock, whether the materials suit the activity or whether anyone has approved a purchase. Those questions remain part of organising the situation. A useful calculation supports that work while keeping its own scope clear.

Contents · Previous chapter · Next chapter

CHAPTER 4 OF 26 · Define the useful tool

4. Describe the result before requesting code

Back to contents

Tell AI what the person using the tool should see and understand. For the workshop, a result should show the input quantities beside the calculated quantities, with units such as participants, cards and packs. It should explain that the number of packs is rounded upward to cover the planned need.

Specify what should happen when an entry is missing or unsuitable. A blank participant count should request a number. Half a pack size should be rejected because this example counts individual cards in a complete pack. Changing an input should remove the old answer until the calculation is refreshed.

These decisions form a small working agreement between your intention and the implementation. They are more useful than asking for a “professional” or “smart” interface without saying what those adjectives mean.

Include the boundaries that matter now. This version uses whole numbers, allows zero participants and caps each input at ten thousand. The cap is an explicit teaching choice that keeps the example bounded; it is not a claim about the capacity of a real workshop. A later user can propose a different limit and test the revised design.

Contents · Previous chapter · Next chapter

CHAPTER 5 OF 26 · Define the useful tool

5. Turn vocabulary into practical definitions

Back to contents

A word becomes useful in software when its meaning connects to an input, a rule or a visible action. “Enough” sounds simple until people disagree about whether it includes extras. “Spare” might mean everything in storage or only what remains from a new purchase.

Use a short dictionary for the specific task:

TermMeaning in this exampleUnit or condition
ParticipantsPeople included in this planning calculationWhole number from zero to ten thousand
Cards per participantPlanned allocation for each personWhole number from one to ten thousand
Cards per packCards contained in one complete packWhole number from one to ten thousand
Cards neededParticipants multiplied by the allocationIndividual cards
Packs requiredSmallest whole number of packs covering the needComplete packs
Spare cardsCards in those packs minus cards neededIndividual cards; existing stock excluded
Turn vocabulary into practical definitions

This is a practical example of Vocabulary Coding and Engineering. Language helps preserve distinctions as an idea becomes a working tool. Ordinary language still requires interpretation, and a clear definition does not ensure that AI implements it correctly. The next step is to connect each definition to examples and checks.

Contents · Previous chapter · Next chapter

CHAPTER 6 OF 26 · Build and understand

6. Calculate one answer independently

Back to contents

For seventeen participants receiving three cards each, the requirement is fifty-one cards. Five packs of ten contain only fifty cards. Six packs contain sixty, leaving nine spare after the planned allocation. These are the expected results before any code is generated.

Write the reasoning in words as well as numbers. We choose the smallest complete number of packs that supplies at least fifty-one cards. Rounding to the nearest whole number would give five and leave one card missing. Rounding upward fits this requirement.

Try an exact-fit example too. Twenty participants receiving three cards each need sixty cards. Six packs of ten supply exactly sixty, leaving no spare cards. The rule should preserve this result rather than always adding an extra pack.

This independent answer gives you something to compare with the software. Asking AI to write both a program and an unexamined explanation that the program is correct leaves you without an outside check. You can use AI to propose additional examples, but work through several yourself. The skill you are developing is the ability to connect a computation with the situation it represents.

Contents · Previous chapter · Next chapter

CHAPTER 7 OF 26 · Build and understand

7. Choose an environment you can understand

Back to contents

Our worked example uses a single HTML file opened in a web browser. HTML supplies the page structure and controls; JavaScript performs the calculation and updates the result. We keep the browser's ordinary appearance to make the first version easier to read. MDN's introductory material explains the roles of HTML, CSS and JavaScript for readers who want to explore them further. Start with MDN's first-website guide.

This is one possible starting point. A spreadsheet formula or a small script may suit another task better. Choose based on who will use the result and where they already work. Avoid adding several unfamiliar services merely to make the project sound advanced.

For this example, use a plain-text editor to save the complete code as card-packs.html. Ensure the filename ends in .html, rather than .html.txt, and open that file with a browser. A word processor's formatted document is a different file type.

You do not need to publish the file to practise. Opening a local example lets you inspect one small piece of work. If your device requires a different file-opening method, follow its normal method for opening an HTML document.

Contents · Previous chapter · Next chapter

CHAPTER 8 OF 26 · Build and understand

8. Give AI a brief it can be checked against

Back to contents

Here is an original prompt you can adapt:

Help me build and understand a small card-pack calculator for a fictional workshop. First restate the inputs, units, rules and unresolved questions. Participants may be zero; the other two inputs must be at least one. All inputs must be whole numbers no larger than ten thousand. Show cards needed, complete packs required and spare cards. Round packs upward only when necessary. Use one HTML file with readable JavaScript, visible labels and a Calculate button. Clear an old result when an input changes. Include no account, external library, storage or network request. Explain the important parts and suggest checks with expected answers. Do not claim a check was run unless you actually ran it.

Compare the restatement with your intention before requesting a larger implementation. If the system assumes existing stock or adds an automatic purchase button, correct the scope while the design remains easy to change.

Ask questions about choices you do not understand. “Why is zero allowed here?” teaches more than “make it better.” Clear questions direct attention to a decision whose correctness you can examine.

Contents · Previous chapter · Next chapter

CHAPTER 9 OF 26 · Build and understand

9. Read the tool as a sequence of responsibilities

Back to contents

Before studying every symbol, find the major parts. The labels tell a person what to enter. The inputs hold values. A calculation function checks those values and returns quantities. A button connects the person's action to the function. The result paragraph reports what happened.

This separation makes diagnosis easier. An incorrect total might come from the calculation. A correct total with an unclear label is an interface problem. A button that does nothing may indicate that the page and the script are not connected correctly.

Ask AI to map each requirement to the relevant part of the code. Then inspect the actual file. A description can refer to a feature that the implementation omits. For example, the explanation may promise that old results disappear, while no input-change handler exists.

Use explanation in manageable pieces. You can understand the multiplication and rounding first, then the input checks, then how clicking the button displays the answer. You do not need to memorise the file. Aim to explain what information enters each part, what it produces and which requirement would fail if that part were removed.

Contents · Previous chapter · Next chapter

CHAPTER 10 OF 26 · Build and understand

10. A complete small calculator to inspect and run

Back to contents

The following is a complete original example. Copy the code inside the block into a plain-text file named card-packs.html. The code is displayed for inspection here; reading this article does not execute the calculator.

<!doctype html>
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Workshop card-pack calculator</title>
<main>
  <h1>Workshop card-pack calculator</h1>
  <p>Planning quantities only. Existing stock is excluded.</p>
  <p id="rules">Use whole numbers up to 10,000.
    Participants may be zero; the other values must be at least one.</p>
  <p>
    <label for="people">Participants</label>
    <input id="people" type="number" min="0" max="10000"
      step="1" value="17" aria-describedby="rules">
  </p>
  <p>
    <label for="each">Cards per participant</label>
    <input id="each" type="number" min="1" max="10000"
      step="1" value="3" aria-describedby="rules">
  </p>
  <p>
    <label for="pack">Cards per pack</label>
    <input id="pack" type="number" min="1" max="10000"
      step="1" value="10" aria-describedby="rules">
  </p>
  <button id="calculate" type="button">Calculate</button>
  <p id="result" role="status" aria-live="polite">
    Enter values, then select Calculate.
  </p>
  <noscript>This calculator needs JavaScript. You can use
    the manual calculation explained in the guide instead.</noscript>
</main>
<script>
function calculatePacks(people, each, pack) {
  const entries = [
    [people, 0, "Participants"],
    [each, 1, "Cards per participant"],
    [pack, 1, "Cards per pack"]
  ];
  for (const [value, minimum, label] of entries) {
    if (!Number.isInteger(value) || value < minimum || value > 10000) {
      throw new Error(label + ": enter a whole number from "
        + minimum + " to 10,000.");
    }
  }
  const cards = people * each;
  const packs = Math.ceil(cards / pack);
  const spare = packs * pack - cards;
  return { cards, packs, spare };
}

const fields = ["people", "each", "pack"].map(
  id => document.getElementById(id)
);
const result = document.getElementById("result");

document.getElementById("calculate").addEventListener("click", () => {
  try {
    const [people, each, pack] = fields.map(field => field.valueAsNumber);
    const answer = calculatePacks(people, each, pack);
    result.textContent = "For " + people + " participants, "
      + each + " cards each, and " + pack + " cards per pack: "
      + answer.cards + " cards needed; " + answer.packs
      + " complete packs required; " + answer.spare + " spare cards.";
  } catch (error) {
    result.textContent = error.message;
  }
});

for (const field of fields) {
  field.addEventListener("input", () => {
    result.textContent = "Inputs changed. Select Calculate to refresh.";
  });
}
</script>
</html>

Start with the supplied values and compare the displayed quantities with the manual answer: fifty-one cards, six packs and nine spare. If the file opens as text or nothing happens when you select Calculate, first check that the whole block was copied and that the file has the intended extension. Keep your original copy while investigating.

Contents · Previous chapter · Next chapter

CHAPTER 11 OF 26 · Test real behaviour

11. Understand the checks before trusting the numbers

Back to contents

The calculation accepts numbers within explicitly chosen ranges. Number.isInteger checks whether a supplied numeric value represents an integer; it rejects NaN and infinity. That describes the JavaScript value being checked, rather than proving that every conceivable typed decimal is preserved exactly. See MDN's integer-check documentation.

The page reads each numeric input through valueAsNumber. An empty field produces NaN, which the function rejects. This preserves the practical difference between no participant count and a deliberate count of zero. See MDN's explanation of numeric input values.

Math.ceil gives the smallest integer at least as large as its argument. Applied to fifty-one divided by ten, it produces six. Applied to sixty divided by ten, it remains six. See MDN's rounding-up reference.

Finally, the program calculates spare cards from the purchased quantity implied by those packs. That result inherits the assumptions you supplied. Perfect arithmetic with the wrong pack size still gives an unsuitable plan. Check the facts entering the calculation as carefully as the arithmetic leaving it.

Contents · Previous chapter · Next chapter

CHAPTER 12 OF 26 · Test real behaviour

12. Test ordinary cases and revealing boundaries

Back to contents

Use examples that challenge different requirements. Keep expected answers separate from the program's output so that a wrong result does not quietly become the new standard.

ParticipantsCards eachCards per packExpected behaviour
1731051 cards; 6 packs; 9 spare
2031060 cards; 6 packs; 0 spare
03100 cards; 0 packs; 0 spare
11101 card; 1 pack; 9 spare
1111011 cards; 2 packs; 9 spare
Blank310Ask for a valid participant count
17.5310Reject a fractional participant count
1730Reject a zero pack size
10001310Explain the allowed participant range
Test ordinary cases and revealing boundaries

After a valid result, change one input without selecting Calculate. The old quantities should disappear and a refresh message should appear. Then calculate again and check the new answer.

These checks provide evidence about specific behaviour. They cannot prove that a program has no other defects. Add a case when you discover a new requirement or an actual error, and keep the test proportionate to the tool's purpose.

Contents · Previous chapter · Next chapter

CHAPTER 13 OF 26 · Test real behaviour

13. Repair an error by locating the broken requirement

Back to contents

Suppose an illustrative early version returns five packs for fifty-one cards. Report the exact input, observed output and expected output. Explain the physical reason: five packs supply fifty cards, leaving one required card uncovered.

A useful repair prompt is: “With seventeen participants, three cards each and ten cards per pack, the program returns five packs. It must return six because complete packs must cover all fifty-one cards. Identify the rule causing the error, explain the smallest correction and preserve the other behaviours.”

After the change, rerun both the failing example and the exact-fit example. A repair that always adds one pack would fix fifty-one cards but incorrectly turn sixty cards into seven packs. The second check tests whether the new rule matches the requirement more generally.

When the result is unclear, ask AI to show intermediate values or explain one function. Avoid replacing the whole application after every small problem. A focused correction makes it easier to learn what failed and to notice an unrelated change. Save the working version before trying a broader revision so that returning to it remains straightforward.

Contents · Previous chapter · Next chapter

CHAPTER 14 OF 26 · Test real behaviour

14. Check whether a person can use the interface

Back to contents

Correct arithmetic is only part of a useful tool. Ask another person to use the file without a spoken explanation. Watch which label they read twice, what they think “spare” includes and whether they notice that the quantities are estimates.

The example pairs each input with a visible label. W3C's Web Accessibility Initiative explains that associated labels help identify controls and allow assistive technology to present the relevant label. Read the guidance on labelling controls. This is a starting design choice, not a claim that every accessibility need has been tested.

Use the keyboard to move through the controls and activate the button. Enlarge the text and check that essential information remains available. Try the device and browser that the intended user will actually use. If a person uses assistive technology, include their experience in the evaluation where possible.

The result paragraph is marked as a status region so assistive technology can announce updates, and error wording names the input that needs attention. Check that behaviour with the intended setup. W3C's notification guidance recommends feedback that helps people understand and correct an error. Read the form-notification guidance. A helpful message should lead to a repair, rather than leave the person guessing what “invalid” means.

Contents · Previous chapter · Next chapter

CHAPTER 15 OF 26 · Test real behaviour

15. Keep the calculation connected to its real limits

Back to contents

Now imagine someone asks, “Can we afford the workshop?” The calculator cannot answer that from card quantities alone. Affordability would require prices, other costs, available funds and a definition of what counts within the budget.

Treat this as a new problem, not evidence that the existing tool has become generally intelligent. AI can help identify missing information and suggest a separate design. You still need to decide whether the expanded question is appropriate for the tool and whether you can check its answer.

The same applies to stock. If the group already owns twenty-three cards, calculating a purchase requires a revised rule. You would first establish whether those cards are usable and available for this activity, then account for them explicitly. Quietly subtracting an assumed stock amount would change the meaning of the result.

Good scope statements give people a route to the next question. “Existing stock excluded” tells a user why the result may differ from their final shopping list. “Planning quantities only” reminds them that a calculation does not place an order. Useful boundaries should explain the work that remains.

Contents · Previous chapter · Next chapter

CHAPTER 16 OF 26 · Test real behaviour

16. Understand data, permissions and connections

Back to contents

The example's code contains no network request or storage operation. It reads three values from the page and displays a result. That limited design is visible in the file. It does not require names, email addresses or access to an organisation's records.

Keep that simplicity when it meets the need. If AI proposes adding an account, analytics service or remote database, ask what useful requirement each addition serves. A new connection can create work around access, maintenance and information handling that a local calculator did not need.

Browser-side input checks are also not a security boundary for a connected transaction. MDN notes that a person can alter a page's HTML and that consequential values must be checked on the server when security depends on them. Read MDN's number-input guidance. Our local exercise does not process an order or update a shared record.

If you later connect a tool to real systems, define which records it may read and which actions it may perform. Use the permissions appropriate to that task and the people affected. The companion guide to AI agents and human control explains how a proposed action differs from an authorised, observed action.

Contents · Previous chapter · Next chapter

CHAPTER 17 OF 26 · Learn and maintain

17. Make one revision and preserve the working behaviour

Back to contents

Choose a small improvement after the initial version works. Perhaps a volunteer wants the result to say “whole packs” instead of “complete packs.” Perhaps the guidance needs to make the absence of existing stock more prominent. State the reason before requesting the change.

Ask AI to identify which parts should change and which behaviours your existing examples still require. Review the revised file, then rerun the checks affected by the change. A wording edit may need a readability check; a changed rounding rule needs numerical checks.

For a more substantial revision, keep a named earlier copy. Record the change in one sentence: “Version two makes the input assumptions visible beside the result.” A simple history helps you distinguish a deliberate decision from an accidental difference between files.

The example writes result sentences through textContent, which treats the supplied value as text. MDN distinguishes this from innerHTML, which interprets HTML markup. Read MDN's explanation of text content. If a proposed cosmetic change introduces more complicated markup handling, ask whether that complexity is needed for the actual improvement.

Contents · Previous chapter · Next chapter

CHAPTER 18 OF 26 · Learn and maintain

18. Explain the tool without asking AI to speak for you

Back to contents

Close the chat briefly and explain the calculator to someone else, or write your explanation on paper. What does each input mean? Why do we round upward? Why is zero participants allowed while zero cards per pack is rejected? What changes when someone edits an input?

Then predict a new case before running it. For eight participants receiving four cards each, with packs of six, thirty-two cards are needed. Five packs supply thirty, so six packs are required and four cards remain. Compare your prediction with the program.

If you cannot explain a step, return to that step with a specific question. Ask AI for a smaller example, a diagram of the values or a short exercise. Keep the explanation connected to the file you are actually using.

Understanding does not require writing every line unaided. It includes knowing what the tool claims, recognising evidence that it fails and deciding when you need help. As your projects grow, some components will exceed your current expertise. Honest recognition of that boundary is a useful part of mastery, and a reason to learn or involve someone with the relevant knowledge.

Contents · Previous chapter · Next chapter

CHAPTER 19 OF 26 · Learn and maintain

19. Use AI building as an educational exercise

Back to contents

A learner can receive a complete program and still learn little if the task ends at copying it. The same program can support substantial learning when the learner predicts behaviour, tests assumptions, explains a failure and adapts the rule to a new situation.

For a teaching activity, give learners different examples and ask them to justify expected answers before opening the file. Ask one person to challenge the definition of “spare,” another to inspect the input checks and another to explain a reported defect. Bring the perspectives together around the same practical task.

Include an independent task afterwards. A learner might design the rules for allocating paintbrushes when some are already in stock, without requesting the finished program immediately. The teacher can assess the reasoning and the learner's ability to identify missing facts.

Education includes knowledge, technical skill and judgement about situations. AI can participate in practice across those areas when the activity makes them visible. This guide does not claim a measured learning gain from its exercise. It offers a way to design practice so that understanding can be observed. See the broader guide on learning and handling unfamiliar situations for related approaches.

Contents · Previous chapter · Next chapter

CHAPTER 20 OF 26 · Learn and maintain

20. Count the complete cost and benefit

Back to contents

Consider whether the tool helps after you include building, explaining, checking, correcting and maintaining it. A calculator that saves seconds but requires repeated assistance may still be valuable for learning, while offering little operational benefit for a one-off workshop.

Keep learning value and routine usefulness visible as separate questions. Did you become better at defining a problem? Can another organiser use the tool without confusion? Does the result reduce mistakes or simply move checking work to someone else?

In the EnDist conceptual lens used across this series, we can ask how much useful capability remains after misunderstanding, friction and rework. This is a design question, not a physical measurement or a formula proving that AI increases intelligence. For the calculator, a small improvement in labels may help more than an elaborate new feature if it prevents the wrong pack size being entered.

Observe actual use before claiming savings. If you record time, include the recipient's effort and distinguish the first build from later use. If the tool makes the task harder, simplify it or return to the manual method. A decision to stop an unhelpful experiment can be a successful use of judgement.

Contents · Previous chapter · Next chapter

CHAPTER 21 OF 26 · Learn and maintain

21. Leave a tool that can be maintained

Back to contents

Keep a small set of companion information with the file: its purpose, input definitions, expected examples, known limits and most recent meaningful change. Another person should be able to discover why the calculator exists and how to check whether it still works.

Avoid making the original AI conversation the only place where the rules live. A long chat may contain abandoned versions and conflicting suggestions. Preserve the current decisions in a short document that matches the current file.

Name a person or role who can decide whether a change is appropriate. For a personal exercise, that may simply be you. For a community tool, colleagues need to know where to report a confusing result and which version they should use.

Review the tool when its circumstances change. A supplier might introduce mixed pack sizes; a workshop might allocate different quantities to different activities. Those changes can make a previously correct simple model incomplete. Good maintenance begins by noticing that the problem has changed. The guide to projects and a personal knowledge system explains how to preserve useful methods and their evidence.

Contents · Previous chapter · Next chapter

CHAPTER 22 OF 26 · Learn and maintain

22. Decide when a small tool should become a shared system

Back to contents

Sharing a useful file with two colleagues is different from making it part of an institution's regular operations. More users can reveal differing assumptions, access needs and responsibilities. Those discoveries should influence the design.

Before expanding, ask whether people are solving the same problem. One workshop may use identical packs, while another draws materials from several cupboards. Combining both into a single tool may require clearer rules rather than simply adding more fields.

Consider who maintains the common definition and who can challenge it. A volunteer noticing that the stock count is unreliable should have a way to raise that issue. An institution should not turn a convenient calculator into unquestionable authority merely because it produces precise numbers.

Expand in response to a demonstrated need and an ability to support the result. A shared tool may justify a more experienced developer, additional testing or integration with existing systems. You can retain the learning gained from the small version while changing the implementation. The important continuity is the understood purpose and the evidence needed to judge whether the new version fulfils it.

Contents · Previous chapter · Next chapter

CHAPTER 23 OF 26 · Connect and practise

23. How can small tools matter at larger zoom levels?

Back to contents

At the word level, “pack” and “spare” define what the figures represent. At the calculation level, the rule converts those figures into an answer. At the person level, the organiser gains a method they can inspect. At the team level, the method may reduce repeated explanation if others understand and maintain it.

At an institutional level, many such tools could make local knowledge easier to use. That possibility depends on reliable definitions, appropriate access, competent review and a route for correction. A collection of disconnected, unexplained calculators can also create confusion. Scale magnifies both useful design and unresolved mistakes.

The wider opportunity is for more people to express a need, build a modest response and understand how to improve it. Teachers, craftspeople, volunteers and researchers may have practical knowledge that was previously difficult for them to translate into software. AI assistance could help some of that knowledge become usable tools, where people can verify and sustain the result.

This is a conditional vision of civilisation-level change, not a prediction that every person will become a software engineer or every generated application will be dependable. The desirable outcome is broader capability: more people able to ask clear questions, test answers and contribute useful work while preserving accountable human judgement.

Contents · Previous chapter · Next chapter

CHAPTER 24 OF 26 · Connect and practise

24. Build the practice over four weeks

Back to contents

Use this schedule as a flexible learning route. The pace can change with your experience and the complexity of the task.

WeekPractical workEvidence to keep
One: define and predictChoose one small task, define its quantities and work several examples manuallyA short purpose statement, dictionary and expected answers
Two: build and inspectCreate a complete first version, run it and explain its main partsThe working file and observations from ordinary and boundary cases
Three: revise and teachRepair a real weakness, then ask another person to use and explain the toolThe change, repeated checks and the user's specific feedback
Four: transfer and decideApply the method to a different small problem and decide whether to keep, expand or stop the originalA comparison of assumptions, a maintenance note and an independent explanation
Build the practice over four weeks

At the end of each week, write one thing you can now do without assistance and one thing you still need help understanding. That record makes learning visible without pretending that time spent or code produced is a complete measure of mastery.

Keep the fourth week's new problem small. The aim is to discover which habits transfer: defining terms, predicting results, testing behaviour and maintaining a usable method. A larger codebase is optional.

Contents · Previous chapter · Next chapter

CHAPTER 25 OF 26 · Connect and practise

25. Questions beginners often ask

Back to contents

Do I need to learn programming before using AI to build anything?

You can start with a small guided example while learning the relevant concepts. Choose a task whose behaviour you can check, and let the project reveal what you need to understand next. As complexity increases, so does the need for technical knowledge or experienced help.

If AI says it tested the code, should I accept that?

Ask what it ran, where it ran and what results it observed. A proposed test and an executed test are different evidence. Check the file in your intended environment and retain the expected results you can justify independently.

Does precise vocabulary guarantee correct software?

Precise wording makes requirements easier to interpret and challenge. The implementation can still misunderstand a condition or contain a defect. Connect definitions to examples, inspections and observed behaviour.

Should every simple tool include AI while it runs?

Choose that only when the task needs it. This calculator performs a fixed computation after it has been built. It has no AI connection at runtime. AI can help create or explain a tool whose everyday operation is ordinary software.

Can I share the example immediately?

You can use the original example for learning. Before relying on a modified version in shared work, check it with the intended users and keep its assumptions visible. This guide supplies a teaching example, not a reviewed institutional purchasing system.

What should I do if I cannot understand a proposed change?

Ask for a smaller explanation and preserve the working version. If the change introduces capabilities you cannot evaluate, involve someone with the relevant expertise before depending on it. Learning can continue without expanding the tool immediately.

Contents · Previous chapter · Next chapter

CHAPTER 26 OF 26 · Connect and practise

26. Start with one useful question and one checkable tool

Back to contents

Choose a question you already answer in ordinary work. Write what enters the process, what should come out and how you would recognise an incorrect answer. Calculate or construct one example independently.

Then ask AI to help turn that understanding into the smallest complete tool that serves the purpose. Read the explanation, run the result and compare its behaviour with your example. When something fails, describe the failure precisely and investigate the relevant rule. When it succeeds, explain why the answer fits the situation.

Leave behind more than a file. Preserve the meaning of its inputs, its limits and a way to check it again. That record allows the next person, including your future self, to use the capability with understanding.

The calculator in this guide is modest. The practice it illustrates can travel much further: from a phrase to a rule, from a rule to a working method, and from one person's method to a capability others can inspect and improve. AI becomes useful in that process when it helps people build, learn and handle the situation well.

Contents · Previous chapter · Vocabulary Coding and Engineering

Explore the AI guide series

  1. A Beginner’s Guide to Thinking, Checking and Acting
  2. Learn More and Handle Unfamiliar Situations
  3. Turn Clear Vocabulary into Reliable Instructions
  4. Project Intelligence from One Person to Civilisation
  5. Ask Better Questions and Build a Clear Map of a Problem
  6. Research, Compare Evidence and Make Better Decisions
  7. Build Projects and a Personal Knowledge System
  8. Work with AI Agents and Keep Human Judgement in Control
  9. Turn Data and Numbers into Decisions You Can Check
  10. Write, Revise and Communicate with Your Meaning Intact
  11. Work Across Languages and Check What Translation Preserves
  12. Build Team Capability through Shared Definitions and Feedback
  13. Read Images and Diagrams without Confusing Observation with Inference
  14. Build Small Digital Tools and Learn How They Work — this guide
  15. Rehearse Conversations and Practise Judgement in Difficult Situations
  16. Explore Future Scenarios and Plan without Pretending to Predict
  17. Turn Speech and Conversations into Reliable Notes
  18. Develop Creative Ideas and Test What Makes Them Useful
  19. Investigate Problems and Test Possible Causes
  20. Choose the Right Support and Measure What Improves