<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>AI编程 on KnightLi Blog</title>
        <link>https://knightli.com/en/tags/ai%E7%BC%96%E7%A8%8B/</link>
        <description>Recent content in AI编程 on KnightLi Blog</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en</language>
        <lastBuildDate>Sat, 06 Jun 2026 22:26:00 +0800</lastBuildDate><atom:link href="https://knightli.com/en/tags/ai%E7%BC%96%E7%A8%8B/index.xml" rel="self" type="application/rss+xml" /><item>
        <title>How to use DeepSeek-Reasonix? DeepSeek native terminal programming agent</title>
        <link>https://knightli.com/en/2026/06/06/deepseek-reasonix-terminal-coding-agent/</link>
        <pubDate>Sat, 06 Jun 2026 22:26:00 +0800</pubDate>
        
        <guid>https://knightli.com/en/2026/06/06/deepseek-reasonix-terminal-coding-agent/</guid>
        <description>&lt;p&gt;&lt;code&gt;esengine/DeepSeek-Reasonix&lt;/code&gt; is a terminal-oriented AI programming agent. It is different from many &amp;ldquo;CLIs with a layer of OpenAI API&amp;rdquo;. The project is positioned as DeepSeek-native: designed around the stability of DeepSeek&amp;rsquo;s prefix cache, making long sessions cheaper and more suitable for always-on work.&lt;/p&gt;
&lt;p&gt;The description in the README is very straightforward: a config- and plugin-driven harness, a single static Go binary, and models, agents, tools and plug-ins are all declared in &lt;code&gt;reasonix.toml&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&#34;what-problem-does-it-solve&#34;&gt;What problem does it solve?
&lt;/h2&gt;&lt;p&gt;There are many terminal programming agents now, but the common problems are also obvious:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The configuration is hard-coded and it is inconvenient to change the model;&lt;/li&gt;
&lt;li&gt;The tool access method is not uniform;&lt;/li&gt;
&lt;li&gt;In long sessions, the prompt keeps changing and the cache hit rate is poor;&lt;/li&gt;
&lt;li&gt;Each mission is restarted, and the token cost is high;&lt;/li&gt;
&lt;li&gt;I want to use DeepSeek, but the existing tools may not be optimized according to the characteristics of DeepSeek.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The focus of Reasonix is ​​not &amp;ldquo;yet another chat CLI&amp;rdquo;, but rather using DeepSeek&amp;rsquo;s prefix cache as the centerpiece of its design. If the prefix is ​​stable in a long session, cache hits are better, and the cost and speed will be more controllable.&lt;/p&gt;
&lt;h2 id=&#34;core-design&#34;&gt;Core Design
&lt;/h2&gt;&lt;p&gt;Several features listed in the project README are worthy of attention:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Config-driven: provider, agent, tools, and plugins are all configured through &lt;code&gt;reasonix.toml&lt;/code&gt;;&lt;/li&gt;
&lt;li&gt;Multi-model: DeepSeek flash/pro and MiMo have presets, and can also be connected to any OpenAI-compatible endpoint;&lt;/li&gt;
&lt;li&gt;Composable: allows the two models of executor and planner to divide the work;&lt;/li&gt;
&lt;li&gt;Plugin-driven: External tools are accessed through the stdio JSON-RPC sub-process, compatible with MCP ideas;&lt;/li&gt;
&lt;li&gt;Built-in tools: built-in tools self-register during compilation;&lt;/li&gt;
&lt;li&gt;Single static Go binary: Simple to deploy, no need to drag a bunch of runtimes.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For those who like to put the development environment in the terminal, this direction is very refreshing. The configuration file is the console, and the plug-in is the capability boundary.&lt;/p&gt;
&lt;h2 id=&#34;suitable-for-how-to-use&#34;&gt;Suitable for how to use
&lt;/h2&gt;&lt;p&gt;Reasonix is ​​more suitable for these scenarios:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;You are already using DeepSeek for coding tasks;&lt;/li&gt;
&lt;li&gt;I hope there is a resident programming agent in the terminal;&lt;/li&gt;
&lt;li&gt;Want to optimize long session costs around prefix cache;&lt;/li&gt;
&lt;li&gt;Want to combine tools and plug-ins through configuration;&lt;/li&gt;
&lt;li&gt;Want to use OpenAI-compatible endpoint to switch between different models;&lt;/li&gt;
&lt;li&gt;Like Go&amp;rsquo;s single-file binary deployment approach.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;It&amp;rsquo;s not necessarily suitable for users who don&amp;rsquo;t touch the terminal at all. If you prefer the built-in IDE experience, Cursor, Copilot, or Claude Code may be more convenient. Reasonix&amp;rsquo;s temperament is more of an engineer&amp;rsquo;s toolbox: configuration, plug-ins, terminal, long sessions.&lt;/p&gt;
&lt;p&gt;The difference between ## and Claude Code / Codex&lt;/p&gt;
&lt;p&gt;Tools such as Claude Code and Codex are more like complete products, while Reasonix is ​​more like a configurable Agent harness.&lt;/p&gt;
&lt;p&gt;You can understand it this way:&lt;/p&gt;
&lt;table&gt;
  &lt;thead&gt;
      &lt;tr&gt;
          &lt;th&gt;Tools&lt;/th&gt;
          &lt;th&gt;What is more like&lt;/th&gt;
          &lt;th&gt;Who is it suitable for&lt;/th&gt;
      &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
      &lt;tr&gt;
          &lt;td&gt;Claude Code / Codex&lt;/td&gt;
          &lt;td&gt;Out-of-the-box programming Agent&lt;/td&gt;
          &lt;td&gt;People who want to complete tasks quickly&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;Cursor&lt;/td&gt;
          &lt;td&gt;AI development environment within IDE&lt;/td&gt;
          &lt;td&gt;Heavy graphical interface and project editing users&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;DeepSeek-Reasonix&lt;/td&gt;
          &lt;td&gt;Agent framework for DeepSeek and endpoint workflows&lt;/td&gt;
          &lt;td&gt;People who want to control configuration, tools and costs&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;The advantage of Reasonix is ​​controllability and DeepSeek optimization, but the price is that you need to understand the configuration and plug-ins, and you won&amp;rsquo;t have to do it bit by bit like a commercial IDE.&lt;/p&gt;
&lt;h2 id=&#34;think-clearly-before-using&#34;&gt;Think clearly before using
&lt;/h2&gt;&lt;p&gt;The stronger the terminal programming agent&amp;rsquo;s ability, the greater the risk:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;There must be boundaries for file reading and writing, command execution and network access;&lt;/li&gt;
&lt;li&gt;The source of the plug-in must be trustworthy;&lt;/li&gt;
&lt;li&gt;Long session caching is not permission isolation;&lt;/li&gt;
&lt;li&gt;Pay attention to the responsibilities of planner and executor when collaborating with multiple models;&lt;/li&gt;
&lt;li&gt;Do not expose production keys and server credentials directly to Agent;&lt;/li&gt;
&lt;li&gt;After automatically modifying the code, you still need to run tests and reviews.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you plan to use it for a long time, it is recommended to run it in your personal project first, and then gradually connect it to the official warehouse. Especially for Agents that can execute shells, permissions should be given starting from a small age.&lt;/p&gt;
&lt;h2 id=&#34;summary&#34;&gt;Summary
&lt;/h2&gt;&lt;p&gt;The value of DeepSeek-Reasonix is ​​that it combines the cost-effectiveness of DeepSeek with a terminal programming agent. It is not the most &amp;ldquo;fool-like&amp;rdquo; tool, but it is very attractive to people who are willing to adjust configurations, connectors, and long-term terminals.&lt;/p&gt;
&lt;p&gt;If your goal is to &amp;ldquo;use DeepSeek to make a controllable, low-cost, long-session local terminal programming agent&amp;rdquo;, Reasonix is ​​worth trying. If you only occasionally let AI change a few lines of code, it may be more worry-free to directly use a ready-made IDE plug-in.&lt;/p&gt;
&lt;h2 id=&#34;reference-sources&#34;&gt;Reference sources
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;a class=&#34;link&#34; href=&#34;https://github.com/esengine/DeepSeek-Reasonix&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;
    &gt;esengine/DeepSeek-Reasonix - GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        </item>
        <item>
        <title>How to use Taste Skill? Add some aesthetic constraints to AI front-end generation</title>
        <link>https://knightli.com/en/2026/06/06/taste-skill-ai-frontend-design/</link>
        <pubDate>Sat, 06 Jun 2026 22:22:56 +0800</pubDate>
        
        <guid>https://knightli.com/en/2026/06/06/taste-skill-ai-frontend-design/</guid>
        <description>&lt;p&gt;&lt;code&gt;Leonxlnx/taste-skill&lt;/code&gt; is a very interesting front-end Agent Skill project. Its goal is not to make another UI component library, but to add a set of &amp;ldquo;aesthetic constraints&amp;rdquo; to AI programming tools such as Codex, Cursor, and Claude Code to reduce the template interface that looks AI-like at first glance.&lt;/p&gt;
&lt;p&gt;The project README calls it Anti-Slop Frontend Framework. This statement is a bit exaggerated, but the direction is very accurate: the biggest problem when writing front-ends for AI is often not the inability to write code, but that the default layout is too flat, the hierarchy is too weak, spacing seems to be automatically generated, and motion effects and fonts are not judged.&lt;/p&gt;
&lt;h2 id=&#34;what-exactly-is-it&#34;&gt;What exactly is it?
&lt;/h2&gt;&lt;p&gt;Taste Skills are essentially a set of Agent Skills that can be installed, copied, and pasted. They are not runtime dependencies or browser plug-ins, but working rules for AI Agents.&lt;/p&gt;
&lt;p&gt;It will require the model to pay more attention when generating the front end:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;layout: The layout should not only center the card;&lt;/li&gt;
&lt;li&gt;typography: font size, font weight, and line height must be hierarchical;&lt;/li&gt;
&lt;li&gt;spacing: white space, margins, and density must match the scene;&lt;/li&gt;
&lt;li&gt;motion: Motion effects must serve interaction, not just add animation;&lt;/li&gt;
&lt;li&gt;design language: infer design language based on product type;&lt;/li&gt;
&lt;li&gt;anti-slop: Avoid templates, placeholders and half-finished output.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The value of this type of skill is not to &amp;ldquo;write a few more prompts&amp;rdquo;, but to fix some front-end aesthetic judgments into reusable rules so that they can be used in different projects.&lt;/p&gt;
&lt;h2 id=&#34;how-to-install&#34;&gt;How to install
&lt;/h2&gt;&lt;p&gt;README recommends using &lt;code&gt;npx skills add&lt;/code&gt; to install:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;npx skills add https://github.com/Leonxlnx/taste-skill
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;If you only install the default front-end design skill, you can specify:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;npx skills add https://github.com/Leonxlnx/taste-skill --skill &lt;span class=&#34;s2&#34;&gt;&amp;#34;design-taste-frontend&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;If you rely on legacy behavior, you can also install v1:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;npx skills add https://github.com/Leonxlnx/taste-skill --skill &lt;span class=&#34;s2&#34;&gt;&amp;#34;design-taste-frontend-v1&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;The project also states that you can copy any &lt;code&gt;SKILL.md&lt;/code&gt; directly into the project, or paste the content into the ChatGPT / Codex conversation for use. In other words, it does not have to be bound to a specific platform.&lt;/p&gt;
&lt;h2 id=&#34;what-skills-are-built-in&#34;&gt;What Skills are built in?
&lt;/h2&gt;&lt;p&gt;Taste Skill is not just one file. There are various skills listed in the README:&lt;/p&gt;
&lt;table&gt;
  &lt;thead&gt;
      &lt;tr&gt;
          &lt;th&gt;Skill&lt;/th&gt;
          &lt;th&gt;Install name&lt;/th&gt;
          &lt;th&gt;Purpose&lt;/th&gt;
      &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
      &lt;tr&gt;
          &lt;td&gt;taste-skill&lt;/td&gt;
          &lt;td&gt;&lt;code&gt;design-taste-frontend&lt;/code&gt;&lt;/td&gt;
          &lt;td&gt;Default front-end aesthetic rules, currently v2 is still in experimental iteration&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;taste-skill-v1&lt;/td&gt;
          &lt;td&gt;&lt;code&gt;design-taste-frontend-v1&lt;/code&gt;&lt;/td&gt;
          &lt;td&gt;Preserve legacy behavior&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;gpt-tasteskill&lt;/td&gt;
          &lt;td&gt;&lt;code&gt;gpt-taste&lt;/code&gt;&lt;/td&gt;
          &lt;td&gt;Strict version more suitable for GPT / Codex&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;image-to-code-skill&lt;/td&gt;
          &lt;td&gt;&lt;code&gt;image-to-code&lt;/code&gt;&lt;/td&gt;
          &lt;td&gt;First generate the reference image, then analyze, and then write the code&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;redesign-skill&lt;/td&gt;
          &lt;td&gt;&lt;code&gt;redesign-existing-projects&lt;/code&gt;&lt;/td&gt;
          &lt;td&gt;Audit existing projects first, then change the UI&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;soft-skill&lt;/td&gt;
          &lt;td&gt;&lt;code&gt;high-end-visual-design&lt;/code&gt;&lt;/td&gt;
          &lt;td&gt;High-end, soft, and plenty of white space visual direction&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;minimalist-skill&lt;/td&gt;
          &lt;td&gt;&lt;code&gt;minimalist-ui&lt;/code&gt;&lt;/td&gt;
          &lt;td&gt;Notion/Linear style restrained product UI&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;brutalist-skill&lt;/td&gt;
          &lt;td&gt;&lt;code&gt;industrial-brutalist-ui&lt;/code&gt;&lt;/td&gt;
          &lt;td&gt;Industrial, Swiss font, experimental style with strong contrast&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;output-skill&lt;/td&gt;
          &lt;td&gt;&lt;code&gt;full-output-enforcement&lt;/code&gt;&lt;/td&gt;
          &lt;td&gt;Used to suppress half output and placeholders&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;There are also image generation skills for generating web, mobile and brand board reference images. They do not directly output code, but produce visual references, which are then handed over to Codex, Cursor or Claude Code for implementation.&lt;/p&gt;
&lt;h2 id=&#34;suitable-for-how-to-use&#34;&gt;Suitable for how to use
&lt;/h2&gt;&lt;p&gt;If you just ask AI to write a background form, simply stating the requirements may be enough. But if you want to do:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Product official website;&lt;/li&gt;
&lt;li&gt;SaaS Dashboard;&lt;/li&gt;
&lt;li&gt;Mobile page;&lt;/li&gt;
&lt;li&gt;Brand landing page;&lt;/li&gt;
&lt;li&gt;Portfolio;&lt;/li&gt;
&lt;li&gt;High-end tool interface;&lt;/li&gt;
&lt;li&gt;Existing project UI redesign;&lt;/li&gt;
&lt;li&gt;Restore frontend from reference image.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Then Taste Skill will be more useful. It helps you constrain &amp;ldquo;what kind of interface this should be&amp;rdquo; in advance, instead of waiting for the AI ​​to generate a bunch of cards and then scolding it back bit by bit.&lt;/p&gt;
&lt;p&gt;I would use it like this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;New projects use &lt;code&gt;design-taste-frontend&lt;/code&gt; first;&lt;/li&gt;
&lt;li&gt;Codex/GPT projects can try &lt;code&gt;gpt-taste&lt;/code&gt;;&lt;/li&gt;
&lt;li&gt;Use &lt;code&gt;redesign-existing-projects&lt;/code&gt; for revision of existing projects;&lt;/li&gt;
&lt;li&gt;Add &lt;code&gt;minimalist-ui&lt;/code&gt;, &lt;code&gt;high-end-visual-design&lt;/code&gt; or &lt;code&gt;industrial-brutalist-ui&lt;/code&gt; when there is a clear style;&lt;/li&gt;
&lt;li&gt;If the AI always leaves TODO or omits code, add &lt;code&gt;full-output-enforcement&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;it-is-not-a-universal-aesthetic-button&#34;&gt;It is not a universal aesthetic button
&lt;/h2&gt;&lt;p&gt;Taste Skill solves the problem of &amp;ldquo;AI front-end output is too templated&amp;rdquo;, but it is not a designer replacement.&lt;/p&gt;
&lt;p&gt;A few boundaries should be made clear:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;It cannot define your brand positioning for you;&lt;/li&gt;
&lt;li&gt;It cannot guarantee that every generation will look good;&lt;/li&gt;
&lt;li&gt;It is more suitable for people with a foundation of front-end aesthetics to make secondary judgments;&lt;/li&gt;
&lt;li&gt;No matter how detailed the skill is, you still need to provide product background, audience and functional priorities;&lt;/li&gt;
&lt;li&gt;Teams with existing design systems should not let skills cover internal specifications.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In other words, it is more like a &amp;ldquo;front-end generated aesthetic scaffolding&amp;rdquo;. It can raise the default lower limit, but the final effect still depends on you reviewing, taking screenshots, adjusting CSS, and checking real devices.&lt;/p&gt;
&lt;h2 id=&#34;summary&#34;&gt;Summary
&lt;/h2&gt;&lt;p&gt;The value of &lt;code&gt;taste-skill&lt;/code&gt; is that it turns a lot of front-end design experience into Agent-executable rules. For tools such as Codex, Cursor, and Claude Code, this skill is very suitable to make up for the shortcomings of &amp;ldquo;being able to write code but easily losing quality&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;If you often use AI to generate front-end pages, especially if you are fed up with big gradients, big rounded corners, full-screen cards, random icons, and layerless template-like interfaces, you can use it as a starting point. But don’t think of it as a design director, real projects still require you to make your own choices.&lt;/p&gt;
&lt;h2 id=&#34;reference-sources&#34;&gt;Reference sources
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;a class=&#34;link&#34; href=&#34;https://github.com/Leonxlnx/taste-skill&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;
    &gt;Leonxlnx/taste-skill - GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        </item>
        
    </channel>
</rss>
