Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@gensx/cline-rules

Package Overview
Dependencies
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gensx/cline-rules

Cline rules for GenSX projects.

latest
Source
npmnpm
Version
0.1.8
Version published
Maintainers
3
Created
Source

@gensx/cline-rules

This package installs a .clinerules file to your project, providing project-specific instructions for Cline editor when working with GenSX projects.

Overview

Cline's .clinerules file provides project-specific instructions that are automatically appended to your custom instructions and referenced in Cline's system prompt, ensuring they influence all interactions within the project context.

Installation and Usage

You can install the Cline rules directly from npm without adding the package as a dependency:

# Run directly with npx to install the rules
npx @gensx/cline-rules

Alternatively, you can install it as a dependency:

npm install --save-dev @gensx/cline-rules
# or
yarn add -D @gensx/cline-rules
# or
pnpm add -D @gensx/cline-rules

Then run the CLI:

npx gensx-cline-rules

Features

  • Installs a .clinerules file to your project root
  • Provides project-specific guidance to Cline for working with GenSX projects
  • Uses managed sections to preserve your customizations during updates
  • Creates backups of existing files when making updates

What's Included

The included .clinerules file contains:

  • Common GenSX coding patterns and conventions
  • Code style preferences
  • GenSX component patterns with code examples
  • Provider usage examples
  • Testing and documentation standards

Managed Sections

The .clinerules file uses managed sections delimited by HTML comments:

<!-- BEGIN_MANAGED_SECTION -->
... managed content that will be updated ...
<!-- END_MANAGED_SECTION -->

When upgrading or reinstalling the rules, only the content within these markers will be updated, preserving any custom content you've added outside of the managed section.

Customization

Add your custom project information outside the managed section to preserve it during updates.

A section at the bottom of the file is provided specifically for your custom content.

License

Apache-2.0

FAQs

Package last updated on 30 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts