feishu-ui-state-machine-guardrail

Audit Feishu card UI state machine changes and update canonical documentation.

289|39|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/kxn/codex-remote-feishu --skill feishu-ui-state-machine-guardrail
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feishu-ui-state-machine-guardrail
Source: https://github.com/kxn/codex-remote-feishu/tree/main/.codex/skills/feishu-ui-state-machine-guardrail
Command: npx skills add https://github.com/kxn/codex-remote-feishu --skill feishu-ui-state-machine-guardrail

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Aligns Feishu card UI state machine documentation with the current implementation by updating canonical references after changes to callback schema, card routing, lifecycle stamping, or old-card handling, ensuring consistent behavior across the daemon UI flow.

Core Features & Use Cases

  • Update canonical Feishu card UI state-machine guidelines to reflect current owner classifications, callback kinds and payload fields, form submit conventions, and old-card semantics.
  • Audit UI path changes for regressions such as same-context navigation, card replacement behavior, and payload consistency; verify against tests and baselines.
  • If needed, fix identified issues, extend tests, and document tradeoffs under 待讨论取舍 to preserve decision records.

Quick Start

Read the touched Feishu UI code paths and apply the audit and update flow described in this skill.

Frequently Asked Questions about feishu-ui-state-machine-guardrail

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent regressions when changing Feishu card callback payloads?

To prevent Feishu card callback payload regressions, audit UI state machine changes against canonical documentation and tests. This validates callback kind, payload fields, and form submission conventions to ensure consistent behavior before commit.

What is a Feishu UI state machine guardrail used for?

A Feishu UI state machine guardrail audits and guards card state changes by validating owner classifications, callback kinds, payload fields, and old-card semantics. It prevents regressions in card lifecycle and action routing across the daemon UI flow.

How do I audit Feishu card lifecycle stamping and old-card handling logic?

Audit Feishu card lifecycle stamping and old-card handling by reading touched UI code paths and verifying same-context navigation, card replacement behavior, and payload consistency against tests and baselines. Extend tests and document tradeoffs if issues are found.

Can I use this guardrail to fix Feishu UI action routing issues?

Yes, you can fix Feishu UI action routing issues using this guardrail. It audits UI path changes for regressions, fixes identified issues, extends tests, and documents tradeoffs under 待讨论取舍 to preserve decision records.

When do I need to update Feishu card UI state-machine documentation?

You need to update Feishu card UI state-machine documentation after changes to callback schema, card routing, lifecycle stamping, or old-card handling. This aligns canonical references with the current implementation to ensure consistent daemon UI flow behavior.