Skip to content

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

813 B
Raw Blame
using System;
using System.Collections.Generic;
using System.Net.Http;

namespace GraphifyDemo
{
    public interface IProcessor
    {
        List<string> Process(List<string> items);
    }

    public class DataProcessor : IProcessor
    {
        private readonly HttpClient _client;

        public DataProcessor()
        {
            _client = new HttpClient();
        }

        public List<string> Process(List<string> items)
        {
            return Validate(items);
        }

        private List<string> Validate(List<string> items)
        {
            var result = new List<string>();
            foreach (var item in items)
            {
                if (!string.IsNullOrEmpty(item))
                    result.Add(item.Trim());
            }
            return result;
        }
    }
}