Merge pull request #10591 from continuedev/nate/more-docs-2941
docs: fix checks best practices examples and add skill links
This commit is contained in:
commit
89d4707990
3 changed files with 5 additions and 20 deletions
|
|
@ -40,7 +40,7 @@ Check that the code is secure.
|
|||
Structure criteria as a concrete list:
|
||||
|
||||
```markdown
|
||||
Look for these issues in the changed code and fix them:
|
||||
Look for these issues and fix them:
|
||||
|
||||
- New REST endpoints missing request body validation
|
||||
- Database queries using string interpolation instead of parameterized queries
|
||||
|
|
@ -101,7 +101,7 @@ name: Security Review
|
|||
description: Catch hardcoded secrets, injection vectors, and missing input validation
|
||||
---
|
||||
|
||||
Look for these security issues in the changed code and fix them:
|
||||
Look for these security issues and fix them:
|
||||
|
||||
- Hardcoded API keys, tokens, passwords, or connection strings — move them to environment variables
|
||||
- New API endpoints or request handlers without input validation — add appropriate validation
|
||||
|
|
@ -149,23 +149,6 @@ Look for changes to public-facing APIs or configuration where the documentation
|
|||
No changes needed if the PR doesn't touch public APIs or configuration, or if docs were already updated.
|
||||
````
|
||||
|
||||
### Conventional commits
|
||||
|
||||
````markdown conventional-commits.md
|
||||
---
|
||||
name: Conventional Commits
|
||||
description: Ensure the PR title follows conventional commit format
|
||||
---
|
||||
|
||||
Check that the pull request title follows the Conventional Commits specification.
|
||||
|
||||
The title must match this format: `type(optional scope): description`
|
||||
|
||||
Valid types: `feat`, `fix`, `docs`, `style`, `refactor`, `perf`, `test`, `build`, `ci`, `chore`, `revert`
|
||||
|
||||
If the PR title doesn't match the format, suggest a corrected title based on the content of the changes.
|
||||
````
|
||||
|
||||
### Dependency audit
|
||||
|
||||
````markdown dependency-audit.md
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
title: "Generating Checks"
|
||||
---
|
||||
|
||||
The best way to create checks is to have your coding agent write them. Install the writing-checks skill to teach your agent the check file format and best practices:
|
||||
The best way to create checks is to have your coding agent write them. Install the [`writing-checks`](https://github.com/continuedev/skills?tab=readme-ov-file#writing-checks) skill to teach your agent the check file format and best practices:
|
||||
|
||||
```bash
|
||||
npx skills add continuedev/skills --skill writing-checks
|
||||
|
|
|
|||
|
|
@ -6,6 +6,8 @@ Run your checks locally before pushing to CI using the `/check` command in your
|
|||
|
||||
## Install
|
||||
|
||||
Install the [`check`](https://github.com/continuedev/skills?tab=readme-ov-file#check) skill:
|
||||
|
||||
```bash
|
||||
npx skills add continuedev/skills --skill check
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue