liveBook · Manning

Step-by-step process

As explained in AI for Everyday IT

A step-by-step process is a procedure that performs a task through an ordered sequence of progressively focused stages.

A step-by-step process performs a task through an ordered sequence of increasingly focused stages. Start broadly, narrow the request, verify each result, and revise before continuing. section 6.1.2

Use the process to keep complex AI-assisted work manageable:

  • Begin with the broad task, then ask focused follow-up questions. section 6.1.2
  • Work on one file or one requirement at a time when combined instructions cause errors. section 12.2.2
  • Break large conversions into focused passes, then perform a final cleanup and formatting pass. section 12.2.5
  • Verify every result and correct mistakes with follow-up prompts. section 6.1.2
Describe "Get-DbaDatabase" -Tag "UnitTests" {
    BeforeAll {
        $command = Get-Command Get-DbaDatabase
        $expected = $TestConfig.CommonParameters
        $expected += @(
            "SqlInstance",
            "SqlCredential",
            "Database",
            "Confirm",
            "WhatIf"
        )
    }
    Context "Parameter validation" {
        It "Has parameter: <_>" -ForEach $expected {
            $command | Should -HaveParameter $PSItem
        }

        It "Should have exactly the number of expected parameters" {
            $hasparms = $command.Parameters.Values.Name
            Compare-Object -ReferenceObject $expected `
            -DifferenceObject $hasparms | Should -BeNullOrEmpty
        }
    }
}

A concrete converted test shows how focused requirements become organized setup, validation, and assertions. section 12.2.2

How AI for Everyday IT covers it

How deep it goes
Demonstrates ordered passes, file-size limits, verification, and prompt refinement, but does not develop formal process theory.
Examples
Uses incident-report queries, Pester migrations, nine-pass conversions, and a converted test file.
What it assumes
Assumes a task or document to process and teaches staged prompting from broad requests toward specific changes.
What you can do after
Apply it via focused prompts, staged file processing, result verification, and iterative corrections.
How it connects
Connects prompt engineering, document processing, verification, prompt caching, and software testing.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of AI for Everyday IT. The section links point to the parts of the book it draws on.