When Code Becomes a Language of Intent

Nan Wang

Hatched by Nan Wang

Jun 29, 2026

9 min read

58%

0

The real breakthrough is not automation, it is vocabulary

What changes more: writing another script, or discovering a new way to express what you want?

That question sounds small, but it points to a deeper shift in how we work with software. Most people think the value of coding tools lies in speed. Faster generation, fewer repetitive tasks, less boilerplate. But the more interesting possibility is that code can become a language of intent, a way to package expertise, repeat judgment, and make complex action callable on demand.

That is what happens when a project gains a custom command system. A task that used to live as a loose habit, a copied snippet, or a mental checklist can be turned into something named, stored, and repeatable. A file becomes an instruction. An instruction becomes a ritual. A ritual becomes a team capability.

This is not just convenience. It is a new layer between human intention and machine execution.


Why naming a task changes the task itself

There is a big difference between saying, “I should review this code carefully,” and creating a command that does the review every time. The first is a wish. The second is an asset.

A named command does three things at once. First, it compresses complexity. Instead of explaining the same multi-step procedure over and over, you capture it once. Second, it raises consistency. A repeatable action is less dependent on memory, mood, or context. Third, it turns expertise into infrastructure. The person who knows how to do the thing no longer has to be present every time the thing is done.

Think about the difference between a chef who gives verbal advice and a chef who creates a prep station. The advice helps for a moment. The prep station changes the kitchen. Commands work the same way. They are not merely shortcuts. They are an arrangement of the environment so that better behavior becomes the default.

That is why the humble act of creating a directory, then placing a markdown file inside it, matters more than it first appears. It is a tiny ceremony of transformation: a practice becomes a protocol, and a protocol becomes reusable leverage.

The most powerful tools do not simply help you do work faster. They help you turn judgment into something that can be invoked.


The hidden tension: flexibility versus institutional memory

Every team lives with a tension between two forces. On one side is flexibility, the ability to improvise when a situation is novel. On the other side is institutional memory, the ability to preserve what has already been learned so that the same mistakes and discoveries do not need to be rediscovered.

Pure flexibility feels agile, but it leaks knowledge. Every time a process is done from scratch, a little bit of know-how evaporates. Pure memory feels disciplined, but it can become brittle if it hardens too early. The challenge is to build systems that store what matters without freezing what still needs to evolve.

Custom commands are interesting because they sit right on this fault line. They are small enough to change quickly, yet structured enough to be shared. They preserve a good way of working without turning it into a giant process document nobody reads. They are not policy in the bureaucratic sense. They are living memory, accessible at the point of action.

This makes them especially useful in environments where people repeatedly face the same kinds of judgment calls: security reviews, debugging routines, release checklists, incident response, refactoring patterns, documentation cleanup. In each case, the core challenge is not the absence of intelligence. It is the absence of a durable vessel for intelligence.

A command file becomes that vessel.

Consider a simple example. Suppose a team often forgets to check for secret exposure before merging code. A human reminder helps once. A checklist helps somewhat. But a named command like /audit creates a shared expectation: this is what auditing means here. The team no longer has to reconstruct the procedure from memory each time. The process becomes legible, teachable, and repeatable.

That shift matters because organizations often fail not from ignorance, but from inconsistency. They know what good looks like. They just cannot make good automatic enough.


The deepest benefit of commands is not speed, it is compression of judgment

There is a tempting but shallow way to think about reusable commands: they save time. That is true, but it misses the more valuable effect. The deeper benefit is that they compress judgment into a reusable interface.

When an expert performs a task manually, they are doing more than executing steps. They are deciding which steps matter, in what order, with what threshold for concern. Much of that decision-making is invisible. If you can capture it, even partially, you create a tool that carries not just procedure but perspective.

This is why the best commands are not giant scripts of everything possible. They are distilled expressions of a viewpoint. A good command says: when we ask for this kind of work, here is the standard by which it should be done.

That standard is powerful because it reduces ambiguity. A developer running a custom review command does not have to wonder whether the tool will merely inspect syntax or whether it should also flag risky patterns, missing tests, and unclear interfaces. The command defines the scope. It makes expectations explicit.

In that sense, custom commands resemble well-designed APIs. An API is not valuable because it exposes every internal detail. It is valuable because it exposes the right behavior through a stable surface. A command file does something similar for human and AI collaboration. It presents a named surface for a repeated kind of intent.

Here is a useful mental model: commands are affordances for expertise. They do for judgment what buttons do for machines. They convert a complicated hidden process into a single visible action.

This is why the file name matters so much. The name is not just a label. It is the promise of a capability. When a team creates audit.md, they are not merely storing text. They are defining a callable standard called /audit that anyone on the team can invoke.


A better way to think about workflow design: from documents to verbs

Most teams organize knowledge as documents. Documents are useful, but they are passive. They are read when someone remembers to read them. Commands are different. They are verbs. They live in the flow of work.

That difference changes everything.

A document answers, “What should I know?” A command answers, “What should I do right now?” Documents are encyclopedic. Commands are operational. Documents tend to accumulate. Commands tend to simplify. Documents are often forgotten after the meeting. Commands are remembered because they are used.

This suggests a more powerful way to design systems: move critical knowledge from static reference material into executable rituals. If a team repeatedly needs to perform a task, ask whether it belongs in a document, a checklist, or a command. The best answer is often all three, but with different roles.

  • The document explains the why.
  • The checklist makes the steps visible.
  • The command makes the behavior available when it matters.

That triad is especially useful because it separates learning from execution. People can read and understand the logic of a practice once, then use the command many times. This lowers the cognitive burden of quality. Instead of relying on memory under pressure, the team can rely on a named action.

Imagine a product team shipping a feature. They could keep a note titled “release hygiene.” Or they could define /release-check, which scans for test coverage, migration risks, stale feature flags, and missing changelog entries. The second option does not eliminate human judgment. It gives judgment a handle.

That is the key idea: the best workflow tools do not replace thinking, they move thinking into a form that can be reused.


Building commands is really building a culture of reusable intent

The technical act of creating a folder and a markdown file is easy. The cultural act it enables is harder and more important.

A team that creates commands starts to ask different questions. Instead of asking only, “How do I do this now?” it begins asking, “What should become a standard way of doing this here?” That question has enormous leverage because it turns isolated problem solving into organizational memory.

Over time, that practice creates a culture in which people expect good judgment to be shareable. The best discoveries are no longer trapped in one person’s head. They become callable by name. New team members can absorb not just instructions, but standards. Experienced members can refine commands as the team learns.

This is how expertise scales without becoming ceremonial bureaucracy. The command remains small, editable, and close to the work. It can evolve as the codebase, the tools, or the team changes. Yet it still serves as a durable anchor.

A useful test is this: if a task has to be explained more than twice, it may deserve a command. Not because repetition is bad, but because repetition is expensive when it depends on humans remembering the same judgment under different conditions. The command is an expression of respect for that cost.

There is also a psychological benefit. Named commands reduce friction by reducing decision fatigue. People are more likely to do the right thing when the right thing is obvious and immediate. In practice, that means quality standards are less about moral willpower and more about system design.

This is where the connection becomes surprising. The path from a markdown file to a team culture runs through naming. Once something can be named, it can be shared. Once it can be shared, it can be improved. Once it can be improved, it can become a norm.


Key Takeaways

  1. Treat repeated judgment as infrastructure. If a task comes up often, ask whether it should become a named command instead of staying a memory or a habit.
  2. Use commands to capture standards, not just steps. The most valuable commands encode what good looks like, not merely what happens next.
  3. Separate explanation from execution. Keep the why in a document, the steps in a checklist, and the action in a command.
  4. Name the capability clearly. A good command name is a promise, not a vague label. It should tell users exactly what kind of judgment it applies.
  5. Review commands as living memory. Update them when practice changes, so the team’s best thinking remains current instead of ossified.

The future of productivity is not fewer tasks, but better named ones

We often imagine productivity as a race to eliminate friction. But friction is not always the enemy. Some friction is the cost of thought. The real problem is unnecessary friction, the kind that comes from repeatedly reconstructing what is already known.

Custom commands offer a different ideal. They do not try to erase complexity. They try to name it well enough that it can be reused. That is a profound shift. It means progress is not only about making computers faster. It is about making human intent more legible to machines, and making machine capability more available to humans.

The deepest opportunity here is philosophical as much as practical. Every time you turn expertise into a command, you are making a decision about what should survive outside your head. You are deciding which forms of judgment are worth preserving, standardizing, and invoking again.

That is why the smallest file in a project can matter so much. A markdown file named with intention is not just configuration. It is a statement: this kind of thinking should not disappear after one person does it once.

And that changes the meaning of productivity. It is no longer just about doing more work. It is about building a world in which the best way to do work can be named, shared, and called forth whenever it is needed.

Sources

arxiv.orgView on Glasp
Anthropic Courses
anthropic.skilljar.comView on Glasp
← Back to Library

Hatch New Ideas with Glasp AI 🐣

Glasp AI allows you to hatch new ideas based on your curated content. Let's curate and create with Glasp AI :)

Start Hatching 🐣