Cortex Adds Personal Coding Style and Test Design Specification

AI-assisted software development is becoming a normal part of how organizations build, maintain, secure, and deliver software. But adoption alone is not the goal. The real opportunity is to help teams move faster without losing the engineering standards, quality practices, and organizational context that make software dependable.

That is why Cortex has recently introduced two major capabilities across VS Code, Browser and Mobile:

  • Personal Coding Style
  • Test Design Specification

These features address two persistent challenges in AI-assisted engineering. First, generated code should fit the way a team already works. Second, teams should have confidence that software has been tested for the outcomes that actually matter.

Together, they help make AI-assisted delivery more consistent, more intentional, and more useful across the enterprise.


Personal Coding Style: Consistency That Travels With the Work

Every software team has a coding style, whether it is formally documented or developed through years of shared practice. Teams make decisions about how much code should explain itself, how documentation should be presented, how errors should be handled, how strict types should be, how functions should be organized, and how tests should read.

These choices are not superficial. They influence how quickly developers can understand a change, how easily reviewers can evaluate it, and how reliably teams can maintain an application over time.

Without that context, AI-generated code can create unnecessary friction. A suggestion may be technically sound but still require edits before it is ready for the repository. Developers may need to repeatedly restate preferences. Reviewers may spend time normalizing generated code instead of focusing on product behavior, security, and architecture.

Personal Coding Style helps address that gap.

With a Style Profile, Cortex can take an organization’s preferred development approach into account as it assists with coding tasks. Rather than treating every request as isolated, Cortex can help produce work that better reflects the standards a developer or team wants to maintain.

The Style Profile includes:

  • Style Profile Global Enable
  • Comment Density
  • Documentation Format
  • Naming Verbosity
  • Error Handling
  • Type Strictness
  • Function Size
  • Test Style

The purpose is not to force every team into one definition of “good code.” Different organizations, projects, languages, and environments have different needs. A mature platform team may favor one approach, while a product team working on a fast-moving service may reasonably choose another.

Cortex gives teams a way to make those preferences part of their AI-assisted workflow.


Less Rework, Better Reviews, Stronger Engineering Identity

Personal Coding Style creates value in the everyday moments that shape engineering velocity.

When generated code better matches team expectations, developers spend less time making routine stylistic corrections. Code reviews can focus more directly on the questions that deserve human attention: Does this solve the right problem? Does it protect the right data? Does it introduce risk? Is the design maintainable? Does it meet the acceptance criteria?

This can also improve continuity across teams and projects. Organizations often have contributors with different levels of familiarity with a codebase, including new developers, contractors, platform teams, and employees moving between products. A consistent style profile helps make the organization’s expectations easier to carry into each new task.

For leaders, the benefit is not simply cleaner code. It is a more scalable engineering process. Teams can use AI assistance without allowing each interaction to create a new set of conventions. Developers retain control over the standards that define their work, while Cortex helps apply those standards more consistently.


One Experience Across VS Code, Browser and Mobile

Software delivery does not happen in a single interface.

A developer may begin a change in VS Code, continue investigating an issue in the browser, review a request from a mobile device, coordinate through a business-facing UI, and validate the work through a comprehensive workflow. If coding guidance exists only in one of those places, the organization still faces fragmented workflows and inconsistent output.

Personal Coding Style is available across Cortex work surfaces so that a user’s preferences can remain relevant wherever the work happens.

This matters because modern engineering requires context to move with the task. A developer should not need to recreate the same guidance every time they change tools. A team should not need one standard for code generated in an editor and another for work initiated from a broader operational workflow.

Cortex helps bring that consistency closer to the point of action.


Test Design Specification: Start With the Evidence You Need

The second major capability, Test Design Specification, focuses on a different but equally important question: what should be tested, and what evidence would prove that a requirement works?

It is easy to assume that more tests always mean better quality. In practice, that is not always true.

A repository can have extensive test coverage while still missing critical behavior. Tests may focus on implementation details instead of user outcomes. They may exercise code without making meaningful assertions. They may verify a happy path while overlooking the conditions most likely to cause operational or customer impact.

Test Design Specification helps teams take a more deliberate approach before moving directly into test creation.

It helps frame testing around the behavior that needs to be protected, the risks that matter most, the evidence that already exists, and the appropriate boundary for validation. The goal is not to generate tests for every possible condition. The goal is to identify the tests that provide meaningful confidence.

This is particularly valuable for AI-assisted development. An AI coding agent can generate tests quickly, but speed alone does not determine whether those tests are useful. Good testing begins with clear reasoning about the requirement, the likely failure modes, and the outcome that must be observable to a user or connected system.


From Test Quantity to Test Quality

Test Design Specification shifts the conversation from “How many tests should we add?” to “What do we need to prove?”

For a small, isolated behavior, the right evidence may be focused and direct. For a workflow that crosses service boundaries, user interactions, identity controls, data flows, or external systems, a more visible validation boundary may be necessary.

The important point is that the test should follow the risk.

A test that bypasses the behavior most likely to fail may provide a false sense of confidence. For example, a narrow test can pass even when the complete user workflow remains broken. Conversely, testing every scenario at the broadest possible level can create unnecessary cost and slow down delivery.

Test Design Specification helps teams choose a thoughtful middle ground: validate at the lowest level that can reliably expose the failure the team is trying to prevent.

This supports more efficient testing and clearer engineering decisions. Instead of relying on a fixed formula, teams can prioritize the scenarios where failure would have the greatest impact or be hardest to detect later.

That is especially important for work involving customer-facing behavior, authorization, sensitive data, financial operations, destructive actions, integrations, durable state, and public contracts. In these areas, the quality of testing matters far more than the volume of tests alone.


Complementing Test-Driven Development

Test Design Specification complements Test-Driven Development rather than replacing it.

TDD remains a valuable engineering practice: define an expected behavior, create a failing test, implement the smallest useful change, and then improve the design. It gives teams a disciplined loop for building software incrementally.

Test Design Specification strengthens the decision that comes before that loop. It asks whether the team has selected the right behavior to validate and the right kind of proof for that behavior.

In other words, TDD helps answer, “How do we build this safely?” Test Design Specification helps answer, “What must be true before we can say this works?”

That distinction can be especially useful for complex features and enterprise workflows, where requirements may span several systems and where a technically correct internal change may still fail to produce the intended business outcome.

By improving the test strategy at the outset, Cortex can help teams enter their implementation and TDD workflows with clearer priorities.


Coverage Is Useful, but It Is Not Proof

Code coverage remains a valuable signal. It can help teams identify areas that have not been exercised and guide further investigation. But coverage alone cannot prove that a requirement works.

A test is meaningful when its expected result is independent, its assertions can detect the relevant failure, and its outcome connects to the behavior the organization intends to protect.

This is an important mindset for teams using AI to accelerate development. The goal is not to create the appearance of quality through a larger number of generated tests. The goal is to create evidence that a feature meets its intended purpose.

Test Design Specification supports that objective by helping teams identify missing high-value scenarios and focus their validation effort where it will matter most.


Protecting Clear Evidence When Something Fails

A failed test is not always a problem to be immediately hidden or worked around. It can be valuable evidence.

When validation exposes a defect, teams need a clear and reproducible understanding of what failed. That evidence supports better diagnosis, better prioritization, and better review. It helps ensure that a future fix addresses the actual issue instead of merely changing the conditions around the test.

This separation also creates a healthier workflow for AI-assisted delivery. Planning, testing, diagnosis, and repair are related activities, but they are not identical. Keeping the evidence clear at each stage helps teams retain control over product decisions and makes automated assistance easier to trust.


Building More Connected Engineering Workflows

These releases reflect a broader Cortex direction: helping organizations bring relevant context into the workflows where decisions are made.

As described in Cortex’s approach to connected enterprise workflows, value does not come simply from adding more tools or more AI interactions. It comes from making the right context available at the right time—whether that context involves customer needs, engineering work, cloud operations, collaboration, delivery status, or quality requirements. The blog Cortex Connects Salesforce CRM with Engineering and Cloud Workflows illustrates that same principle across business and technical systems.

Personal Coding Style brings engineering conventions into AI-assisted code generation. Test Design Specification brings quality, risk, and acceptance context into testing decisions.

One helps ensure that generated work fits the organization. The other helps ensure that validated work proves something meaningful.

Together, they support a more mature model of AI-assisted software delivery: one where speed is balanced with consistency, automation is guided by standards, and testing is designed around the outcomes that matter to users and the business.


A More Deliberate Way to Build With AI

Cortex is not designed merely to produce more code or more tests. It is designed to help teams build, validate, and deliver software with better context.

With Personal Coding Style, teams can make their expectations visible to AI-assisted workflows. With Test Design Specification, they can define stronger evidence for the software they deliver.

Across all developer surfaces, these capabilities give organizations a more consistent way to use AI without losing the practices that make their engineering teams effective.

The result is not just faster delivery. It is delivery with clearer standards, stronger confidence, and better alignment between the work being produced and the outcomes the organization needs to protect.

Scroll to Top