Build a small digital tool with AI by first describing the specific job it must perform, the inputs it accepts, the rules it applies and the results a user should see. Start with a low-risk prototype using fictional information and a simple format such as a spreadsheet. Calculate several expected answers independently, test the actual implementation and inspect how it handles invalid or missing inputs. A useful tool is not merely a convincing demonstration: another person should understand what it does, check its results and know when not to rely on it.
This international guide follows Kenji, a fictional volunteer who prepares activity kits for a community learning room, as he builds a small kit-capacity calculator. Every item, quantity, requirement and operating arrangement is invented. SuperIntelligence is the future-facing theme of this series, not a claim that present AI has demonstrated general superintelligence. Current AI can help beginners express a problem in language and translate that specification into a formula or code. That does not remove the need for appropriate testing, security, accessibility, maintenance or specialist review. No live application is being offered by this article; the worked calculator is an educational example.
- Choose a small problem with a clearly defined result.
- Specify inputs, units, valid values and calculation rules before building.
- Use independently calculated test cases, including invalid and boundary cases.
- Inspect the actual tool, not just a description of how it should work.
- Keep prototypes separate from live data, real commitments and production systems.
- Document the current version, limitations and a suitable review or maintenance route.
EDUKATE · VOCABULARY CODING AND ENGINEERING · PART 36 · NINTH COLLECTION
Find your next useful step
Continue the series: Parts 33–36
- Part 33: Reading long documents
- Part 34: Transferring human experience
- Part 35: Limited AI access
- Part 36: Small digital tools — you are here
Parts 29–32: feedback, estimates, decision aids and conflicting instructions · Begin the complete series
Full chapter index
Define the job, units and rules
Build a simple calculator
Test behavior and boundaries
- 11. Test normal and boundary cases before sharing
- 12. Test the delivered artifact, not the explanation
- 13. Understand why the limiting quantity matters
- 14. Distinguish possible capacity from completed production
- 15. Ask AI for the smallest useful implementation
- 16. Keep early prototypes separate from live services
Review users, security and changes
Teach and preserve the method
1. Begin with a small job that can be tested
Kenji prepares fictional activity kits containing two activity sheets, one folder and three question cards per complete kit. He wants a quick way to calculate the number of complete kits possible from available materials and the shortfall against a planned number. A spreadsheet or simple calculator could support this repetitive arithmetic.
The job is deliberately bounded. It does not purchase supplies, access a real inventory system, store participant details or make commitments to learners. It calculates a theoretical quantity from the values entered. That distinction helps make the first version useful without expanding its risk unnecessarily.
Start by describing the problem in ordinary language. If AI proposes a large website, database or automation service before the basic calculation is established, return to the intended result. A small tool can be a meaningful projection of intelligence when it solves a real recurring problem with a checkable operation.
2. Decide whether a new tool is worth building
A spreadsheet calculation, a written method or an existing approved tool may already answer a modest question. Building a new application creates responsibilities for testing, maintenance, access and correction. Do not assume that a custom tool is more efficient simply because an AI can generate an attractive interface quickly.
Kenji first calculates the capacity by hand. If the calculation is infrequent, a written method may be adequate. If several people repeat the same operation with changing quantities, a carefully checked spreadsheet may reduce arithmetic and interpretation errors. A more elaborate digital interface is worth investigating only if it solves a meaningful additional difficulty.
The UK Government Digital Service’s prototyping guidance describes using prototypes to explore and test designs before committing to full development. This public-service context differs from the fictional learning-room task, but the broad principle is useful. Choose the simplest representation that can test the idea.
Contents · Previous chapter · Next chapter
3. Separate the problem specification from the implementation
A specification describes what the tool should do. An implementation is the spreadsheet formula, code or configuration that attempts to perform that specification. These are distinct. A generated explanation can describe the correct rule while the actual implementation uses the wrong input or handles a boundary incorrectly.
Kenji’s specification begins with four inputs: available usable activity sheets, available usable folders, available usable question cards and planned number of complete kits. All four must be known nonnegative whole-number counts. The calculator returns the maximum theoretical number of complete kits and the shortfall against the plan. Unknown or invalid inputs should produce a clear error rather than a misleading number.
This is an everyday application of eduKate’s proposed Vocabulary Coding and Engineering. A precise description of meaning and relationships can be translated into a working tool, but translation needs verification. Do not assume that the model’s chosen formula establishes the intended meaning.
Contents · Previous chapter · Next chapter
4. Define the input units and boundaries
Available usable sheets means a count of physical sheets that meet the specified fictional kit requirement, not the number of printed pages, an expected delivery or a supplier’s promised stock. Folders and question cards have their own units. A planned kit count is a target, not a confirmed commitment or actual output.
The specification requires nonnegative integers. A zero is a valid observation of no available items or no planned kits. A blank means the value has not been supplied. A negative quantity or a fractional item count is invalid for this simplified task. The real inventory process may use different rules for reserved, damaged or incoming materials; these are outside the first tool’s scope.
Ask AI to list the meaning, unit, permitted values and treatment of missing input for each field. Review the list before generating a formula. An ambiguous field label is a common way for a correct calculation to answer the wrong question.
| Input | Unit | Valid value |
|---|---|---|
| Usable sheets | Physical sheets | Known integer, 0 or greater |
| Usable folders | Folders | Known integer, 0 or greater |
| Usable cards | Cards | Known integer, 0 or greater |
| Planned kits | Complete kits targeted | Known integer, 0 or greater |
Contents · Previous chapter · Next chapter
5. Define the rule in plain language first
Each complete kit needs two sheets, one folder and three cards. Divide the usable sheet count by two and keep only whole kits. The folder count already gives the number of kits that folders can support. Divide the card count by three and keep only whole kits. The maximum possible number of complete kits is the smallest of those three quantities.
The planned shortfall is the planned count minus the maximum complete kits if the planned count is greater; otherwise the shortfall is zero. For the simplified case, all required items are interchangeable within their category and are not already allocated to other activities. No additional labour or other resource constraint is included.
Write the rule so a reader can reproduce it without trusting the generated tool. A formula for capacity is useful because it expresses the relationship between the required components and the available stock. It does not establish the suitability of actual materials or whether the kits have been assembled.
Contents · Previous chapter · Next chapter
6. Build the fictional hand-check case
Kenji chooses 50 usable activity sheets, 16 usable folders and 57 usable question cards, with a plan for 20 complete kits. Fifty sheets can support 25 complete kits at two sheets each. Sixteen folders support 16 kits. Fifty-seven cards support 19 kits at three cards each.
The minimum of 25, 16 and 19 is 16. The maximum theoretical capacity is therefore 16 complete kits under the stated assumptions. The shortfall against the planned 20 is four. After assembling 16 complete kits, the simplified material remainder would be 18 sheets, zero folders and nine cards, assuming no losses or other uses.
These calculations are invented for teaching and can be checked by hand. Record the expected outputs before asking AI to implement the tool. If the generated answer is different, you need a reliable basis for identifying the discrepancy.
| Material | Stock | Required per kit | Complete kits supported |
|---|---|---|---|
| Activity sheets | 50 | 2 | 25 |
| Folders | 16 | 1 | 16 |
| Question cards | 57 | 3 | 19 |
| Capacity | — | Minimum | 16 |
| Shortfall against 20 | — | 20 minus 16 | 4 |
Contents · Previous chapter · Next chapter
7. Choose a format appropriate to the actual task
A paper worksheet can test the field labels and calculation before any software is created. A spreadsheet can implement the rule and make changed inputs easy to inspect. A small web interface may be useful when the tool needs to guide users through an interaction, but it creates additional work around accessibility, software security, delivery and maintenance.
Kenji chooses a spreadsheet for the fictional calculator because the calculation is small, deterministic and does not require network services. That choice does not establish that every spreadsheet program or file is secure, compatible or accessible. Check the actual tool and environment before using it.
A beginner should not feel compelled to use a more complicated technology to benefit from AI. Ask the assistant to explain how each proposed format serves the job and what additional responsibilities it creates. Select the simplest suitable format rather than the most impressive demonstration.
Contents · Previous chapter · Next chapter
8. Lay out the first worksheet
In the worked example, enter the input labels in cells A2 to A5: usable sheets, usable folders, usable cards and planned kits. Enter the example counts in B2 to B5. Label A6 theoretical complete-kit capacity and A7 planned shortfall. The values in B6 and B7 are calculated outputs, not places to enter additional stock counts.
A user should be able to recognise which cells they can change and which results are derived. Include the recipe of two sheets, one folder and three cards near the input area. The output should state that it assumes the recipe and valid usable-stock counts. Do not rely only on colour to explain the distinction between inputs and outputs.
In a real shared workbook, consider appropriate access control and protection of formula cells through the actual spreadsheet’s documented features. Keep a suitable editable original and a reviewed version. The example does not require connecting to an inventory service or entering private information.
| Label cell | Input or output cell | Example value |
|---|---|---|
| A2: Usable physical sheets | B2 | 50 |
| A3: Usable folders | B3 | 16 |
| A4: Usable question cards | B4 | 57 |
| A5: Planned kits | B5 | 20 |
| A6: Theoretical complete-kit capacity | B6 | Calculated: 16 |
| A7: Planned shortfall | B7 | Calculated: 4 |
Contents · Previous chapter · Next chapter
9. Implement the capacity formula
For this teaching example, one possible formula for B6 is shown below. It first requires all four inputs to be numeric according to the spreadsheet’s COUNT function, then checks that the minimum is nonnegative and that each input equals its integer value. If those conditions are satisfied, it takes the minimum of whole-kit sheet capacity, folder capacity and whole-kit card capacity.
The formula assumes a spreadsheet environment supporting these common functions and the displayed argument syntax. Some environments use different list separators or function names. It is intended as a transparent worked formula, not a tested downloadable workbook. Check its actual behaviour in the program you use. A number formatted or interpreted differently by the spreadsheet may require additional input controls.
For B7, use a separate formula that returns the nonnegative difference between the target and calculated capacity when B6 is numeric. Otherwise display a message to check the inputs. Keeping capacity separate from shortfall helps a reader inspect the two operations independently.
B6 — theoretical capacity, after input checks
=IF(COUNT(B2:B5)<>4,"Check inputs",IF(OR(MIN(B2:B5)<0,B2<>INT(B2),B3<>INT(B3),B4<>INT(B4),B5<>INT(B5)),"Check inputs",MIN(INT(B2/2),B3,INT(B4/3))))B7 — planned shortfall
=IF(ISNUMBER(B6),MAX(0,B5-B6),"Check inputs")
Contents · Previous chapter · Next chapter
10. Check missing and invalid inputs deliberately
A blank stock count must not silently become zero. Zero means the value is known and no items are available, whereas a blank means the count is not established. For the fictional calculator, both an omitted count and a text value such as unknown should produce a check-inputs message. Negative and fractional counts are invalid.
The formula’s checks are a starting point. Spreadsheet behavior can be affected by formatting, copied values, errors, locale and application differences. Test dates or other values that might be represented internally as numbers if that is relevant to the real input environment. Use suitable validation and instructions; do not claim that a small formula prevents every unsuitable input.
Ask AI to identify what invalid inputs the formula handles and which cases may require further review. Then test the actual workbook. The expected output of an invalid case should be a clear unresolved state, not an invented estimate that appears ready for use.
Contents · Previous chapter · Next chapter
11. Test normal and boundary cases before sharing
Prepare several cases with expected results. With 50 sheets, 16 folders and 57 cards, planned 20, the capacity is 16 and shortfall four. With zero folders, capacity is zero regardless of other available items. With five sheets, ten folders and 30 cards, the sheet constraint permits two complete kits, not two and a half.
With six sheets, three folders and nine cards, all three resource constraints permit exactly three kits. A target of three has no shortfall. A target of four has a shortfall of one. A target of zero is a valid input and yields zero shortfall, even if the stock could support more kits. These cases inspect several relationships rather than simply repeat the first example.
Record the expected answers before using the tool and compare them with the actual results. The guide on diagnosing repeated AI mistakes discusses why changed conditions and independently established answers help identify a fault.
| Sheets | Folders | Cards | Plan | Expected capacity | Expected shortfall |
|---|---|---|---|---|---|
| 50 | 16 | 57 | 20 | 16 | 4 |
| 50 | 0 | 57 | 20 | 0 | 20 |
| 5 | 10 | 30 | 3 | 2 | 1 |
| 6 | 3 | 9 | 3 | 3 | 0 |
| 6 | 3 | 9 | 4 | 3 | 1 |
| 50 | 16 | 57 | 0 | 16 | 0 |
| Blank | 16 | 57 | 20 | Check inputs | Check inputs |
| 50 | -1 | 57 | 20 | Check inputs | Check inputs |
| 50 | 16 | 57.5 | 20 | Check inputs | Check inputs |
Contents · Previous chapter · Next chapter
12. Test the delivered artifact, not the explanation
AI may say that it has created a working spreadsheet, app or formula, but the relevant evidence is the actual delivered artifact and its observed behaviour. If it supplies only code or a description, the tool has not necessarily been executed. Distinguish a proposed implementation, an implementation saved to a file and an implementation that has passed specific tests.
Kenji enters the fictional test values in the actual spreadsheet, compares the displayed capacity and shortfall with the independent answers and records the observed result. He also checks whether a blank or invalid value produces the intended message. If the application rejects the formula or shows an unexpected error, he investigates that actual result instead of assuming the formula works everywhere.
For a beginner, a test record can be simple: input, expected output, actual output and pass or unresolved. For consequential systems, a more rigorous approach may be necessary. A model-generated statement of successful testing is not a substitute for observable execution evidence.
Contents · Previous chapter · Next chapter
13. Understand why the limiting quantity matters
A common error would be to add the three material capacities together, or take the largest of them. A complete kit requires all three types of material. Under the fictional recipe, 25 sheet-supported kits, 16 folder-supported kits and 19 card-supported kits do not produce 60 complete kits. The smallest resource capacity limits complete output.
The relationship also changes when the stock changes. If the folder count increases from 16 to 22 while the other counts remain 50 sheets and 57 cards, the capacities become 25, 22 and 19. The maximum rises only to 19 because question cards become the limiting item. This changed case checks whether the tool applies the underlying minimum relationship rather than simply repeating the previous result.
Ask AI to explain the constraint in plain language and include it as an optional output if useful. A tool that reports only a number may be less useful to a beginner who needs to know which resource to investigate. Check the explanation against the actual calculation.
Contents · Previous chapter · Next chapter
14. Distinguish possible capacity from completed production
The calculator reports a theoretical maximum under a stated recipe and available-material counts. It does not establish that anyone has assembled the kits, that the materials are actually suitable, that enough labour is available or that the planned activity can proceed. The tool’s output must be labelled accordingly.
If 16 is displayed as kits ready, the label would make a stronger claim than the calculation supports. The fictional inventory might permit 16 kits while none has yet been assembled. A separate observed count would be needed to establish completed kits. Do not use the theoretical capacity as a public promise.
This distinction illustrates the importance of output language. The companion article on resource estimation distinguishes calculation from actual resources and commitments. Here the tool should preserve that distinction in its interface and any exported report.
Contents · Previous chapter · Next chapter
15. Ask AI for the smallest useful implementation
Reusable prompt: Build a small prototype for the stated calculation using the supplied fictional inputs. First restate the goal, unit definitions, valid values, calculation rule and output labels. Then provide the simplest implementation that fits the intended environment, with an explanation of each calculation and independent expected test cases. Do not invent live data, permissions, deployments, external services or successful execution. Keep the prototype isolated from real accounts and consequential actions. Identify any limitations and what needs human review.
If the assistant supplies code, ask it to explain what the code reads, changes, stores and communicates externally. A beginner should not run unfamiliar code with access to important files, credentials or real systems merely because it was generated by an AI. Use a suitable restricted or reviewed environment and appropriate technical help.
The prompt expresses intent. It does not guarantee that the generated implementation is correct, safe or suitable. The acceptance conditions and actual verification remain essential.
Contents · Previous chapter · Next chapter
16. Keep early prototypes separate from live services
A prototype is a representation used to explore and test an idea. It may contain incomplete security, accessibility, performance, error handling or maintenance features. A production system is intended for actual use under its real requirements and must be evaluated accordingly. The distinction matters even if the prototype looks polished.
The GOV.UK guide to making prototypes explicitly distinguishes prototyping code from code suitable for a live service. Use the broad principle here: fictional data and a restricted test setting allow useful exploration without assuming readiness for production. A successful demo is evidence about the cases demonstrated, not a certificate of operational readiness.
Kenji’s calculator can be evaluated as an ordinary local example. It does not need a database, public deployment or integration with participant records. If the tool later requires those things, the scope and required review change substantially.
Contents · Previous chapter · Next chapter
17. Review security and information boundaries before adding features
Adding a connection to a real inventory system or the ability to send messages introduces new responsibilities. Determine which information is necessary, who may access it, what changes the tool may make and how its actions are reviewed. Do not include credentials or private records in generated examples or publicly shared code.
NIST’s Secure Software Development Framework, version 1.1 describes high-level secure-development practices intended to reduce vulnerabilities and address their causes. It is a professional framework, not a short checklist that certifies a beginner’s application. The relevant broad lesson is that security requires deliberate development and review throughout the software lifecycle.
For the fictional local calculator, avoid unnecessary external connections. If the project becomes a real application, seek appropriate technical support and establish actual security, privacy and operational requirements. The earlier guide on minimum necessary information provides a complementary boundary-first approach.
Contents · Previous chapter · Next chapter
18. Make the tool understandable and accessible
An ordinary tool should clearly identify its purpose, the unit of each input, how to resolve an error and what the output represents. If using a web interface, provide meaningful labels and suitable instructions for the input fields. Check that the relevant information remains understandable without relying exclusively on colour or a particular visual layout.
Kenji’s first user might not know whether the input for sheets is document pages or physical pieces of paper. The label usable physical sheets, with the stated recipe nearby, helps protect meaning. A blank field should lead to a message that identifies the missing or invalid inputs clearly enough to guide correction.
The UK government’s accessible documents guidance supports clear structure and understandable document design. Those broad ideas do not establish that a particular worksheet or app meets accessibility standards. Test the actual format with suitable users and obtain specialist review where needed.
Contents · Previous chapter · Next chapter
19. Observe someone using the tool
Ask a willing user to complete a fictional task without being told the result in advance. Give them the stock counts and ask them to calculate the number of complete kits and the shortfall. Observe whether they enter the right units, understand which values are derived and recognise an invalid input message.
Then ask the user whether the result proves that kits have been assembled. If they answer yes, the tool’s description may be misleading even if its arithmetic is correct. A useful test concerns the meaning and action as well as the number. Record any task-specific assistance separately.
The companion guide on building decision aids explores understandable consequences and preserving user choice. This calculator is a smaller example of the same principle: the interface should help a person reason, not obscure the conditions behind an output.
Contents · Previous chapter · Next chapter
20. Plan for a changed recipe rather than hiding assumptions
Suppose the group later adopts a different fictional kit requiring three sheets instead of two. The original formula would no longer calculate the new capacity correctly. With the original stock counts, the sheet-supported quantity becomes floor(50/3), or 16, while folders support 16 and cards 19. The capacity remains 16 in this case, but the changed rule matters for other inputs.
Use a test that reveals the changed dependency. If 51 sheets, 30 folders and 90 cards are available, the two-sheet recipe permits 25 kits while the three-sheet recipe permits 17. A passing test on the original example alone would not show whether the recipe had been updated. Record the current recipe and test cases that distinguish the two versions.
If the tool needs to support several recipes, create an explicit, validated configuration rather than silently editing many formulas. Review the expanded input rules, including how to handle zero or invalid per-kit requirements. The original simple calculator assumes fixed positive requirements; a configurable version is a new problem.
| Input case | Original 2-sheet recipe | New 3-sheet recipe |
|---|---|---|
| 50 sheets, 16 folders, 57 cards | 16 kits | 16 kits |
| 51 sheets, 30 folders, 90 cards | 25 kits | 17 kits |
Contents · Previous chapter · Next chapter
21. Preserve a manual fallback and review route
A small calculator should not become the only place where the calculation is understood. Retain a short description of the rule and one worked example. If a formula is broken, a user can check the quantities manually or use an appropriate alternative. If a result is unexpected, establish who can review it.
The fictional learning-room group may use the spreadsheet for planning, but its approved stock record and actual preparation process remain separate. If a file is unavailable, the group can calculate from authorised current counts using the same rule. Do not rely on an old stock figure when the current quantity has not been established.
The previous guide on working with limited AI access explains why preserving useful local state can help a person continue appropriate work. The manual fallback is a modest way to retain knowledge independently of one interface.
Contents · Previous chapter · Next chapter
22. Maintain a small specification and test record
The useful documentation for a tool includes its intended purpose, input meanings, calculation rule, output scope, version, known limitations, test cases and a review owner. It does not need to reproduce every AI conversation. A new person should be able to identify how to use the tool and how to check whether an important result is correct.
When the recipe or validation rule changes, retain the relevant previous test evidence and establish a new version. Test the actual updated implementation, including ordinary cases and the cases that distinguish the changed conditions. Do not claim that old verification automatically covers the new behavior.
The earlier guide on reusing verified solutions explains how to preserve applicable relationships while reviewing changed assumptions. A small tool becomes more reusable when its purpose, dependencies and limits are visible.
Contents · Previous chapter · Next chapter
23. Teach a learner to build the next tool
Give a learner the fictional kit recipe and stock counts, then ask them to calculate capacity before seeing a formula. Next ask them to express the rule in a short specification and create several expected tests. Only then use AI to propose an implementation. Compare the actual results with the independent expectations.
Change the task to preparing fictional craft sets that require a different combination of materials. Ask the learner to identify the per-set requirements, units, valid values and limiting quantity. They should not copy the original numbers. A learner demonstrates transferable capability by preserving the relationship while checking the new conditions.
AI can help a person who is not yet a programmer begin to describe and test useful logic. Building dependable software for more consequential purposes requires additional knowledge, support and review. Treat the exercise as an entry into practical reasoning and tool design rather than proof of software-engineering competence.
Contents · Previous chapter · Next chapter
24. Connect tool building across zoom levels and time
At word level, define usable stock, target and theoretical capacity. At task level, connect the inputs to the calculation. At individual level, help the reader inspect and understand the result. At team level, assign ownership of the current recipe and verification. At institutional level, address data handling, security, maintenance and review as the tool’s scope grows.
Across society, AI may help more people turn ideas expressed in language into useful working artifacts. The benefit depends on whether the resulting tools actually perform the intended jobs, preserve understandable conditions and remain safe and maintainable. A large number of generated applications is not equivalent to a large amount of dependable capability.
The eduKate Z-layer research proposal concerns stable references for adopted meanings. Ztime asks whether later readers can reconstruct the relevant definitions and conditions. A new recipe changes a rule, not necessarily the meaning of a physical sheet. Preserve appropriate version history while respecting privacy and retention requirements.
Contents · Previous chapter · Next chapter
25. Four weeks of building and checking a small digital tool
Week one: choose a modest low-risk problem, describe its intended result and define every necessary input, unit and condition. Calculate a few expected examples by hand. Week two: ask AI for the simplest suitable prototype. Use fictional inputs, inspect the formulas or code with appropriate help, and test ordinary, boundary and invalid cases in the actual environment.
Week three: ask suitable users to try the task and explain the output. Record errors, confusion and limitations. Revise and rerun relevant tests. Week four: document the current version, provide a suitable fallback and decide whether the result remains a prototype or requires more professional development and review before actual use.
This is a proposed beginner exercise, not a validated software-development process or a security certification. The eduKate EnDist concept is a lens for usable forward motion after misunderstanding and rework, not physical energy or a validated universal score. A checked tool may save useful effort when it actually meets its purpose.
Contents · Previous chapter · Next chapter
26. Questions beginners ask and the next useful step
Can AI build a tool if I cannot program? It can help propose formulas, code and prototypes, but somebody must understand the intended result and appropriately verify the actual artifact. Does a successful test prove the tool works for every input? No. It establishes only the tested behavior. Can I publish an AI-generated prototype immediately? Do not assume readiness; assess security, data, accessibility, maintenance and other relevant requirements first.
The GOV.UK prototype guide and NIST SP 800-218 version 1.1 support particular principles about prototype separation and secure development. The kit example and its calculations are fictional; no live application, real workbook, completed software test or security certification is claimed.
Begin with one repetitive calculation you can already explain. Write its expected result, ask AI to help express the rule in a small tool, and check a new case independently. That is a concrete first step from a thought expressed in language to a useful capability you can inspect.
Contents · Previous chapter · Explore reusing verified solutions
