Step 14: AI Instructions (2026 Guide)
Build the complete AI system instructions from all previous research data.
Every previous step in the pipeline — keyword research, SERP analysis, entity extraction, n-gram mining, LSI keywords, style rules, and SEO constraints — feeds into a single critical artifact: the AI Instructions block. Step 14 is where all that research becomes actionable directives for the AI writing model.
Think of the AI Instructions as the briefing document you'd give to the world's best copywriter before they begin writing. It tells them exactly what topics to cover, what words to use, what structure to follow, how long each section should be, what to avoid, and what the reader needs to walk away knowing. The more precise this briefing, the better the output. seorankar.com's AI Instructions step produces a 2,000–4,000 token instruction block that encodes more research than most human writers accumulate in days — compressed into a form that AI models can execute precisely.
What the AI Instructions Block Contains
The step14-aiinstructions.ts module assembles the instruction block in sections:
Role definition: "You are an expert SEO content writer with 10+ years of experience in [topic niche]. You write for [target audience] at [reading level] grade reading level."
Article objective: "Write a comprehensive [content type] article targeting the keyword '[keyword]'. The article must rank in Google's top 3 for this query."
Required entities: Full list of must-include and should-include entities from Step 7.
Required n-grams: Top 50 phrases from Step 8 that must appear at least once.
LSI keywords by section: Section-mapped LSI terms from Step 9 — "In the section about [topic], naturally include these terms: [list]."
Skip-gram vocabulary: Contextual vocabulary clusters from Step 10 to draw from when discussing each topic.
FAQ questions: Exact questions from Step 11 to answer in the FAQ section.
Grammar rules: Active voice, sentence length, prohibited phrases from Step 12.
SEO constraints: Keyword density, heading keyword requirements, meta description pattern from Step 13.
Outline: Full H2/H3 structure from Step 5 with word count targets per section from Step 6.
Output format: "Output valid HTML with semantic tags. Use `<h2>`, `<h3>`, `<p>`, `<ul>`, `<ol>`, `<table>`, and `<strong>` tags. Do not include `<html>`, `<head>`, or `<body>` wrapper tags."
Output of This Step
Complete AI system instruction block (2,000–4,000 tokens) encoding all research as actionable writing directives.
💡 Pro Tips
- →The instruction block is the most critical input to the AI — investing in its quality pays dividends across every article.
- →Specify the exact AI model's strengths in the role definition — GPT-4o responds better to "detailed technical instructions" framing; Claude responds better to "thoughtful editorial" framing.
- →Include a "do not" list alongside "must include" — negative constraints are as important as positive requirements.
- →Test the instruction block on a small section before running the full generation to validate that the AI is following all constraints.
Frequently Asked Questions
Q: How long is the typical AI instructions block?
Between 2,000 and 4,000 tokens (roughly 1,500–3,000 words of instruction text). This is intentionally substantial — the more precise the instructions, the higher the quality and on-target accuracy of the generated article.
Q: Does a longer instruction block produce better results?
Generally yes, up to a point. Beyond 4,000 tokens of instruction, diminishing returns set in and some AI models begin "forgetting" early instructions due to context window attention dilution. seorankar.com is tuned to stay in the 2,000–4,000 token optimal range.
Q: Can I add custom instructions on top of the generated ones?
Yes. The project JSON has a `customInstructions` field that appends your text to the generated instruction block. This is ideal for brand-specific requirements, disclaimers, or project-specific research not captured by the automated steps.
Ready to automate your SEO pipeline?
seorankar.com runs all 20 steps automatically — from keyword research to WordPress publish.