편집자 노트

工作区规则

Load existing workspace instructions from Cursor, Gemini CLI, and GitHub Copilot into DeepSeek Harness.

이것은 DeepSeek Harness(DSH) 플러그인입니다. 이 사이트는 GitHub README, 설치 정보, 유지보수 상태, 공개 보안 시그널을 모아 보여줍니다.

업스트림에서 중국어 README를 제공하지 않아 저장소 원본 내용을 표시합니다.

dsh-plugin-workspace-rules

English | 中文

Load existing workspace instructions from Cursor, Gemini CLI, and GitHub Copilot into DeepSeek Harness.

The plugin reads these files from the workspace root, in order:

  1. .cursorrules
  2. GEMINI.md
  3. .github/copilot-instructions.md

Missing and empty files are ignored. Existing files are joined into one ordered system-prompt section and re-read before each model request, so edits apply without restarting Harness. Literal {{...}} text is preserved and is not interpreted as a Harness prompt variable.

Install from GitHub

Until an npm release is available, install the repository into a Harness profile:

dsh plugin --profile web add github:youjiaqi421/dsh-plugin-workspace-rules

pnpm 10 and newer block git dependency build scripts by default. If installation asks you to approve the package build, add the exact package key it reports to the profile's pnpm-workspace.yaml:

allowBuilds:
  dsh-plugin-workspace-rules: true

Then repeat the install command. Allowing the build runs this repository's prepare script on your machine; review and pin the source commit when using it in a trusted setup.

Configure

The installed bundle works with no configuration. To override it, edit the profile's cordis.patch.yml:

- id: workspace-rules
  config:
    root: .
    files:
      - .cursorrules
      - GEMINI.md
      - .github/copilot-instructions.md
      - docs/agent-rules.md
    maxFileBytes: 65536
    maxTotalBytes: 131072
    order: 20

root is resolved from the directory where dsh starts. Every file path must be relative and remain inside that root. Duplicate paths, directories, invalid UTF-8, unreadable files, and size-limit violations fail loudly so the agent never runs with silently incomplete instructions.

Behavior

  • File order is configuration order.
  • Missing files and whitespace-only files contribute nothing.
  • Files are decoded as strict UTF-8; a leading byte-order mark is removed.
  • maxFileBytes limits each source file.
  • maxTotalBytes limits the complete rendered Markdown, including headings.
  • The prompt section defaults to order 20, after the deployment persona and before tool guidance.
  • Rule text is included in the request's recorded system prompt, preserving Harness replay behavior.

Develop

Requires Node.js ^22.19.0 || >=24 and pnpm.

pnpm install
pnpm run check

Install the checkout into a local profile from this directory:

dsh plugin --profile web add .

License

MIT

REPOSITORY SIGNALS

보안 및 설치 증거

이 점수는 공개 저장소 메타데이터와 이 사이트에 등록된 설치 증거에만 기반하며, 코드 보안 감사와 다릅니다.

출처 추적 가능

공개 플러그인 카탈로그에서 왔으며, 공개 GitHub 저장소로 연결됩니다.

라이선스

저장소가 MIT 라이선스를 선언했습니다.

유지보수 활동

최근 180일 내 코드 업데이트가 있습니다.

설치 증거

재현 가능한 정확한 설치 메타데이터가 아직 등록되지 않았습니다. 저장소 설명에 따라 직접 확인하세요.

설치 라이프사이클 스크립트

검사한 패키지 메타데이터에 설치 라이프사이클 스크립트가 선언되지 않았습니다.