lijigang/ljg-skills: The Anti-AI Aesthetic Engine

How a collection of terminal scripts hijacked Claude Code to build a cognitive workbench with forced artistic chaos and Emacs Org-mode.

7 min read • View on GitHub • More from lijigang

A highly structured mechanical loom weaving a fraying, organic tapestry, representing the tension between deterministic code and human-like output.
Rigid constraints create organic results.

信息图模式会根据内容密度、结构和情绪自动生成独特的视觉构图,没有固定模板,形式服务于内容。

lijigang, Primary Author · Repository: lijigang/ljg-skills
Key Takeaways

Banning the AI Aesthetic

Most AI tools produce output that looks inherently like AI. The Inter font, the subtle blue-to-purple gradients, the perfectly equidistant padding—it is a frictionless, corporate aesthetic. The lijigang/ljg-skills repository rejects this entirely. Inside the project lies a taste.md file that acts as a manifesto against bland generative design.

This file enforces strict constraints on Claude Code. It outright bans the Inter font, forbidding gradients and mandating specific, characterful typefaces like DM Serif. More crucially, it introduces a DESIGN_VARIANCE parameter. Set to 8/10 for infographics, this variable forces the LLM to introduce "artistic chaos." It demands asymmetrical layouts and non-templated structures, ensuring that no two generated artifacts look identical.

Portrait of lijigang, creator of ljg-skills.

The Headless Rendering Pipeline

The visual engine of this project is the ljg-card skill. It bypasses the text-only limitations of standard LLM interfaces by acting as a bridge between the CLI and local system tools. When a user runs /ljg-card, Claude doesn't just return text; it writes dynamic HTML and custom CSS tailored to the "emotion" of the prompt.

This dynamic code is then fed into a local Node.js script (capture.js) that triggers Playwright. Headless Chromium loads the HTML, applies an SVG turbulence filter (#noise) to give the image a tactile, printed feel, and captures a full-page screenshot. The result is a high-fidelity PNG saved directly to the user's disk.

The ljg-card rendering pipeline.

Structuring the Mind in Org-mode

Beyond visual aesthetics, ljg-skills transforms Claude into a rigorous cognitive workbench. The ljg-paper skill, for instance, implements a forced "Feynman Technique" for academic writing. It relies heavily on Emacs Org-mode to enforce structured data output, moving away from unstructured Markdown.

This skill utilizes "Red Line" rules. It forces the LLM to adopt the persona of a 20-year veteran academic advisor to brutally critique the user's work, rejecting jargon and demanding "one idea per sentence." It is not a polite assistant; it is a strict methodological filter.

A close-up of a professor's hand holding a red fountain pen, crossing out text on a digital tablet.
The ljg-paper skill enforces rigorous academic critique via 'Red Line' rules.

The End of Ephemeral Chat

Most interactions with Large Language Models are ephemeral. You ask a question, you get a chat bubble, you close the tab. ljg-skills represents a fundamental shift in how we interact with these tools. By leveraging local file systems, headless browsers, and strict prompt engineering, it turns Claude Code into an agent that produces permanent, high-value artifacts.

FeatureStandard AI ChatCognitive Workstation (ljg-skills)
Output MediumEphemeral text bubblesPermanent PNGs and Org-mode files
AestheticCorporate templates (Inter, gradients)Forced artistic chaos (SVG noise, serif fonts)
Prompting StyleLoose suggestionsStrict 'Red Line' constraints
Execution EnvironmentCloud serverLocal CLI with Playwright/Node.js access