Ask an AI for a hat pattern and you can get a decrease row that goes from 48 stitches to 51. Fifty one. In a decrease row. That’s basically the whole problem in one sentence, and the rest of this guide is about stopping it happening to you.
What you’ll be able to do
By the end of this you’ll be able to get ChatGPT, Claude, or another mainstream assistant to draft a proper knitting pattern, one with standard abbreviations, a stitch count after every shaping row, and a construction that actually holds together mathematically. Not just something that reads like a pattern. One you can knit.
The AI does the drafting. You do the checking. That split doesn’t go away no matter how good the tool gets, so get comfortable with it now.
Before you start
Here’s the thing about AI and knitting patterns: the language model is good at pattern language. It knows what a pattern is supposed to sound like, the rhythm of “k2, p2” and “ssk, k1, k2tog,” because it’s seen thousands of them. What it’s less reliable at is the arithmetic underneath. Decreasing evenly around 60 stitches eight times, tracking exactly where you land after each round, making sure your final stitch count actually matches the crown of a hat rather than some number that just felt plausible… that’s where it slips.
This matters more than the wording does. A pattern with a slightly clunky instruction is annoying. A pattern with a broken stitch count is unknittable, and you won’t necessarily notice until you’re three inches into the crown wondering why your decreases don’t line up.
Gauge is the other non-negotiable. AI can ask you for your gauge, it can build a pattern around a gauge you give it, but it cannot know your gauge. Only a swatch can tell you that. If you skip swatching because “the AI already did the maths,” you’ve skipped the one step that makes the maths mean anything.
So the mindset going in: treat the AI as a fast first draft writer, not a technical editor. You’re still the technical editor. You, with a calculator and a bit of patience, checking a few rows by hand.
Get set up
Pick your tool. ChatGPT or Claude both handle this fine, they can write a pattern from a plain description (garment type, yarn weight, needle size, size or measurements) and they can hold a conversation while you refine it. Gemini and Copilot can do a version of this too, though ChatGPT and Claude tend to be more consistent when you ask for row-by-row stitch counts. Use whichever you already have access to; the workflow below works with any of them.
Before you open the chat, gather:
Your gauge, if you know it (stitches and rows per 10cm/4in, in the pattern stitch you’re using). If you don’t know it yet, that’s fine, you’ll swatch after the draft anyway.
Your yarn weight and roughly how much you have.
Your needle size, or the size you’d normally use for that yarn.
The measurements you’re aiming for, head circumference for a hat, length and width for a cowl, whatever applies.
Any construction preference, top-down or bottom-up, in the round or flat.
You don’t need all of this nailed down perfectly. Even “aran weight, 4mm needles, adult head” is enough to start. The AI will ask follow-up questions if it needs more, and that back-and-forth is normal, not a sign you’ve done something wrong.
Try it yourself
Start simple. A hat or a cowl, not a fitted cardigan with set-in sleeves. Simple shapes have fewer places for the maths to go wrong, and they’re quick enough to swatch and reknit if the first attempt is off.
Here’s a first prompt to get the actual pattern draft:
Write me a knitting pattern for a simple beanie hat, knit in the round from the brim up.
Yarn: worsted weight (aran), gauge 18 stitches and 24 rows per 10cm in stockinette.
Needles: 4.5mm circular and dpns for the crown.
Size: adult, to fit 56-58cm head circumference.
Use standard knitting abbreviations, and give the stitch count at the end of every
row or round where the count changes, especially through the crown decreases.
Once you’ve got a draft, don’t just accept it. Ask it to prove its own maths:
Go through the crown decrease section row by row and list the stitch count after
each round in a simple table: round number, action, stitches remaining.
I want to check the numbers add up before I knit it.
This is the single most useful prompt in this whole guide. Seeing the decreases laid out as a table makes errors jump out in a way that prose instructions (“k4, k2tog around”) don’t. If round 6 says 48 stitches and round 7 somehow says 51, you’ll spot it immediately rather than three inches into your actual knitting.
Third, once you’re happy with the shape, ask it to tidy up the presentation and flag anything borrowed:
Rewrite this pattern in a clean, standard format with a materials list, gauge note,
abbreviations key, and clearly numbered rows. If any part of this construction is a
well-known standard technique (like a specific heel or crown shaping method), say so
so I can credit it properly.
That last bit matters more than it sounds. A lot of “AI-generated” patterns are really just standard constructions (a classic pinwheel crown, a basic afterthought heel) dressed up in new wording. If you’re planning to publish or sell anything, you want to know when you’re using someone else’s well-established technique so you can credit it rather than pretend the AI invented it from nothing.
Check the result
Right, this is the bit people skip, and it’s the bit that actually matters.
First: knit the swatch. Not optional, not “I’ll do it if the pattern looks off.” Every time. Cast on enough stitches to measure a proper 10cm/4in square in the actual stitch pattern, block it the way you’d block the finished thing, then measure. If your gauge doesn’t match the pattern’s gauge, the finished size will be wrong even if every single instruction is otherwise perfect.
Second: check the stitch count table you asked for. Pick three or four rows scattered through the shaping, not just the first one, and do the arithmetic yourself. If a round says “k4, k2tog around” starting from 60 stitches, that’s 10 repeats of a 6-stitch group, each repeat losing one stitch, so you should land on 50. Does the pattern’s stated count say 50? If it says something else, that row is wrong, full stop, and you need to go back and ask the AI to redo it or fix it yourself.
Third: check the shape makes physical sense. A hat crown should decrease steadily to a small number of stitches (8, 12, somewhere in that range) that you can cinch closed. A cowl should end up the width and circumference you actually asked for. If the final numbers don’t resemble anything wearable, something upstream is broken even if each individual row looked fine in isolation.
Fourth: knit a small section for real, not just the swatch, but the first few inches of the actual project, and check it against the written instructions as you go. Row-by-row verification on paper is good, but nothing catches an ambiguous instruction like actually trying to follow it with yarn in hand.
If it doesn’t work
Sometimes the pattern is just wrong and no amount of rephrasing fixes it cleanly. When that happens, go back to basics: ask the assistant to recheck one specific section in isolation (“just the crown, rows 14 to 20”) rather than regenerating the whole pattern, which tends to introduce new errors while fixing old ones.
On privacy: don’t paste in anything you don’t need to. If you’re adapting a commercial pattern you’ve bought, don’t upload the whole PDF or copy out someone else’s copyrighted pattern text wholesale and ask the AI to “rewrite” it, that’s a copyright problem, not a knitting problem. Stick to describing what you want in your own words: the shape, the gauge, the size, the construction. That’s plenty of information for a good draft, and it avoids handing over content that isn’t yours to redistribute.
And the big one: never sell or publish an AI-drafted pattern that you haven’t tested yourself, start to finish, on real needles with real yarn. Test knitters exist for a reason. An untested pattern with a stitch-count error isn’t just embarrassing, it wastes someone else’s yarn and time. If the construction leans on a standard technique you didn’t invent, credit it, the same as you would in any hand-written pattern.
Keep exploring
If this has got you interested in what else these tools can draft to a brief, have a look at “How to get AI to create an image” for a similar checked, structured workflow in a completely different medium, or “How to get AI to write a poem” if you want to see how the same assistant handles something looser and less numbers-driven. And if you’re feeding a family from the same kind of yarn stash logic, “How to get AI to make a meal plan” covers the same “draft it, then verify it yourself” approach applied to food instead of fibre.
Sources and review notes
- Ravelry: https://www.ravelry.com/
Review date: 15 September 2026 — every source above was opened and checked against the text on that date.