Prompt Engineering via Prompt Patterns — Outline Expander Pattern
The article is part of series: Prompt Engineering via Prompt Patterns
You can switch to video version of this article
Free AI web copilot to create summaries, insights and extended knowledge, download it at here
3572
Abstract
her and place a giant bow in the middle of it.</p><p id="962f">Here’s a couple examples of competitive cheerleaders’ hair:</p><figure id="6d16"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/0*7N7vUjaPaVN8IJDF.jpeg"><figcaption>Photo by Molly Evans on Instagram @ice.molly.</figcaption></figure><figure id="bfa0"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/0*vc6JSJIljuucYhab.jpeg"><figcaption>Photo by @addishaw on Instagram.</figcaption></figure><p id="2e0f"><b>2. Uniform</b></p><p id="600f">Competitive cheerleaders typically do not use pom poms.</p><p id="a6b9">And uniforms are custom made for each person. They are quite expensive, running parents around $500 on top of all the other expenditures <i>(which is another topic)</i>.</p><p id="f92b"><b>3. Music</b></p><p id="8913">Each cheer team has their own, unique song. Cheer music is not something you’d want to listen to on a daily basis. Like Latino music, it all sounds slightly similar, is largely repetitive, and must be played loudly to be fully appreciated.</p><p id="9bd8">The music reminds me of being stuck inside a video game. It’s a combination of eclectic, electronic sounds that approximates something like announcers’ voices, lightsabers, springs in a cartoon and a band of angry drummers all blended into one.</p><p id="f820"><b>4. Cheer Moms</b></p><p id="9f93">No matter where you go, cheer moms often look like they stepped off a plane from Dallas. They typically have long, wavy hair, tight jeans or leggings and have several things in common including a love of glitter, sequins and being a cheer mom.</p><p id="df02"><b>5. Cheer Dads</b></p><p id="891e">Cheer dads can be more enthusiastic than cheer moms. They often wear wigs and sequined jackets in their daughter’s team color.</p><p id="002a">This is a more mild example of a cheer dad.</p><figure id="8a66"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/0*WTYrg3m31PJ5p4Qc.jpeg"><figcaption>Photo of cheer dad taken by author at NCA.</figcaption></figure><p id="5b95"><b>5. Traditions</b></p><p id="6515">Competitive Cheerleading has some unique and special traditions.</p><p id="1cea">At a cheer competition, it’s common to see cheerleaders carrying brightly glittered backpacks, which are typically covered with decorated clothes pins, bows, medals, laminated photographs and other fun objects.</p><p id="cfc6">The clothes pins are anonymously clipped to a cheerleader’s backpack by another cheerleader. It’s a fun way to be nice and encourage each other, even if they are competitors.</p><p id="d53c">I’ve even received a clothes pin or two on my backpack.</p><figure id="56f9"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/0*HtlKypwJefJM5YqG.jpeg"><figcaption>Photo taken by author of cheerleader’s backpack at NCA.</figcaption></figure><p id="645a"><b>6. Lingo</b></p><p id="cb2d">There are some phrases that are unique to competitive cheer.</p><ul><li>Hitting zero — in most sports hitting zero would be a negative thing. In competitive cheer, however, it’s highly desired. Hitting zero means that your team did not have any major issues during competition, like your pyramid falling or someone losing a shoe.</li><li>Having good facials — I can’t think of another sport where you not only have to perform your best at a high level of technical skill and physical endurance, but you must also smile enthusiastically while doing it.</li><li>Teams are judged on having “good facials”, meaning the more exuberantly you smile, make your movements, and express y
Options
ourself to the judges, the higher your score will be.</li></ul><p id="d4fa"><b>7. Receiving Cheer</b></p><p id="16d3">In traditional cheerleading, the cheerleaders cheer for a team, typically a men’s team. In competitive cheerleading, throngs of people cheer for the cheerleaders.</p><p id="d67f"><b>8. Expense</b></p><p id="4c58">When I cheered at my schools, it didn’t cost my parents a dime. For parents of competitive cheerleaders, it’s very expensive.</p><p id="d08f">There’s usually a monthly tuition which runs several hundred dollars, the cost of the uniforms and warm up suits, and the cost of the trips <i>(airfare, hotels, entry tickets, meals, etc.)</i></p><p id="f899">Due to all these expenditures, it’s common to see cheer dads wearing t-shirts with phrases like “My Bank Account Just Hit Zero”.</p><p id="f13d">So, that’s all well and good, but is cheerleading a sport?</p><h2 id="daa6">Is Competitive Cheer a Sport?</h2><p id="a71a">That’s a lot of information about the traditions and norms of competitive cheerleading, but that doesn’t say much about the activity itself.</p><p id="71fa">When competitive cheer teams are judged at a competition there are many categories in which they can receive points. There are several aspects of competitive cheer which participants need to be good at including stunting, tumbling, jumps and dance.</p><p id="eedf">According to the Varsity web site here is how cheerleaders are scored:</p><blockquote id="89e8"><p><i>“Judges will give scores for the execution/technique and difficulty of partner stunts and pyramids. (They) will be looking at standing/running tumbling, jumps/dance and overall impression.”</i></p></blockquote><p id="7bcb">If you are still wondering what competitive cheer is and if it should be considered a sport, here is a short, two-minute video of one of the top cheer teams performing. It shows the level of skill, exertion, and skill that this activity requires.</p> <figure id="975e"> <div> <div> <img class="ratio" src="http://placehold.it/16x9"> <iframe class="" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F57vAiyV4t00%3Fstart%3D91&display_name=YouTube&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D57vAiyV4t00&image=http%3A%2F%2Fi.ytimg.com%2Fvi%2F57vAiyV4t00%2Fhqdefault.jpg&key=a19fcc184b9711e1b4764040d3dc5c07&type=text%2Fhtml&schema=youtube" allowfullscreen="" frameborder="0" height="480" width="854"> </div> </div> </figure></iframe></div></div></figure><p id="1179">One of the teams that performed at NCA flew all the way to Texas from Japan to participate. Their team was named the “Shockers”.</p><p id="6d0f">I think Shockers is a great name for a cheer team because I’m perpetually in shock and in awe of what competitive cheerleaders can do. And I’m not sure why there’s ever a debate whether competitive cheerleading is a sport.</p><p id="0dcf">Now it’s time for Unsplash and Pexels to get on board and post some real photos of competitive cheerleaders. After all, I think even my grainy, amateur photo <i>(below)</i> from the back row of the arena is more interesting than a photo of an unused tennis racket.</p><figure id="a4c4"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/0*ZlUGd4IrfvkdE4up.jpeg"><figcaption>Photo taken by author at NCA Dallas 2024.</figcaption></figure><p id="433c">What do you say, y’all? Do you think competitive cheerleading is a sport?</p></article></body>
The article is part of series: Prompt Engineering via Prompt Patterns
You can switch to video version of this article
When we talk about content generation, we are usually talking about stories, movie or tv series plots, articles, books, research papers and what not. Sometimes we just open up our favorite editing software and start typing, but most people take a more formal approach, think through the entire ‘content’ from start to finish. Note I am going to use the word content to mean all the examples of content I mentioned earlier.
More often than not, such content has a pre defined structure or pattern to it. Like most stories would start out by introducing the environment or setting followed by introducing the characters, then a problem, then the struggle followed by climax. If it is a tv series, it would break down these steps into multiple episodes or seasons, where initial ones would introduce the characters and then following episodes would introduce a problem and struggle where each episode can be fully independent or sometimes a global theme or a super story flows from starting season/episode to the end with filler episodes primarily being semi independent of overall plot, but nudging the overall theme forward. I just took a story or season example, but take any kind of content, and it helps to define an overall theme or structure for the overall content, sort of define an outline and then fill each of the parts individually with content.
By outline I mean a sort of hierarchy. If you have used Microsoft word for instance, it allows you to generate a table by using heading types as hierarchy. Your html document has H1, H2 headings to let you break down the content into a hierarchy. You can generate an outline for almost any content of any type. And if that is true for most content, the converse should also be true that you should be able to generate any content starting with a hierarchy, or outline. This lets you be in total control of flow of content from start to finish, and gives your readers a much more engaging experience right until the end. Anyone who enjoys watching tv series must have had a rub with horrible and distasteful endings, primarily because the authors never imagined their series to run for the number of seasons it did, or the scare of series being cancelled being on their mind, so the final seasons or episodes are aired much after the expiry of original outline. I just want to highlight how important original outline of any content is before jumping to our pattern.
So right on cue, lets introduce the Outline Expansion pattern. We already covered the main idea so no surprises here. To generate any content, we start by picking up a topic, and then then generate a breakdown of that topic into headings or bullet points like coming up with a title of a book, followed by names for each chapter in the book. We can continue expanding further but let’s just stop ourselves here for a second. The concept of this pattern is to give you tools to write content by focusing on one part of the outline at any given time. You start with topic, then you concentrate on generating subheadings or constituent parts for that specific topic, then you pick one specific subtopic and repeat the whole thing or just generate the contents for that subtopic. Its kind of like growing a tree, where on each decision point, you decide whether to grow a branch, or a leaf and go no further. The interesting bit is that you are spared most of this effort by large language models like ChatGPT as they are able to generate subtopics for almost any topic you provide them, until of course you are working on something really new. They can even generate subtopics for each bullet point and content for these for you.
To use this pattern, you need to use a prompt like below, and note how multiple prompt patterns are used here to make up the prompt below
Act as an outline expander
Generate a bullet point outline based on the input that I give you, and then ask me for which bullet point you should expand on
Create a new outline for the bullet point that I select
At the end, ask me for which bullet point to expand next
Ask me for what to outline
This is it, we used persona pattern to tell ChatGPT that it is an outline expander which configures it to work with outlines where possible, and it would neatly and implicitly try to use outlines from now on. Then we ask it to generate a bullet point outline based on the topic you provide, say our solar system and it should neatly come up with 8 or 9 bullet points numbered 1–9. Note that it was a closed and predictable example topic. But for other topics, say animals found in XYZ country, the list could be potentially endless if not categorized correctly, so you should be able to intervene with explicit instructions like each bullet can have at most 3–5 sub bullets. This is followed by instruction to ask you which bullet point to expand. This is meant to stop the model from being over efficient and start generating content for first item. You need to be in control of what it does.
Next you instruct it to create a new outline for the bullet point that you select. Now you can specify the bullet point by number, and then it is smart enough to generate sub bullets in the format 1.3 or 3.5 to make it easier for you to specify which bullet point anywhere in the outline you are referring to. Note you are not constrained to use the numbering system ChatGPT starts using. In the initial prompt, you can introduce instructions to use a particular numbering system like the bullets should be numbered using the pattern followed by the pattern like roman numbers, alphabets etc.
Next you tell it to generate outline for the bullet point that you select and in the end asking you which bullet point to generate content for. Now in this example prompt, you are defining the entire outline before you would start to generate content, so it would expect you to keep prompting you with which bullet point to expand next, until you respond with generate content or write text for bullet 1.3.2.
You can add a further instruction to the prompt to be able to generate content for any bullet point in the outline easily. You can add an instruction like Whenever I type write
Note the BulletPoint placeholder is referring to the bullet point number like 3.1.2 or something, while paragraphs is the count of paragraphs to generate. Again this is a guideline and you can add further instructions using format like above to add further instructions to the model to configure the model as per your desire.
Its techniques like these which can be used to configure the model in a host of situations, not specific to our outline expander pattern. The entire purpose of our prompt patterns and prompt engineering series is to equip you with tools to configure large language models in the most creative ways possible. You should consider these techniques as examples to use in your unique situations which we obviously can’t even begin to cover. Important point is, you should strive to never write a prompt the novice way again once you have learnt patterns like this one.
Coming back to outline expander pattern, note though that the list of topics or subtopics it generates might not be what you expected, and you might need to instruct it to modify it according to your expectations iteratively. You can do this by asking it to add further topics you provide to bullet 3.2 or instruct it to classify the list of topics differently like for the animals examples I used, you can instruct it to classify them using biological families or something. Similarly for the planets example, you can instruct it to add number of moons to your subtopics list for each planet.
Another issue to keep in mind is that there is a memory limit of large language models and after sufficient content generation, if you ask it to create outline for say 1.2 after working on 1.x for a while, it might have forgotten about it. Faced with such a rare situation, you still have an option. First off you can watch the memory and context related videos on our channel to be aware of what I mean by memory limits of LLM. Secondly, you need to handle it just like talking with a human. You need to remind the model about the context. So if you were copy pasting the outline to a word editor, paste the relevant list of topics back to the model via prompt. And to be able to do that, keep the outline separate from content in your editor. Once ‘reminded’ with the relevant section of outline, the model would start following your instructions like before.
Few minor potential issues aside, Isn’t this pattern cool? You are in full control of your content generation and can copy paste generated content into your favorite word editor after you have your ‘table of content’ defined first. Starting with a satellite view, to bird’s eye view to immersive experience. Systematic, coherent, and controlled flow of content achieved with such a simple prompt. Level up your expectations as once this article goes viral, bad content would be a thing of the past.
I should better get out of my overly optimistic day dream and let you off to focus on writing amazing content using outline expander pattern 😊 If you liked the article, please clap and share. You can consider subscribing to our YouTube channel as well. Thank you!!!.
