docs: add AI policy#1090
Open
vineethasok wants to merge 1 commit into
Open
Conversation
|
Contributor
Storybook Preview Deployed✅ Preview URL: https://click-i504rvowk-clickhouse.vercel.app Built from commit: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an
AI_POLICY.mdfor Click UI, adapted from ClickHouse/ClickHouse's policy and tuned for a design system / component library.Why
Set a clear, welcoming stance on AI usage so contributors can use AI tools without worrying about stigma, while keeping the bar on quality and responsibility. AI is treated as a normal developer tool — no disclosure required, but you own and review what you submit.
What's in it
Also adds a short AI Policy section + TOC entry in the README pointing to the file.
Note
Low Risk
Documentation-only; no runtime, API, or CI behavior changes.
Overview
Adds
AI_POLICY.md, a contributor-facing policy that welcomes AI for Click UI work while spelling out expectations tailored to a design system (adapted from ClickHouse’s upstream policy).The doc states AI use does not need disclosure, but authors own and review submitted code like hand-written changes. It encourages AI for accessibility, tests (including visual regression), TypeScript/prop APIs, CSS Modules migration, and tooling; it warns against weakening CI, blindly updating Chromatic baselines, careless new runtime deps, and copying other libraries’ UI without proper licensing.
README.mdgains a Contributing AI Policy TOC entry and a short section linking to./AI_POLICY.md.Reviewed by Cursor Bugbot for commit fa96401. Bugbot is set up for automated code reviews on this repo. Configure here.