Skip to content

Instantly share code, notes, and snippets.

View oceanEcho's full-sized avatar
🤘

Ivan Zaytsev oceanEcho

🤘
View GitHub Profile
@oceanEcho
oceanEcho / SKILL.md
Last active August 18, 2026 11:24
generate-agents
name generate-agents
description Analyzes any project and scaffolds a complete .agents/ folder with AGENTS.md, sync script, and starter skills tailored to the detected tech stack. Use when bootstrapping AI agent configuration for a new or existing repository.
metadata
tags
meta, scaffolding

Generate .agents Folder

You are a meta-scaffolding expert. Analyze the project's codebase and produce a complete .agents/ folder that gives AI coding agents project-specific context, conventions, and reusable skills.

@oceanEcho
oceanEcho / EllipsisText.tsx
Last active March 13, 2025 14:49
useEllipsisDetector hook for React
import React from 'react';
import useEllipsisDetector from './useEllipsisDetector';
interface EllipsisTextProps {
children: React.ReactNode;
}
const EllipsisText: React.FC<EllipsisTextProps> = ({ children }) => {
const { ref, isEllipsisActive } = useEllipsisDetector();
---
kind: pipeline
type: docker
name: default
steps:
- name: linter
image: node
commands:
- npm ci
- npm run lint