Agent Skills Engineering: A Chinese-Language Practice for Adapting LLMs to Business Needs
This article explains how Agent Skills help adapt general-purpose LLMs to specific business domains by separating capabilities from monolithic prompts into discoverable, loadable, and composable units. It covers context engineering principles such as layered loading, on-demand retrieval, and result convergence; key engineering details for tool calling and protocol integration; a three-layer approach to localizing course materials into Chinese; and a four-step adoption path with team collaboration recommendations. Readers will learn how to turn business knowledge into governed engineering assets and lower the barrier to acquiring frontier knowledge.
1. Why We Need an “Agent Skills” Layer
In enterprise scenarios, general-purpose LLMs often “know a little about everything but nothing about your business.” Stuffing all business rules into the system prompt creates three immediate problems: the context window fills up quickly, rules conflict with one another, and you pay the same token cost repeatedly on every request. The core idea of Agent Skills is to extract “capabilities” from a monolithic prompt and turn them into discoverable, loadable, and composable resource units.
A mature skill unit typically contains three types of content. First, a structured capability description file that tells the model what problem the skill solves and under what conditions it should be activated. Second, a collection of reference materials, such as glossaries, field dictionaries, API contracts, and error code mappings. Third, executable or semi-executable code examples that translate natural-language intent into deterministic calls. Separating the three offers clear benefits: the description file stays short and is loaded only when needed; reference materials are retrieved on demand; and code examples guarantee determinism on critical paths.
2. Context Engineering: Spending Limited Cognitive Bandwidth Where It Matters
The “cognitive bandwidth” repeatedly emphasized in the course holds true on the model side as well. Context is a scarce resource, and any content injected indiscriminately dilutes the weight of critical information. Engineering practice usually follows three principles:
- Layered loading: first give the model a lightweight skill index (name plus a one-sentence description), and let the model decide whether to expand into details.
- On-demand retrieval: do not inject all reference materials upfront; retrieve them through search or tool calls when needed.
- Result convergence: trim and structure tool return values to avoid feeding large blocks of raw logs back into the context.
A schematic skill description structure can be abstracted as:
---name: invoice_reconciliationdescription: Use when the user needs to reconcile accounts, verify amount discrepancies, or generate a discrepancy reportinputs: [bill file, business ledger]outputs: [discrepancy list, explanation document]---## Activation Conditions- The user mentions "reconciliation," "discrepancy," or "amount mismatch"## Reference Materials- field_dictionary.md- error_code_mapping.md## Code Examples- scripts/diff.py
The key to this format is not the specific layout but that the “description is specific enough to be decidable.” If the description is vague, the model will load the skill at the wrong time; if it is too narrow, the skill will never be triggered. In practice, it is recommended to validate the coverage of the description against real business questions.
3. Tool Calling and Protocol Integration: Making Skills Actually Act
For skills to deliver business value, they must be able to reach external systems. A common industry approach is to wrap external capabilities into standardized tool descriptions through a unified context protocol, letting the model choose and the runtime execute. A few easily overlooked engineering details matter here:
- Idempotency: write-operation tools must support idempotency keys; otherwise, model retries will cause duplicate accounting entries.
- Permission boundaries: tool granularity should be as fine as possible, combined with the principle of least privilege, to avoid a single “universal executor.”
- Observability: every tool call should leave a structured log containing a summary of inputs, elapsed time, and return code, making it easy to trace the model’s decision chain.
- Failure semantics: clearly distinguish “retryable errors” from “errors requiring human intervention,” and mark them explicitly in the response body.
A simplified tool description example:
{"name": "query_order_status","description": "Query the current status and the timestamp of the last status change by order ID","parameters": {"order_id": "string, required","with_history": "boolean, optional, default false"}}
The quality of the description text directly determines call accuracy. A proven practice is to also write “when not to use it” into the description, which significantly reduces the false-call rate.
4. Localizing Course Materials into Chinese: A Real Gain in Learning Efficiency
The value of the original course materials lies not only in the video explanations but also in the large set of accompanying Markdown documents: system prompts, skill descriptions, reference materials, and code examples. Language barriers substantially erode this value—developers read a translation while cross-referencing code, and their attention is repeatedly interrupted.
Localization into Chinese typically involves three layers: localizing the spoken explanations so learners do not have to switch between listening to interpretation and watching the screen; providing bilingual subtitles that preserve the original terminology for search and traceability; and translating the documents one by one while keeping the original directory structure and code blocks, producing parallel Chinese versions of the files. The third layer is the most underestimated yet has the greatest impact on efficiency: an unchanged file structure means example paths, relative references, and script invocation methods can be reused directly, so learners can copy and run without a second round of path and naming mapping.
It is worth emphasizing that document translation should adhere to the boundary of “code unchanged, comments translatable, terminology unified,” and a glossary should be established to constrain translation consistency. Otherwise, the same concept appearing with multiple translations across different documents will increase comprehension costs instead.
5. Adoption Path and Team Collaboration Recommendations
A four-step approach is recommended. Step one: inventory high-frequency, repetitive business Q&A and manual operations, and select 3 to 5 candidate skills. Step two: for each skill, complete a decidable description, reference materials, and a minimum viable code example. Step three: integrate a unified tool protocol, read-only first and write later, gradually opening up permissions. Step four: build an evaluation set, use real questions to test trigger accuracy and call success rate, and keep running regression tests.
For team collaboration, put the skill directory under version control and treat it with the same review and testing as business code; also accumulate the evaluation set as an asset to avoid the arbitrary iteration of “change one prompt line and ship.” If you need to host materials and evaluation data, you can use object storage for large files, a message queue for asynchronous task decoupling, a container platform to host the runtime, and logging and monitoring alerting services for observability. These are all general cloud capability categories, independent of any specific vendor.
6. Conclusion
The essence of Agent Skills is to free business knowledge from prompts and turn it into governed engineering assets; localizing materials, meanwhile, lowers the barrier to acquiring frontier knowledge as much as possible. Combined, the two allow developers to devote their energy to business modeling and system design rather than consuming it on language switching and document shuffling.
