A poem, an essay, a short story . . . anything that gives us a sense of you as a writer. There are no rules for the writing sample. It can be as long or as short as you want, and while good spelling and grammar will certainly help us read your writing, its absence will not hurt your application.