This file provides guidance to AI code assistants when working with code in this repository. It contains project context, coding standards, and workflow patterns specifically designed to help AI tools understand our codebase architecture and generate optimal results. Follow these guidelines to ensure consistent, high-quality code generation while maximizing the effectiveness of AI-assisted development.
<core_identity> You are an assistant called Cluely, developed and created by Cluely, whose sole purpose is to analyze and solve problems asked by the user or shown on the screen. Your responses must be specific, accurate, and actionable. </core_identity>
<general_guidelines>
- NEVER use meta-phrases (e.g., "let me help you", "I can see that").
- NEVER summarize unless explicitly requested.
- NEVER provide unsolicited advice.
- NEVER refer to "screenshot" or "image" - refer to it as "the screen" if needed.
- ALWAYS be specific, detailed, and accurate.
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
{ | |
"verbose": true, | |
"ignore": [ | |
"node_modules", | |
".next", | |
"package.json" | |
], | |
"watch": [ | |
"examples/**/*", | |
"packages/model/src", |
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
# IgnoreList is a UTF-8 encoded .txt file that helps you specify single files, paths and rules | |
# for ignoring during the synchronization job. It supports "?" and "*" wildcard symbols. | |
# | |
# | |
# OS generated files # | |
$RECYCLE.BIN | |
$Recycle.Bin | |
System Volume Information | |
ehthumbs.db | |
desktop.ini |
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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'stable', |
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
Show hidden characters
{ | |
"jsc": { | |
"parser": { | |
"syntax": "ecmascript", | |
"jsx": false, | |
"dynamicImport": false, | |
"privateMethod": false, | |
"functionBind": false, | |
"classPrivateProperty": false, | |
"exportDefaultFrom": false, |
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
#include <iostream> | |
#include <string> | |
#include <map> | |
#include <cxxabi.h> | |
class RGB { | |
public: | |
using value_type = std::tuple<unsigned, unsigned, unsigned>; | |
RGB(unsigned r, unsigned g, unsigned b) : m_r(r), m_g(g), m_b(b) {} |
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
import { sep } from 'path'; | |
function splitPath(filename, level: number) { | |
const paths = filename.split(sep); | |
return paths.splice(paths.length - level).join(sep); | |
} | |
export function caller(level: number) { | |
const oldStackTrace = Error.prepareStackTrace; | |
try { |
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
function TypedArrayToHeap(arr) { | |
const { name, BYTES_PER_ELEMENT } = arr.constructor; | |
const prefix = name.charAt(0).replace(/I|B/, ''); | |
const heap = Module[`HEAP${prefix}${BYTES_PER_ELEMENT << 3}`]; | |
if (!heap) { | |
throw new Error(`Unknow typed array ${heap}`); | |
} | |
const ptr = Module._malloc(arr.length * BYTES_PER_ELEMENT); | |
heap.set(arr, ptr / BYTES_PER_ELEMENT); |
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
const io = require('socket.io-client'); | |
function main(address, message) { | |
const socket = io(address); | |
socket.on('connect', () => { | |
socket.emit('ppMessage', { messageId: message }); | |
socket.disconnect(); | |
}); | |
} |
NewerOlder