Skip to content

add more contents into coding-assistants doc - #1473

Merged
gaoxueyu merged 1 commit into
IvorySQL:masterfrom
bigplaice:ai-assistant
Jul 31, 2026
Merged

gaoxueyu merged 1 commit into
IvorySQL:masterfrom
bigplaice:ai-assistant

Conversation

@bigplaice

@bigplaice bigplaice commented Jul 29, 2026 •

Copy link
Copy Markdown
Collaborator

improve coding-assistant.md by adding more AI-related contents.

fix #1486

Summary by CodeRabbit

  • Documentation
    • Added guidelines for disclosing the percentage of AI-generated code in contributions.
    • Added guidance outlining discouraged AI-related practices during code and documentation reviews.
    • Updated the corresponding Chinese documentation with the same requirements.

@coderabbitai

coderabbitai Bot commented Jul 29, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

Contributor guidance now requires reporting the percentage of AI-generated code and documents discouraged AI-assisted practices in both English and Chinese versions.

Changes

AI utilization guidance

Layer / File(s) Summary
Add AI utilization guidance
coding-assistants.md, coding-assistants_CN.md
Adds the Percentage of AI-generated code: xx% reporting format and bullets describing discouraged AI-assisted practices.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related PRs

  • IvorySQL/IvorySQL#1315: Adds related AI-generated code reporting and discouraged-practice guidance to the same contributor documents.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately identifies the documentation update, but it does not specify the new AI-related guidelines.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Fix failing CI checks
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@coding-assistants.md`:
- Line 59: Update the opening fenced code blocks at coding-assistants.md lines
59-59 and coding-assistants_CN.md lines 59-59 to specify the text language,
changing each fence to ```text while leaving the example contents unchanged.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 5d19284a-8809-4aad-8d28-5baaa8e6b1d9

📥 Commits

Reviewing files that changed from the base of the PR and between a88132c and a9346cb.

📒 Files selected for processing (2)
  • coding-assistants.md
  • coding-assistants_CN.md

Comment thread coding-assistants.md

Contributions shall include information on the proportion of AI-generated code in the following format:

```

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Add a language to both fenced code blocks.

Both new examples trigger Markdownlint MD040 because their opening fences omit a language identifier.

  • coding-assistants.md#L59-L59: change the opening fence to ```text.
  • coding-assistants_CN.md#L59-L59: change the opening fence to ```text.
🧰 Tools
🪛 markdownlint-cli2 (0.23.1)

[warning] 59-59: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

📍 Affects 2 files
  • coding-assistants.md#L59-L59 (this comment)
  • coding-assistants_CN.md#L59-L59
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@coding-assistants.md` at line 59, Update the opening fenced code blocks at
coding-assistants.md lines 59-59 and coding-assistants_CN.md lines 59-59 to
specify the text language, changing each fence to ```text while leaving the
example contents unchanged.

Source: Linters/SAST tools

@bigplaice bigplaice self-assigned this Jul 31, 2026
@gaoxueyu
gaoxueyu merged commit efd98db into IvorySQL:master Jul 31, 2026
7 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

improve coding-assiatant policy

2 participants