Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Huntbae/future-krds

Repository files navigation

Future KRDS Skill

English | 한국어

Version KRDS UIUX Components Similarity License

Navigation: What It Is | What Is KRDS | Skills | Install | Usage | Experiment | License

Future KRDS Skill is a Codex skill bundle and validation harness for building KRDS-aligned websites and app views. It turns the KRDS HTML Component Kit into a repeatable agent workflow: plan the interface, transform the UI into KRDS rules, improve it through rule-based validation, and keep evidence in reports.

This repository includes a working experiment: a handsoap landing page generated from the KRDS workflow and validated against the KRDS homepage structure and local KRDS rules.

What It Is

Future KRDS Skill contains three skills and a hardening system:

  1. krds-plan starts a website or app design process from an initial state.
  2. krds-transform takes an existing website/app and rethemes it to KRDS UIUX rules.
  3. krds-improve checks whether the result fits KRDS rules, then iterates until it passes.

The harness is modeled after the quality-loop idea of desloppify: scan, score, prioritize, fix, and verify. Here the score is KRDS-specific rather than general code quality.

What Is KRDS

KRDS means Korea Design System. It is a design system for Korean digital government services, created to support convenience, consistency, accessibility, and usability across public websites and applications.

Reference sources:

The upstream krds-uiux package describes itself as an HTML Component Kit for applying the design system consistently. The package metadata currently declares version 1.1.0 and license ISC, while the upstream README also states that the package follows the terms of the Korea Digital Government Design System (KRDS).

Included Skills

krds-plan

Use this before building. It defines the page/app states, component mapping, accessibility gates, file scope, and validation commands.

krds-transform

Use this when an original website or app already exists. It preserves behavior while changing structure, classes, and theme direction to KRDS conventions.

krds-improve

Use this after a first implementation. It runs the scorer, checks KRDS rule fit, fixes gaps, and repeats until the page passes the threshold.

Repository Layout

  • skills/krds-plan: planning workflow for new KRDS pages/apps.
  • skills/krds-transform: migration workflow for existing websites/apps.
  • skills/krds-improve: hardening workflow for KRDS rule compliance.
  • scripts/: build, scoring, component coverage, and validation scripts.
  • experiment/handsoap-site: generated KRDS handsoap landing page.
  • reports/experiment: validation results and screenshots.
  • assets/krds: local mirror of KRDS UIUX assets used by the harness.
  • references/krds: local KRDS reference mirror.
  • resources/krds: manifest and verifier notes.

Installation

Install as Codex skills

From this repository:

mkdir -p ~/.codex/skills
cp -R skills/krds-plan ~/.codex/skills/
cp -R skills/krds-transform ~/.codex/skills/
cp -R skills/krds-improve ~/.codex/skills/

Restart Codex after copying the skills.

Install from GitHub

If published under bytonylee/future-krds, install with:

npx skills add bytonylee/future-krds

Or use the full Git URL:

npx skills add https://github.com/bytonylee/future-krds.git

Install KRDS UIUX package separately

For application projects that need the upstream package:

npm install krds-uiux

This repository keeps a local KRDS mirror for validation and examples, but real projects should follow the official KRDS documentation and package guidance.

Usage

Plan a new KRDS page

$krds-plan
Create a Korean public-service landing page for a handsoap seller.
Start from a blank state, map the content to KRDS components, and define validation gates.

Transform an existing site

$krds-transform
This existing product page works, but the visual system is generic.
Keep the content and form behavior, but change the structure and theme to KRDS UIUX rules.

Improve a KRDS implementation

$krds-improve
Audit this website against the KRDS component rules, accessibility gates,
and similarity scorer. Keep improving until there are no failed rules and the score is over 95.

Full workflow prompt

Use krds-plan, krds-transform, and krds-improve.
Create an experiment handsoap landing page using every KRDS component reference in assets/krds/html/code.
Compare it with https://www.krds.go.kr/html/site/index.html and keep iterating until the score is over 95 with no failed rules.

Experiment

The current experiment is here:

Run the build and validation:

node scripts/build-handsoap-experiment.mjs
node scripts/verify-krds-component-coverage.mjs
node scripts/krds-similarity.mjs experiment/handsoap-site/index.html
node scripts/validate-krds.mjs

Run the full hardening loop:

node scripts/krds-desloppify.mjs

Current verified result:

  • KRDS component references covered: 74/74
  • Similarity score: 100
  • Threshold: >95
  • Failed rules: 0

License

This repository is a third-party skill and harness. It is not an official KRDS project.

KRDS-related assets and references come from the upstream KRDS-uiux/krds-uiux repository and the official KRDS website. The upstream package metadata states ISC, and the upstream README states that the package follows the terms of the Korea Digital Government Design System (KRDS). See LICENSE and the official KRDS copyright page.

Back to top

About

AI 를 위한 대한민국 디지털 정부 서비스의 디자인 시스템

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

  • CSS 65.1%
  • SCSS 18.3%
  • HTML 10.5%
  • JavaScript 6.1%

AltStyle によって変換されたページ (->オリジナル) /