Logic design engineering

From samarv/Shanon · View interactive version

Logic design engineering is an AI agent skill from the GitHub repository samarv/Shanon. Transition from manual code syntax writing to high-level intent specification. Use this when building software with AI-native tools (like Cursor), managing AI-generated codebases, or shifting an engineering team's focus from "how to write" to "what to build.

How to use this skill

Skill file

Logic Design and Intent-Based Engineering

The "world after code" shifts the role of the engineer from a syntax writer to a "logic designer." Instead of painstakingly laying out symbols for a computer to execute, the engineer specifies intent, defines high-level logic, and applies "taste" to ensure the software works and looks exactly as intended.

Core Principles

1. Shift from "How" to "What"

In traditional engineering, "carefulness" (syntax accuracy, boilerplate management) is the primary skill. In logic design, "taste" is the primary skill.

2. High-Control Iteration

Avoid the "Chatbot Trap" (typing a vague prompt and hoping for the best). Maintain the driver's seat by using a "High-Frequency Loop":

The "Chop-and-Verify" Workflow

Michael Truell suggests that the most successful AI users avoid massive, single-prompt instructions. Instead, they use a "chopped up" approach:

  1. Specify a Micro-Task: Describe one small, logical change or a single component.
  2. Generate and Review: Let the AI write the code for that specific slice.
  3. Validate: Verify the logic immediately while the context is fresh.
  4. Repeat: Build the next layer of logic on top of the validated foundation.

Application Guide: Discovering Limits

To effectively use AI for logic design, you must develop a "gut feeling" for what the model can handle.

"Go for Broke" Stress Test

On a side project or safe environment, intentionally try to "fall on your face":

Developing Logic Taste

Examples

Example 1: Refactoring a Data Flow

Example 2: Building a New Feature with "Chop-and-Verify"

Common Pitfalls

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.