AI-Assisted Programming in Practice: Turning Implicit Business Knowledge into Engineering Systems

    This article explores how AI-assisted programming enables domain experts to encode implicit business knowledge directly into engineering systems. Using a legal news distribution tool as a case study, it shows how source-level rules become structured data models, how vertical requirements such as voiceover duration estimation are made explicit, and how a mobile 3D rendering experience is made reliable through user-selectable graceful degradation. The result is a practical view of how business logic and technical implementation can be tightly integrated.

    In traditional software R&D, a feature usually travels a long path from idea to launch: business stakeholders propose requirements, product managers write documentation, UI designers create visuals, and frontend engineers implement interactions. In this process, non-standardized domain knowledge is highly prone to information decay. As AI-assisted programming matures, a new paradigm is emerging: people who understand the business can build systems directly through natural-language instructions. This article uses the construction of a legal news distribution tool to discuss how deep implicit business knowledge can be solidified into an engineering system.

    1. Information Loss and Barriers in Traditional Collaboration

    When building a legal news content tool, there is a large amount of “implicit knowledge” that belongs only to the specific industry. For example, professionals working in legal content know that the “source level” directly determines the usability of a piece of news and how it can be cited. Content published by top-level judicial sources such as a supreme court or top prosecutorial authority can be cited directly as conclusions. Content from second-tier authoritative institutions, such as provincial courts or internet regulators, requires an additional step of cross-validation.

    If this tool were developed through a traditional workflow, business stakeholders would pass the requirement to a designer, but the designer would often understand only the surface logic: “two colors are needed to distinguish the items.” They would not know why these two colors are used or what level of rigor each color represents. When the designer hands the design file to developers, the core business concept of “source-level classification” may have completely evaporated, leaving only simple “red” and “gold” labels.

    This information decay is an inevitable result of the traditional process, because each node focuses only on the explicit tasks within its own professional scope. With intelligent programming tools, domain experts can bypass intermediate steps and translate this tacit business logic directly into system parameters and code constraints.

    2. Encoding Domain Knowledge in Code: Source-Level Control as an Example

    When building the system independently, the first task is to parameterize business rules. For the legal source-level classification above, we can define level enums directly in the admin backend data model and assign corresponding visual representations and business validation logic.

    1. // Source-level business model definition
    2. const SourceLevel = {
    3. T1: {
    4. label: 'Top-level source',
    5. color: '#E60012', // Red marker
    6. action: 'ALLOW_DIRECT_QUOTE' // Allow direct citation
    7. },
    8. T1_5: {
    9. label: 'Second-tier authoritative institution',
    10. color: '#FFD700', // Gold marker
    11. action: 'REQUIRE_CROSS_VALIDATION' // Requires cross-validation
    12. }
    13. };
    14. // Automatically rendered when entered in the admin backend
    15. function renderNewsTag(level) {
    16. const config = SourceLevel[level];
    17. if (!config) throw new Error('Unknown source level');
    18. return `<span class="news-tag" style="background-color: ${config.color}">${config.label}</span>`;
    19. }

    In this way, source classification is no longer a visual label applied after the fact. It becomes a structured field strictly constrained from the data-entry source. This not only ensures consistency in frontend display, but also lays the foundation for later data retrieval and automatic validation based on source level.

    3. Deep Adaptation for Vertical Scenarios: Making Implicit Requirements Explicit

    In addition to source-level classification, the system also needs to satisfy a typical vertical-scenario requirement: voiceover audio production. After each daily report is written, the creator needs to record a voiceover audio segment. This introduces a key piece of implicit knowledge: the standard speech rate in the broadcasting industry is 250 characters per minute.

    Traditional design tools or generic layout templates would never include a feature such as “estimated voiceover duration,” because the developers of generic tools do not understand the derived requirements of a specific industry. In a self-built system, however, the voiceover script library becomes part of the native functionality.

    The system integrates a character-count and duration-calculation module in the admin backend. When the creator enters a voiceover script in the text box, the system counts characters in real time and calculates the estimated recording duration strictly according to the 250-characters-per-minute standard. The creator can also copy the text with one click and seamlessly paste it into a text-to-speech (TTS) tool to generate audio.

    This design reflects a “creator-centric” engineering mindset. It internalizes work that would otherwise require the creator to estimate in their head or calculate with third-party tools into a pipeline within the system, greatly improving content-production efficiency.

    4. UI and Motion Strategy for a Specific Distribution Channel

    The final output of the system is not just a web page. It is also a long image intended to circulate in mobile social groups and social feeds. Therefore, the canvas size is strictly set to 1080 × 1920, the standard portrait size for mobile phones. All layout and font sizes are optimized at the pixel level around this ratio to ensure the best visual reading experience when the screenshot is viewed on a phone.

    To enhance visual impact, each news item is designed as a 3D scene when loading: it pushes from a distance toward the viewer and transitions from blurry to clear over 1.8 seconds. This design runs smoothly in desktop browsers and delivers an excellent sense of immersion. However, when testing shifted to mobile, serious performance bottlenecks appeared.

    5. Frontend Performance Optimization and Graceful Degradation

    3D rendering places extremely high demands on device GPU and memory. In some mobile browsers, especially memory-constrained devices, complex WebGL rendering directly caused memory overflow and app crashes.

    The traditional approach to this problem is often to remove the 3D animation entirely and provide a stripped-down UI that works on all devices. But this goes against the original intent of the system design: we want to provide the best visual experience when conditions allow. Therefore, we adopted a more refined “frontend graceful degradation” strategy: instead of blindly reducing effects, we give the choice to users.

    When the system detects that a user is accessing from a mobile device, it displays a version selector:

    1. Immersive Motion Version: Retains the full 3D push-in effect. It is suitable for users with better device performance who want a strong visual experience, but it warns that more memory may be used.
    2. Fast & Smooth Version: Disables all high-cost 3D rendering features and displays only static high-definition content. It ensures absolute stability on all mobile devices and prevents crashes.

    In the code implementation, feature detection and global state management are used to control the loading of the rendering pipeline:

    1. // Mobile graceful degradation control logic
    2. async function initApp(userPreference) {
    3. const isMobile = /Mobi|Android|iPhone/i.test(navigator.userAgent);
    4. let use3DRendering = true;
    5. if (isMobile) {
    6. // Get user preference from the selector
    7. use3DRendering = (userPreference === 'immersive');
    8. if (!use3DRendering) {
    9. // Fast & Smooth version: disable high-cost rendering features to prevent mobile memory crashes
    10. console.log('Fast & Smooth version enabled; skipping 3D scene initialization');
    11. disableHighCostRenderFeatures();
    12. }
    13. }
    14. await loadCoreAssets();
    15. if (use3DRendering) {
    16. await init3DScene(); // Load the 1.8-second push-in animation
    17. }
    18. renderNewsContent();
    19. }

    This approach is something traditional template tools can never provide. Traditional tools do not know that half of your users are browsing on mobile devices, and they certainly cannot provide customized fallback solutions for memory crashes in specific browsers. With AI-assisted programming, developers can go deep into the underlying rendering logic and provide the most appropriate experience for users on different terminals.

    6. Conclusion

    AI-assisted programming (often called vibe coding) is not just a tool for increasing code-output speed. It is a catalyst for reshaping software engineering collaboration. It enables experts with deep domain knowledge to cross communication barriers and directly solidify business logic, industry standards, and implicit requirements into system-level engineering implementations. From the parameterization of source-level classification to the precise calculation of voiceover duration, and then to graceful degradation for mobile 3D rendering, every detail demonstrates engineering depth from a full-stack perspective. In future development practice, the ability to deeply integrate business understanding with underlying technology will become key to building high-barrier, high-value tool systems.